public ucProductRow(MDataSet.ProductRow productRow, MainForm.ActionDialog actionDialog) { InitializeComponent(); this.mDataSet = productRow.Table.DataSet as MDataSet; this.productBindingSource.DataSource = productRow; this.packingBindingSource.DataSource = this.mDataSet.Packing; this.storageConditionBindingSource.DataSource = this.mDataSet.StorageCondition; this.substanceBindingSource.DataSource = this.mDataSet.Substance; this.farmGroupLevel2BindingSource.DataSource = this.mDataSet.FarmGroupLevel2; this.unitBindingSource.DataSource = this.mDataSet.Unit; _state = actionDialog; }
public ucProductRow(MDataSet.ProductRow productRow,MainForm.ActionDialog actionDialog) { InitializeComponent(); this.mDataSet = productRow.Table.DataSet as MDataSet; this.productBindingSource.DataSource = productRow; this.packingBindingSource.DataSource = this.mDataSet.Packing; this.storageConditionBindingSource.DataSource = this.mDataSet.StorageCondition; this.substanceBindingSource.DataSource = this.mDataSet.Substance; this.farmGroupLevel2BindingSource.DataSource = this.mDataSet.FarmGroupLevel2; this.unitBindingSource.DataSource = this.mDataSet.Unit; _state = actionDialog; }
public ucProductRow(DataRow productRow, MainForm.ActionDialog actionDialog) { InitializeComponent(); this.dataSet = productRow.Table.DataSet; // this.mDataSet = productRow.Table.DataSet as MDataSet; this.productBindingSource.DataSource = productRow; this.packingBindingSource.DataSource = this.dataSet.Tables["Packing"]; this.storageConditionBindingSource.DataSource = this.dataSet.Tables["StorageCondition"]; this.substanceBindingSource.DataSource = this.dataSet.Tables["Substance"]; this.farmGroupLevel2BindingSource.DataSource = this.dataSet.Tables["FarmGroupLevel2"]; this.unitBindingSource.DataSource = this.dataSet.Tables["Unit"]; _state = actionDialog; }
public ucProductRow(DataRow productRow, MainForm.ActionDialog actionDialog) { InitializeComponent(); this.dataSet = productRow.Table.DataSet; // this.mDataSet = productRow.Table.DataSet as MDataSet; this.productBindingSource.DataSource = productRow ; this.packingBindingSource.DataSource = this.dataSet.Tables["Packing"]; this.storageConditionBindingSource.DataSource = this.dataSet.Tables["StorageCondition"]; this.substanceBindingSource.DataSource = this.dataSet.Tables["Substance"]; this.farmGroupLevel2BindingSource.DataSource = this.dataSet.Tables["FarmGroupLevel2"]; this.unitBindingSource.DataSource = this.dataSet.Tables["Unit"]; _state = actionDialog; }
public UCOrganizationRow(MDataSet.OrganizationRow organizationRow, MainForm.ActionDialog actionDialog) { InitializeComponent(); this.mDataSet = organizationRow.Table.DataSet as MDataSet; this.organizationBindingSource.DataSource = organizationRow; }