Ejemplo n.º 1
0
        private void btnEditClient_Click(object sender, EventArgs e)
        {
            var selectedClient = lbClients.SelectedItem as Client;

            addClient = new EditClient(selectedClient, this);
            addClient.ShowDialog(this);
            addClient.Dispose();
        }
Ejemplo n.º 2
0
 private void btnAddClient_Click(object sender, EventArgs e)
 {
     addClient = new EditClient(this);
     addClient.ShowDialog(this);
     addClient.Dispose();
 }