예제 #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     //Add
     DotCapPlugEntryForm f1 = new DotCapPlugEntryForm();
     f1.ShowDialog();
     clearlist();
     poplist();
 }
예제 #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            //Modify

            string strType;
            int ID;
            string strDescription;
            DotCapPlugEntryForm f1;

            strType = dataGridView1.SelectedCells[0].Value.ToString();
            strDescription = dataGridView1.SelectedCells[1].Value.ToString();
            ID = int.Parse(dataGridView1.SelectedCells[2].Value.ToString());
            f1 = new DotCapPlugEntryForm(ID, strDescription, strType);
            f1.ShowDialog();
            clearlist();
            poplist();
        }
예제 #3
0
파일: AFIMenuForm.cs 프로젝트: rphatdad/AFI
 private void button9_Click(object sender, EventArgs e)
 {
     DotCapPlugEntryForm f18 = new DotCapPlugEntryForm();
     f18.ShowDialog();
 }