예제 #1
0
        private void menuAdd_Click(object sender, EventArgs e)
        {
            AddRuleForm.kt = 2;
            AddRuleForm f = new AddRuleForm();

            f.ShowDialog();
        }
예제 #2
0
 private void btnAdd_Click(object sender, EventArgs e)
 {
     AddRuleForm.kt = kt;
     if (kt != 2)
     {
         AddRuleForm f = new AddRuleForm();
         f.ShowDialog();
     }
     else
     {
         AddRuleForm f = new AddRuleForm();
         f.ShowDialog();
     }
 }