Пример #1
0
 private void ButtonClientPersonal_Click(object sender, EventArgs e)
 {
     using (ClientPersonalInfoControlForm info = new ClientPersonalInfoControlForm(NViewHelper.FormViewMode.Edit,
                                                                                   workspaceLibrarian.ClientInformationRegister, ref currentClient))
     {
         info.ShowDialog();
         Activate();
     }
 }
Пример #2
0
 private void CreateNewClient()
 {
     using (ClientPersonalInfoControlForm client = new ClientPersonalInfoControlForm(NViewHelper.FormViewMode.Create,
                                                                                     workspaceLibrarian.ClientInformationRegister,
                                                                                     ref selectedClient))
     {
         client.ShowDialog();
         Activate();
     }
 }