Beispiel #1
0
 private void frmUser_Load(object sender, EventArgs e)
 {
     __Table         = (_Table)this.Tag;
     lblCaption.Text = __Table.Description;
     __Table.SetField();
     pCCL.SetButton(tsToolStrip, __Table.PK_TableCode);
     pCCL.SetDataPanelView(gbDetails, ttToolTip, __Table);
     SetDataSource();
     pCCL.SetDataGridView(dgvDataGridView, __Table);
 }
Beispiel #2
0
 private void frmBase_Load(object sender, EventArgs e)
 {
     __Table               = (_Table)this.Tag;
     lblCaption.Text       = __Table.Description;
     tsbPermission.Visible = (__Table.TableName == "_WorkGroup") ? true : false;
     __Table.SetField();
     pCCL.SetButton(gbDetails, ttToolTip);
     pCCL.SetButton(this.tsToolStrip, __Table);
     pCCL.SetDataPanelView(gbDetails, ttToolTip, __Table);
     pCCL.SetControlEvent(gbDetails);
     SetDataSource();
     pCCL.SetDataGridView(dgvDataGridView, __Table);
 }
Beispiel #3
0
 private void frmProduct_Load(object sender, EventArgs e)
 {
     __Table         = (_Table)this.Tag;
     lblCaption.Text = __Table.Description;
     __Table.SetField();
     __Table._Field.SetDataField(2);
     pCCL.SetButton(gbDetails, ttToolTip);
     pCCL.SetButton(tsToolStrip, __Table);
     pCCL.SetDataPanelView(gbDetails, ttToolTip, __Table);
     gbDetails.Tag = __Table;
     pCCL.SetControlEvent(gbDetails);
     SetDataSource();
     pCCL.SetDataGridView(dgvDataGridView, __Table);
 }
Beispiel #4
0
 private void frmTree_Load(object sender, EventArgs e)
 {
     __Table         = (_Table)this.Tag;
     lblCaption.Text = __Table.Description;
     __Table.SetField();
     __Table._Field.SetDataField("FK_PartnerTypeCode");
     ptPartnerType = (PartnerType)Convert.ToInt32(__Table._Field.DefaultValue);
     pCCL.SetButton(gbDetails, ttToolTip);
     pCCL.SetButton(tsToolStrip, __Table);
     pCCL.SetDataPanelView(gbDetails, ttToolTip, __Table);
     gbDetails.Tag = __Table;
     pCCL.SetControlEvent(gbDetails);
     SetDataSource();
     pCCL.SetDataGridView(dgvDataGridView, __Table);
 }
Beispiel #5
0
 private void frmVersion_Load(object sender, EventArgs e)
 {
     __Table         = (_Table)this.Tag;
     lblCaption.Text = __Table.Description;
     __Table.SetField();
     pCCL.SetDataPanelView(gbDetails, ttToolTip, __Table);
     pCCL.SetDataPanelView(gbCompany, ttToolTip, __Table);
     if (pBFL.GetDataTable(ref dtDataTable, __Table.Alias, __Table.Filter, __Table.Order) == null)
     {
         pCCL.SetGroupBox(gbDetails, __Table, dtDataTable.Rows[0]);
         pCCL.SetGroupBox(gbCompany, __Table, dtDataTable.Rows[0]);
     }
     else
     {
         this.Close();
     }
     lblWorkStationValue.Text = User.WorkStation;
 }