예제 #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            F_Addcmd     = new AddWork();
            F_Addcmd.cmd = this.Command;

            F_Addcmd.FormClosed += F_Addcmd_FormClosed;
            F_Addcmd.ShowDialog();
        }
예제 #2
0
 private void EditClickedValue()
 {
     f     = new AddWork();
     f.cmd = this.Command;
     //oldCmd = f.cmd = listView1.SelectedItems[0].SubItems[0].Text;
     f.work        = Main_Form.mainForm.command.workList[Command][this.listView1.SelectedItems[0].Index];
     index         = this.listView1.SelectedItems[0].Index;
     f.FormClosed += F_FormClosed;
     f.RestoreControls();
     f.ShowDialog();
 }