예제 #1
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            frmAddEditClass frmAddCS = new frmAddEditClass();

            if (frmAddCS.ShowDialog() == DialogResult.OK)
            {
                ReloadClasses();
            }
        }
예제 #2
0
 private void btnEditName_Click(object sender, EventArgs e)
 {
     if (cbClasses.Items.Count > 0)
     {
         frmAddEditClass frmEditCS = new frmAddEditClass(cbClasses.SelectedItem as SmartB1tCSClass);
         if (frmEditCS.ShowDialog() == DialogResult.OK)
         {
             ReloadClasses();
         }
     }
 }