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(); } }
/// <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(); } }
private void btnClientNew_Click(object sender, EventArgs e) { Client = new frmClient(Db, Clients, QueryString.Client.Select, (DataRowView)cbIdentity.SelectedItem); Client.ShowDialog(); GetClients(); }
private void btnIdentityNew_Click(object sender, EventArgs e) { Client = new frmClient(Db, Identities, QueryString.Identity.Select); Client.ShowDialog(); GetIdentities(); }