Example #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();
        }
Example #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();
        }