Esempio n. 1
0
        private void EditButton_Click(object sender, EventArgs e)
        {
            HPS.BLL.UserBLL.BLLUser_TKeys UserKey = new HPS.BLL.UserBLL.BLLUser_TKeys();
            UserKey.UserName_nvc = (String)this.UserGridView.CurrentRow.Cells["colUserName_nvc"].Value;
            UserEntityForm User = new UserEntityForm(BaseEntityForm1.enmState.Edit, (DataTable)this.UserGridView.DataSource, UserKey);

            User.ShowDialog();
        }
Esempio n. 2
0
        private void NewButton_Click(object sender, EventArgs e)
        {
            UserEntityForm User = new UserEntityForm((DataTable)this.UserGridView.DataSource);

            User.ShowDialog();
        }