Ejemplo n.º 1
0
        private void EditButton_Click(object sender, EventArgs e)
        {
            HPS.BLL.ServicesBLL.BLLServices_TKeys ServicesKey = new HPS.BLL.ServicesBLL.BLLServices_TKeys();
            ServicesKey.ServicesID_int = (Int32?)this.ServicesGridView.CurrentRow.Cells["colServicesID_int"].Value;
            ServicesEntityForm Services = new ServicesEntityForm(BaseEntityForm1.enmState.Edit, (DataTable)this.ServicesGridView.DataSource, ServicesKey);

            Services.ShowDialog();
        }
Ejemplo n.º 2
0
        private void NewButton_Click(object sender, EventArgs e)
        {
            ServicesEntityForm Services = new ServicesEntityForm((DataTable)this.ServicesGridView.DataSource);

            Services.ShowDialog();
        }