Пример #1
0
 private void btnClientEdit_Click(object sender, EventArgs e)
 {
     if (cbClient.SelectedIndex > -1)
     {
         Client = new frmClient(Db, Clients, (DataRowView)cbClient.SelectedItem, QueryString.Client.Select);
         Client.ShowDialog();
         GetClients();
     }
 }
Пример #2
0
 /// <summary>
 ///
 /// </summary>
 private void btnIdentityEdit_Click(object sender, EventArgs e)
 {
     if (cbIdentity.SelectedIndex > -1)
     {
         Client = new frmClient(Db, Identities, (DataRowView)cbIdentity.SelectedItem, QueryString.Identity.Select);
         Client.ShowDialog();
         GetIdentities();
     }
 }
Пример #3
0
 private void btnClientNew_Click(object sender, EventArgs e)
 {
     Client = new frmClient(Db, Clients, QueryString.Client.Select, (DataRowView)cbIdentity.SelectedItem);
     Client.ShowDialog();
     GetClients();
 }
Пример #4
0
 private void btnIdentityNew_Click(object sender, EventArgs e)
 {
     Client = new frmClient(Db, Identities, QueryString.Identity.Select);
     Client.ShowDialog();
     GetIdentities();
 }