Beispiel #1
0
        private void додатиToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AddClientForm addClient = new AddClientForm();

            addClient.ShowDialog();
            LoadData();
        }
Beispiel #2
0
        private void AddData()
        {
            AddClientForm addClient = new AddClientForm();

            addClient.ShowDialog();
            LoadData();
        }
Beispiel #3
0
        private void EditData()
        {
            int           index  = dataGrid.SelectedRows[0].Index;
            Client        temp   = sql.findClient(Int32.Parse(dataGrid.Rows[index].Cells[0].Value.ToString()));
            AddClientForm editor = new AddClientForm();

            editor.LookForClient(temp);
        }
Beispiel #4
0
        private void знайтиКлієнтаToolStripMenuItem_Click(object sender, EventArgs e)
        {
            int           index  = dataGrid.SelectedRows[0].Index;
            Client        temp   = sql.findClient(Int32.Parse(dataGrid.Rows[index].Cells[2].Value.ToString()));
            AddClientForm editor = new AddClientForm();

            editor.LookForClient(temp);
        }