예제 #1
0
        private void ShowDateWeekend(object sender, EventArgs e)
        {
            newWeekendDatagridview newWeekend = new newWeekendDatagridview();
            DialogResult           result     = newWeekend.ShowDialog(this);

            newWeekend.Close();
        }
예제 #2
0
        private void ShowDateWeekend(object sender, EventArgs e)
        {
            newWeekendDatagridview newWeekend = new newWeekendDatagridview();


            DialogResult result = newWeekend.ShowDialog(this);

            // PersonGridView.Update();
            // PersonGridView.Refresh();

            if (result == DialogResult.OK)
            {
                newWeekend.Close();
                return;
            }
        }