private void Button1_Click(object sender, EventArgs e) { FrmClients fc = new FrmClients { SelectionMode = true }; fc.ShowDialog(); if (fc.SelectedClient != null) { _client = fc.SelectedClient; _document.ClientID = fc.SelectedClient.ID; BindClientProperties(); } }
private void Clients_Click(object sender, EventArgs e) { Form clients = new FrmClients(true); clients.Show(); }