コード例 #1
0
        private void EditButton_Click(object sender, EventArgs e)
        {
            HPS.BLL.BoundryBLL.BLLBoundry_TKeys BoundryKey = new HPS.BLL.BoundryBLL.BLLBoundry_TKeys();
            BoundryKey.BoundryID_int = (Int32)this.BoundryGridView.CurrentRow.Cells["colBoundryID_int"].Value;
            BoundryEntityForm Boundry = new BoundryEntityForm(BaseEntityForm1.enmState.Edit, (DataTable)this.BoundryGridView.DataSource, BoundryKey);

            Boundry.ShowDialog();
        }
コード例 #2
0
        private void NewButton_Click(object sender, EventArgs e)
        {
            BoundryEntityForm Boundry = new BoundryEntityForm((DataTable)this.BoundryGridView.DataSource);

            Boundry.ShowDialog();
        }