diff --git a/ExpertVideoToolbox.v12.suo b/ExpertVideoToolbox.v12.suo index 2b9bd81..1dcef75 100644 Binary files a/ExpertVideoToolbox.v12.suo and b/ExpertVideoToolbox.v12.suo differ diff --git a/ExpertVideoToolbox/MainForm.cs b/ExpertVideoToolbox/MainForm.cs index 2557d6d..4733baf 100644 --- a/ExpertVideoToolbox/MainForm.cs +++ b/ExpertVideoToolbox/MainForm.cs @@ -176,10 +176,8 @@ private void addFileBtn_Click(object sender, EventArgs e) // Insert code to read the stream here. string fp = openFileDialog1.FileName; string setting = this.encodeSettingCB.Text; - - ListViewItem item = new ListViewItem(new string[] { fp, setting }); - this.fileListView.Items.Add(item); - } + addItem2FileListView(fp, setting); + } } } catch (Exception ex) @@ -210,8 +208,7 @@ private void addFolderBtn_Click(object sender, EventArgs e) string setting = this.encodeSettingCB.Text; - ListViewItem item = new ListViewItem(new string[] { fp, setting }); - this.fileListView.Items.Add(item); + addItem2FileListView(fp, setting); } } diff --git a/ExpertVideoToolbox/Properties/AssemblyInfo.cs b/ExpertVideoToolbox/Properties/AssemblyInfo.cs index 4e10d0e..ad60ae6 100644 --- a/ExpertVideoToolbox/Properties/AssemblyInfo.cs +++ b/ExpertVideoToolbox/Properties/AssemblyInfo.cs @@ -33,4 +33,4 @@ // 方法是按如下所示使用“*”: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("0.2.3")] -[assembly: AssemblyFileVersion("0.2.3.169")] +[assembly: AssemblyFileVersion("0.2.3.173")]