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

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

            addClient.ShowDialog();
            LoadData();
        }
示例#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);
        }
示例#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);
        }