コード例 #1
0
        private void addNewUserToolStripMenuItem_Click(object sender, EventArgs e)
        {
            StaffEnroll se = new StaffEnroll();

            se.ShowDialog();
            LoadDataIntoDataGridView();
        }
コード例 #2
0
        private void editToolStripMenuItem_Click(object sender, EventArgs e)
        {
            int id = Convert.ToInt16(staff_id.Text);

            StaffEnroll nc = new StaffEnroll();

            nc.Id       = id;
            nc.IsUpdate = true;
            nc.ShowDialog();
        }
コード例 #3
0
        private void staffToolStripMenuItem3_Click(object sender, EventArgs e)
        {
            StaffEnroll se = new StaffEnroll();

            se.ShowDialog();
        }