public CancelLadBillForm() { InitializeComponent(); Group LadBillCreditGroup = new Group(); LadBillCreditGroup.GroupName = "LadBillCreditGroup"; LadBillCreditGroup.set_Grid(true, true, true, this.LadBillWithTrafficGridView); LadBillCreditGroup.ToolStrip = this.LadBillCreditToolStrip; LadBillCreditGroup.HasFilterControl = true; LadBillCreditGroup.RefreshButton = this.RefreshButton; this.Groups.Add(LadBillCreditGroup); Group LadBillCreditCancelCommentGroup = new Group(); LadBillCreditCancelCommentGroup.GroupName = "LadBillCreditCancelCommentGroup"; LadBillCreditCancelCommentGroup.set_Grid(true, true, true, this.LadBillCreditCancelCommentGridView); this.Groups.Add(LadBillCreditCancelCommentGroup); Hepsa.Core.PL.BaseListForm.GroupRelation.RelationStructure LadebillCreditCancelRelation = new Hepsa.Core.PL.BaseListForm.GroupRelation.RelationStructure(); LadebillCreditCancelRelation.Group1 = LadBillCreditGroup; LadebillCreditCancelRelation.HasGroup1ChangeEvent = true; LadebillCreditCancelRelation.Group1FilterColumn = LadBillCreditID_int.Name; LadebillCreditCancelRelation.Group1ChildDataShowType = GroupRelation.enmChildDataShowType.Filter; LadebillCreditCancelRelation.Group1RelationType = GroupRelation.enmRelationType.Eual; LadebillCreditCancelRelation.Group1BusinessFactory = new HPS.BLL.LadBillCreditBLL.BLLLadBillCredit_TFactory(); LadebillCreditCancelRelation.Group2 = LadBillCreditCancelCommentGroup; LadebillCreditCancelRelation.HasGroup2ChangeEvent = false; LadebillCreditCancelRelation.Group2FilterColumn = LadBillCreditID_int.DataPropertyName; LadebillCreditCancelRelation.Group2BusinessFactory = new HPS.BLL.LadBillCreditCancelCommentBLL.BLLLadBillCreditCancelComment_TFactory(); LadebillCreditCancelRelation.Group2ConnectionType = GroupRelation.enmConnectionType.Online; this.Relation.Add(ref LadebillCreditCancelRelation); }
public TrafficPicturesNotInTraffic_T() { InitializeComponent(); Hepsa.Core.PL.BaseListForm.Group TrafficPicturesGroup = new Hepsa.Core.PL.BaseListForm.Group(); TrafficPicturesGroup.set_Grid(true, false, false, this.TrafficPicturesGridView); TrafficPicturesGroup.ToolStrip = this.TrafficPicturesToolStrip; TrafficPicturesGroup.HasFilterControl = true; this.Groups.Add(TrafficPicturesGroup); Hepsa.Core.PL.BaseListForm.Group InOutTimesGroup = new Hepsa.Core.PL.BaseListForm.Group(); InOutTimesGroup.set_Grid(true, false, false, this.InOutTimesGrid); //InOutTimesGroup.ExportButton = this.ExportToExcelStripButton; InOutTimesGroup.ToolStrip = this.InOutToolStrip; InOutTimesGroup.HasFilterControl = true; this.Groups.Add(InOutTimesGroup); Hepsa.Core.PL.BaseListForm.GroupRelation.RelationStructure TrafficPicturesRelation = new Hepsa.Core.PL.BaseListForm.GroupRelation.RelationStructure(); TrafficPicturesRelation.Group1 = TrafficPicturesGroup; TrafficPicturesRelation.HasGroup1ChangeEvent = true; TrafficPicturesRelation.Group1FilterColumn = "cameraPicturesID_bint"; TrafficPicturesRelation.Group1ChildDataShowType = GroupRelation.enmChildDataShowType.Filter; TrafficPicturesRelation.Group1RelationType = GroupRelation.enmRelationType.Eual; TrafficPicturesRelation.Group1BusinessFactory = new HPS.BLL.BLLPlateNumber_TFactory(); TrafficPicturesRelation.Group2 = InOutTimesGroup; TrafficPicturesRelation.HasGroup2ChangeEvent = false; TrafficPicturesRelation.Group2FilterColumn = "cameraPicturesID_bint"; TrafficPicturesRelation.Group2BusinessFactory = new HPS.BLL.BLLInOut_TFactory(); TrafficPicturesRelation.Group2ConnectionType = GroupRelation.enmConnectionType.Online; this.Relation.Add(ref TrafficPicturesRelation); }
public SaloonListForm() { this.InitializeComponent(); Hepsa.Core.PL.BaseListForm.Group SaloonGroup = new Hepsa.Core.PL.BaseListForm.Group(); SaloonGroup.AddButton = this.NewButton; SaloonGroup.DeleteButton = this.DeleteButton; SaloonGroup.EditButton = this.EditButton; SaloonGroup.RefreshButton = this.RefreshButton; SaloonGroup.ExportButton = this.ExportButton; SaloonGroup.set_Grid(true, true, true, this.SaloonGridView); SaloonGroup.ToolStrip = this.SaloonToolStrip; SaloonGroup.HasFilterControl = true; this.Groups.Add(SaloonGroup); Hepsa.Core.PL.BaseListForm.Group LaderTypeGroup = new Hepsa.Core.PL.BaseListForm.Group(); LaderTypeGroup.set_Grid(true, true, true, this.LaderTypeGridView); LaderTypeGroup.HasFilterControl = false; this.Groups.Add(LaderTypeGroup); Hepsa.Core.PL.BaseListForm.GroupRelation.RelationStructure SaloonRelation = new Hepsa.Core.PL.BaseListForm.GroupRelation.RelationStructure(); SaloonRelation.Group1 = SaloonGroup; SaloonRelation.HasGroup1ChangeEvent = true; SaloonRelation.Group1FilterColumn = colSaloonID_int.Name; SaloonRelation.Group1ChildDataShowType = GroupRelation.enmChildDataShowType.Filter; SaloonRelation.Group1RelationType = GroupRelation.enmRelationType.Eual; SaloonRelation.Group1BusinessFactory = new HPS.BLL.SaloonBLL.BLLSaloon_TFactory(); SaloonRelation.Group2 = LaderTypeGroup; SaloonRelation.HasGroup2ChangeEvent = false; SaloonRelation.Group2FilterColumn = colSaloonID_int.DataPropertyName; SaloonRelation.Group2BusinessFactory = new HPS.BLL.LaderTypeBLL.BLLLaderType_TFactory(); SaloonRelation.Group2ConnectionType = GroupRelation.enmConnectionType.Online; this.Relation.Add(ref SaloonRelation); }
public LadeAssignmentInformingListForm() { InitializeComponent(); Hepsa.Core.PL.BaseListForm.Group LadeAssignmentGroup = new Hepsa.Core.PL.BaseListForm.Group(); LadeAssignmentGroup.GroupName = "LadeAssignmentGroup"; LadeAssignmentGroup.AddButton = this.NewButton; LadeAssignmentGroup.DeleteButton = this.DeleteButton; LadeAssignmentGroup.EditButton = this.EditButton; LadeAssignmentGroup.RefreshButton = this.RefreshButton; LadeAssignmentGroup.set_Grid(true, true, true, this.LadeAssignmentGridView); LadeAssignmentGroup.ToolStrip = this.LadeAssignmentToolStrip; LadeAssignmentGroup.HasFilterControl = true; this.Groups.Add(LadeAssignmentGroup); Hepsa.Core.PL.BaseListForm.Group LadeAssignmentCommentGroup = new Hepsa.Core.PL.BaseListForm.Group(); LadeAssignmentCommentGroup.AddButton = null; LadeAssignmentCommentGroup.DeleteButton = null; LadeAssignmentCommentGroup.EditButton = null; LadeAssignmentCommentGroup.RefreshButton = null; LadeAssignmentCommentGroup.set_Grid(true, true, true, this.LadeAssignmentCommentGridView); this.Groups.Add(LadeAssignmentCommentGroup); Hepsa.Core.PL.BaseListForm.Group LaderTypeGroup = new Hepsa.Core.PL.BaseListForm.Group(); LaderTypeGroup.AddButton = null; LaderTypeGroup.DeleteButton = null; LaderTypeGroup.EditButton = null; LaderTypeGroup.RefreshButton = null; LaderTypeGroup.set_Grid(true, true, true, this.LaderTypeGridView); this.Groups.Add(LaderTypeGroup); Hepsa.Core.PL.BaseListForm.GroupRelation.RelationStructure LadeAssignmentRelation = new Hepsa.Core.PL.BaseListForm.GroupRelation.RelationStructure(); LadeAssignmentRelation.Group1 = LadeAssignmentGroup; LadeAssignmentRelation.HasGroup1ChangeEvent = true; LadeAssignmentRelation.Group1FilterColumn = colLadeAssignmentID_bint.Name; LadeAssignmentRelation.Group1ChildDataShowType = GroupRelation.enmChildDataShowType.Filter; LadeAssignmentRelation.Group1RelationType = GroupRelation.enmRelationType.Eual; LadeAssignmentRelation.Group1BusinessFactory = new HPS.BLL.LadeAssignmentBLL.BLLLadeAssignment_TFactory(); LadeAssignmentRelation.Group2 = LadeAssignmentCommentGroup; LadeAssignmentRelation.HasGroup2ChangeEvent = false; LadeAssignmentRelation.Group2FilterColumn = colLadeAssignmentID_bint.DataPropertyName; LadeAssignmentRelation.Group2BusinessFactory = new HPS.BLL.LadeAssignmentCommentBLL.BLLLadeAssignmentComment_TFactory(); LadeAssignmentRelation.Group2ConnectionType = GroupRelation.enmConnectionType.Online; this.Relation.Add(ref LadeAssignmentRelation); Hepsa.Core.PL.BaseListForm.GroupRelation.RelationStructure LadeAssignmentRelation2 = new Hepsa.Core.PL.BaseListForm.GroupRelation.RelationStructure(); LadeAssignmentRelation2.Group1 = LadeAssignmentGroup; LadeAssignmentRelation2.HasGroup1ChangeEvent = true; LadeAssignmentRelation2.Group1FilterColumn = colLadeAssignmentID_bint.Name; LadeAssignmentRelation2.Group1ChildDataShowType = GroupRelation.enmChildDataShowType.Filter; LadeAssignmentRelation2.Group1RelationType = GroupRelation.enmRelationType.Eual; LadeAssignmentRelation2.Group1BusinessFactory = new HPS.BLL.LadeAssignmentBLL.BLLLadeAssignment_TFactory(); LadeAssignmentRelation2.Group2 = LaderTypeGroup; LadeAssignmentRelation2.HasGroup2ChangeEvent = false; LadeAssignmentRelation2.Group2FilterColumn = colLadeAssignmentID_bint.DataPropertyName; LadeAssignmentRelation2.Group2BusinessFactory = new HPS.BLL.MultiLaderTypeBLL.BLLMultiLaderType_TFactory(); LadeAssignmentRelation2.Group2ConnectionType = GroupRelation.enmConnectionType.Online; this.Relation.Add(ref LadeAssignmentRelation2); }