示例#1
0
        private void CancelButton_Click(object sender, EventArgs e)
        {
            this.Hide();
            BranchForm f = new BranchForm();

            f.Show();
        }
 private void NextButton_Click(object sender, EventArgs e)
 {
     if (BranchesComboBox.SelectedItem != null)
     {
         SavedBranchID = ID;
         this.Hide();
         BranchForm f = new BranchForm();
         f.ShowDialog();
     }
     else
     {
         MessageBox.Show("Please Choose a Branch");
     }
 }