Example #1
0
        private void EditButton_Click(object sender, EventArgs e)
        {
            HPS.BLL.LaderPivotGroupBLL.BLLLaderPivotGroup_TKeys LaderPivotGroupKey = new HPS.BLL.LaderPivotGroupBLL.BLLLaderPivotGroup_TKeys();
            LaderPivotGroupKey.LaderPivotGroupID_int = (Int32?)this.LaderPivotGroupGridView.CurrentRow.Cells["colLaderPivotGroupID_int"].Value;
            LaderPivotGroupEntityForm LaderPivotGroup = new LaderPivotGroupEntityForm(BaseEntityForm1.enmState.Edit, (DataTable)this.LaderPivotGroupGridView.DataSource, LaderPivotGroupKey);

            LaderPivotGroup.ShowDialog();
        }
Example #2
0
        private void NewButton_Click(object sender, EventArgs e)
        {
            LaderPivotGroupEntityForm LaderPivotGroup = new LaderPivotGroupEntityForm((DataTable)this.LaderPivotGroupGridView.DataSource);

            LaderPivotGroup.ShowDialog();
        }