Ejemplo n.º 1
0
        private void btnGoOutStateAdd_Click(object sender, EventArgs e)
        {
            GoOutStateEdit objGoOutStateEdit = new GoOutStateEdit();

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

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