예제 #1
0
 private void btn_ManageAccount_Click(object sender, EventArgs e)
 {
     using (ClientManagerView newForm = new ClientManagerView(dgv_AllAccounts.SelectedRows[0].Cells[2].Value.ToString()))
     {
         newForm.ShowDialog();
     }
     LoadAllAccounts();
 }
예제 #2
0
 private void btn_FindClient_Click(object sender, EventArgs e)
 {
     if (new MainMenuModel().CheckClientsExistence(tb_PersonalID.Text))
     {
         using (ClientManagerView newForm = new ClientManagerView(tb_PersonalID.Text))
         {
             newForm.ShowDialog();
         }
     }
     else
     {
         MessageBox.Show("client not found");
     }
 }