예제 #1
0
        private void updateButton_Click(object sender, EventArgs e)
        {
            if (button == 1)
            {
                UpdateForm up = new UpdateForm(1);
                up.ShowDialog();
            }

            if (button == 2)
            {
                UpdateForm up = new UpdateForm(3);
                up.ShowDialog();
            }
            if (button == 3)
            {
                UpdateForm up = new UpdateForm(4);
                up.ShowDialog();
            }
        }
예제 #2
0
        private void empDataGridView_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            if (button == 1)
            {
                UpdateForm up = new UpdateForm(1);
                up.ShowDialog();
            }
            if (button == 0)
            {
            }

            if (button == 2)
            {
                UpdateForm up = new UpdateForm(3);
                up.ShowDialog();
            }
            if (button == 3)
            {
                UpdateForm up = new UpdateForm(4);
                up.ShowDialog();
            }
        }
예제 #3
0
        private void AccDataGridView_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            UpdateForm up = new UpdateForm(0);

            up.ShowDialog();
        }