private void btnAdd_Click(object sender, EventArgs e)
 {
     frmIns_RewardAndPunishments afrmIns_RewardAndPunishments = new frmIns_RewardAndPunishments(this);
     afrmIns_RewardAndPunishments.ShowDialog();
 }
예제 #2
0
 private void btnInsRewardAndPunishments_ItemClick(object sender, ItemClickEventArgs e)
 {
     try
     {
         frmIns_RewardAndPunishments afrmIns_RewardAndPunishments = new frmIns_RewardAndPunishments();
         afrmIns_RewardAndPunishments.Show();
     }
     catch (Exception ex)
     {
         MessageBox.Show("frmMain.btnInsRewardAndPunishments_ItemClick\n" + ex.ToString(), "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }