Exemple #1
0
        private void buAddClient_Click(object sender, EventArgs e)
        {
            fmClientCard cc = new fmClientCard();

            cc.ShowDialog();
            ShowClientsList();
        }
Exemple #2
0
        private void buEditClient_Click(object sender, EventArgs e)
        {
            int          clientId = Convert.ToInt32(dataGridClients.CurrentRow.Cells["id"].Value);
            fmClientCard cc       = new fmClientCard(clientId);

            cc.ShowDialog();
            ShowClientsList();
        }