예제 #1
0
        private void button_Add_Click(object sender, EventArgs e)
        {
            AlarmParameter temp = new AlarmParameter();
            EditChecked    add  = new EditChecked(temp, this);

            add.Owner = this;
            add.Show();
        }
예제 #2
0
        private void button_Update_Click(object sender, EventArgs e)
        {
            AlarmParameter temp = new AlarmParameter();

            temp.fuc   = "update";
            temp.Title = "update";

            temp.selectIndex = dataGridView1.CurrentCell.RowIndex;
            EditChecked add = new EditChecked(temp, this);

            add.Owner = this;
            add.Show();
        }