예제 #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     using (var dlg = new AddPackageFile())
     {
         var show = dlg.ShowDialog();
         if (show == DialogResult.OK)
             lstfiles.Items.Add(new ListViewItem(new[] {dlg.Input, dlg.Output}));
     }
 }
예제 #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     using (var dlg = new AddPackageFile())
     {
         var show = dlg.ShowDialog();
         if (show == DialogResult.OK)
         {
             lstfiles.Items.Add(new ListViewItem(new[] { dlg.Input, dlg.Output }));
         }
     }
 }