Ejemplo n.º 1
0
        private void btnTaskStateAdd_Click(object sender, EventArgs e)
        {
            FrmTaskStateEdit objTaskState = new FrmTaskStateEdit();

            objTaskState.Tag        = 0;
            objTaskState.ShowUpdate = new DisplayUpdate(this.FrmInitialization);
            objTaskState.ShowDialog();
        }
Ejemplo n.º 2
0
        private void btnTaskStateUpdate_Click(object sender, EventArgs e)
        {
            object           id           = DataGridViewShow.CurrentRow.Cells[0].Value;
            FrmTaskStateEdit objTaskState = new FrmTaskStateEdit();

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