예제 #1
0
        private void dataGridView_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            InsertUpdateForm iuf = new InsertUpdateForm(id, user, pass);

            if (iuf.ShowDialog() == DialogResult.OK)
            {
                LoadData();
            }
        }
예제 #2
0
        private void insertBtn_Click(object sender, EventArgs e)
        {
            id = -1;
            InsertUpdateForm iuf = new InsertUpdateForm(id, user, pass);

            if (iuf.ShowDialog() == DialogResult.OK)
            {
                LoadData();
            }
        }