예제 #1
0
        private void EditButton_Click(object sender, EventArgs e)
        {
            HPS.BLL.UserGroupBLL.BLLUserGroup_TKeys UserGroupKey = new HPS.BLL.UserGroupBLL.BLLUserGroup_TKeys();
            UserGroupKey.UserGroupID_int = (Int32?)this.UserGroupGridView.CurrentRow.Cells["colUserGroupID_int"].Value;
            UserGroupEntityForm UserGroup = new UserGroupEntityForm(BaseEntityForm1.enmState.Edit, (DataTable)this.UserGroupGridView.DataSource, UserGroupKey);

            UserGroup.ShowDialog();
        }
예제 #2
0
        private void NewButton_Click(object sender, EventArgs e)
        {
            UserGroupEntityForm UserGroup = new UserGroupEntityForm((DataTable)this.UserGroupGridView.DataSource);

            UserGroup.ShowDialog();
        }