コード例 #1
0
        private void btnDayOffStateAdd_Click(object sender, EventArgs e)
        {
            FrmDayOffStateEdit objDayOffState = new FrmDayOffStateEdit();

            objDayOffState.Tag        = 0;
            objDayOffState.ShowUpdate = new DisplayUpdate(this.FrmInitialization);
            objDayOffState.ShowDialog();
        }
コード例 #2
0
        private void btnDayOffStateUpdate_Click(object sender, EventArgs e)
        {
            object             id             = DataGridViewShow.CurrentRow.Cells[0].Value;
            FrmDayOffStateEdit objDayOffState = new FrmDayOffStateEdit();

            objDayOffState.Tag        = id;
            objDayOffState.ShowUpdate = new DisplayUpdate(this.FrmInitialization);
            objDayOffState.ShowDialog();
        }