/// <summary> /// Sets the height of the smart part. /// </summary> /// <param name="recordCount">The record count.</param> private void SetSmartPartHeight(int recordCount) { if (recordCount > 4) { if (recordCount > 8) { recordCount = 8; } int increment = ((recordCount - 4) * 22); this.InspectionDetailsGridView.Height = 111 + increment; this.GridPanel.Height = this.InspectionDetailsGridView.Height; this.InspectionDetailsGridVscrollBar.Height = 111 + increment - 4; this.DistrictInfoSecIndicatorPictureBox.Height = 153 + increment; this.panel2.Top = CommentPanel.Height + this.GridPanel.Height - 4; this.panel4.Top = this.panel2.Top; this.InspectionDetailsGridView.NumRowsVisible = recordCount; this.Height = this.DistrictInfoSecIndicatorPictureBox.Height; this.DistrictInfoSecIndicatorPictureBox.Image = ExtendedGraphics.GenerateVerticalImage(153, this.DistrictInfoSecIndicatorPictureBox.Width, this.sectionIndicatorTabText, this.redColor, this.greenColor, this.blueColor); } else { this.InspectionDetailsGridView.Height = 111; this.GridPanel.Height = this.InspectionDetailsGridView.Height; this.InspectionDetailsGridVscrollBar.Height = this.InspectionDetailsGridView.Height - 4; this.panel2.Top = CommentPanel.Height + this.GridPanel.Height - 4; this.panel4.Top = this.panel2.Top; this.DistrictInfoSecIndicatorPictureBox.Height = 153; this.InspectionDetailsGridView.NumRowsVisible = 4; this.Height = 153; this.DistrictInfoSecIndicatorPictureBox.Image = ExtendedGraphics.GenerateVerticalImage(153, this.DistrictInfoSecIndicatorPictureBox.Width, this.sectionIndicatorTabText, this.redColor, this.greenColor, this.blueColor); } }
/// <summary> /// Handles the Load event of the F15004 control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="T:System.EventArgs"/> instance containing the event data.</param> private void F15004_Load(object sender, EventArgs e) { try { this.FlagSliceForm = true; this.AgencyId = this.keyId; this.CustomizeDisbursementHistoryGridView(); this.PopulateAgencyMgmtDetails(this.AgencyId); ////this.AgencyNameTextBox.ReadOnly = true; this.TabPictureBox.Image = ExtendedGraphics.GenerateVerticalImage(this.TabPictureBox.Height, this.TabPictureBox.Width, "Tab", 28, 81, 128); this.ContactAPictureBox.Image = ExtendedGraphics.GenerateVerticalImage(this.ContactAPictureBox.Height, this.ContactAPictureBox.Width, "Contact A", 174, 150, 94); this.ContactBPictureBox.Image = ExtendedGraphics.GenerateVerticalImage(this.ContactBPictureBox.Height, this.ContactBPictureBox.Width, "Contact B", 174, 150, 94); this.DisbursementHistoryPictureBox.Image = ExtendedGraphics.GenerateVerticalImage(this.DisbursementHistoryPictureBox.Height, this.DisbursementHistoryPictureBox.Width, "Disbursements", 0, 51, 0); this.AgencyNameTextBox.Focus(); ////this.SubFundsListPictureBox.Image = ExtendedGraphics.GenerateVerticalImage(this.SubFundsListPictureBox.Height, this.SubFundsListPictureBox.Width, "SubFund", 28, 81, 128); ////this.DisbursementHistoryPictureBox.Image = ExtendedGraphics.GenerateVerticalImage(this.DisbursementHistoryPictureBox.Height, this.DisbursementHistoryPictureBox.Width, "Disbursement History", 174, 150, 94); ////this.PopulateSubFundDetais(); } catch (SoapException ex) { ExceptionManager.ManageException(ex, ExceptionManager.ActionType.CloseCurrentForm, this.ParentForm); } catch (Exception exc) { ExceptionManager.ManageException(exc, ExceptionManager.ActionType.CloseCurrentForm, this.ParentForm); } }
/// <summary> /// Handles the Load event of the F35001 control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="T:System.EventArgs"/> instance containing the event data.</param> private void F35001_Load(object sender, EventArgs e) { try { this.keyField = "ValueSliceID"; this.formNo = 35001; this.FlagSliceForm = true; this.ValueSliceHeaderPictureBox.Image = ExtendedGraphics.GenerateVerticalImage(this.ValueSliceHeaderPictureBox.Height, this.ValueSliceHeaderPictureBox.Width, "", 28, 81, 128); this.InitWillValueCombo(); this.InitWillRollCombo(); this.comboInitialized = true; this.PopulateValueSliceHeaderDetails(); this.willValue = Convert.ToBoolean(this.WillValueCombo.SelectedValue); this.form35001Controll.WorkItem.RootWorkItem.State["WillValue"] = this.willValue; if (this.ParentForm != null) { this.ParentForm.ActiveControl = this.DescriptionTextBox; this.DescriptionTextBox.Focus(); } } catch (SoapException ex) { ExceptionManager.ManageException(ex, ExceptionManager.ActionType.CloseCurrentForm, this.ParentForm); } catch (Exception exc) { ExceptionManager.ManageException(exc, ExceptionManager.ActionType.CloseCurrentForm, this.ParentForm); } }
/// <summary> /// Initializes a new instance of the <see cref="T:F2550"/> class. /// </summary> public F9080() { InitializeComponent(); this.ParcelPictureBox.Image = ExtendedGraphics.GenerateVerticalImage(this.formPanel.Height - 4, this.ParcelPictureBox.Width, "Roll Year Management", 28, 81, 128); //this.FormClose += new EventHandler<DataEventArgs<string>>(F9080_FormClose); // this.ParentForm.FormClosing += new FormClosingEventHandler(ParentForm_FormClosing); }
/// <summary> /// Sets the height of the form slice. /// </summary> /// <param name="rowCount">The row count.</param> private void SetFormSliceHeight(int rowCount) { if (rowCount > 5) { int setCurrentHeight = (rowCount - 5) * 21; this.EntireDepreciationTablePanel.Height = 155 + setCurrentHeight; this.DeprTablePictureBox.Height = this.EntireDepreciationTablePanel.Height; this.Height = this.DeprTablePictureBox.Height; this.DepreciationControlDataGrid.Height = 1000; //// 126 + setCurrentHeight; this.DeprTablePictureBox.Image = ExtendedGraphics.GenerateVerticalImage(this.DeprTablePictureBox.Height, this.DeprTablePictureBox.Width, this.sectionIndicatorText, this.redColor, this.greenColor, this.blueColor); } else { //// modified the code to implement the CO:5733 rowCount = 5; int setCurrentHeight = rowCount * 21; this.EntireDepreciationTablePanel.Height = 49 + setCurrentHeight; this.DeprTablePictureBox.Height = this.EntireDepreciationTablePanel.Height; this.Height = this.DeprTablePictureBox.Height; this.DepreciationControlDataGrid.Height = 1000; //// 126 + setCurrentHeight; this.DeprTablePictureBox.Image = ExtendedGraphics.GenerateVerticalImage(this.DeprTablePictureBox.Height, this.DeprTablePictureBox.Width, this.sectionIndicatorText, this.redColor, this.greenColor, this.blueColor); } //// Added this method and removed the below code as its same. this.FormSliceResize(); this.DepreciationControlDataGrid.DisplayLayout.EmptyRowSettings.ShowEmptyRows = true; }
/// <summary> /// Initializes a new instance of the <see cref="T:F8042"/> class. /// </summary> /// <param name="masterform">The masterform.</param> /// <param name="formNo">The form no.</param> /// <param name="keyID">The key ID.</param> /// <param name="red">The red.</param> /// <param name="green">The green.</param> /// <param name="blue">The blue.</param> /// <param name="tabText">The tab text.</param> /// <param name="permissionEdit">if set to <c>true</c> [permission edit].</param> public F8042(int masterform, int formNo, int keyID, int red, int green, int blue, string tabText, bool permissionEdit) { this.InitializeComponent(); this.masterFormNo = masterform; this.keyID = keyID; this.TimeFooterPictureBox.Image = ExtendedGraphics.GenerateVerticalImage(37, 42, string.Empty, red, green, blue); }
/// <summary> /// Sets the height of the smart part. /// </summary> /// <param name="recordCount">The record count.</param> private void SetSmartPartHeight(int recordCount) { if (recordCount > 7) { if (recordCount > 7) { recordCount = 7; } int increment = ((recordCount - 3) * 22); this.AssociatedGridView.Height = 88 + increment; this.AssociatePanel.Height = this.AssociatedGridView.Height; this.AssociateReceiptVscrollBar.Height = 88 + increment - 2; this.AssociatePaymentsPictureBox.Height = 88 + increment; this.AssociatePaymentsPictureBox.Image = ExtendedGraphics.GenerateVerticalImage(this.AssociatePaymentsPictureBox.Height, this.AssociatePaymentsPictureBox.Width, this.sectionIndicatorTabText, this.redColor, this.greenColor, this.blueColor); this.AssociatedGridView.NumRowsVisible = recordCount; this.Height = this.AssociatePaymentsPictureBox.Height; } else { this.AssociatedGridView.Height = 178; this.AssociatePanel.Height = this.AssociatedGridView.Height - 1; this.AssociateReceiptVscrollBar.Height = this.AssociatedGridView.Height - 1; this.AssociatePaymentsPictureBox.Height = this.AssociatedGridView.Height - 1; this.AssociatedGridView.NumRowsVisible = 7; this.Height = this.AssociatedGridView.Height; } }
/// <summary> /// To Set the smart Part Height /// </summary> /// <param name="recordCount">Record Count</param> private void SetSmartPartHeight(int recordCount) { if (recordCount > 5) { if (recordCount > 10) { recordCount = 10; } int increment = ((recordCount - 5) * 21); this.AuditTrailDataPanel.Height = 164 + increment; this.AuditTrailDataGrid.Height = 165 + increment; this.AuditTrailPictureBox.Height = this.AuditTrailDataPanel.Height; this.AuditTrailPictureBox.Image = ExtendedGraphics.GenerateVerticalImage(this.AuditTrailPictureBox.Height, this.AuditTrailPictureBox.Width, this.sectionIndicatorText, this.redColor, this.greenColor, this.blueColor); this.Height = this.AuditTrailPictureBox.Height; ////To Assgin Empty Row at End of the Row this.AuditTrailDataGrid.DisplayLayout.EmptyRowSettings.ShowEmptyRows = false; this.AuditTrailDataGrid.DisplayLayout.EmptyRowSettings.Style = EmptyRowStyle.AlignWithDataRows; } else { this.AuditTrailDataPanel.Height = 164; this.AuditTrailDataGrid.Height = 164 + 1; this.AuditTrailPictureBox.Height = this.AuditTrailDataPanel.Height; this.AuditTrailPictureBox.Image = ExtendedGraphics.GenerateVerticalImage(this.AuditTrailPictureBox.Height, this.AuditTrailPictureBox.Width, this.sectionIndicatorText, this.redColor, this.greenColor, this.blueColor); this.Height = this.AuditTrailPictureBox.Height; ////To Assgin Empty Row at End of the Row this.AuditTrailDataGrid.DisplayLayout.EmptyRowSettings.ShowEmptyRows = true; this.AuditTrailDataGrid.DisplayLayout.EmptyRowSettings.Style = EmptyRowStyle.AlignWithDataRows; } }
/// <summary> /// Populates the inspection details. /// </summary> private void PopulateInspectionDetails() { // Issue Fix Code : Starts Here int keyIdvalid = this.form8056Control.WorkItem.F8056_CheckEventId(this.masterFormNo, this.keyId); if (keyIdvalid == 1) { this.DisableControls(true); this.DisableHeaderControls(true); this.inspectionDetailsDataSet = this.form8056Control.WorkItem.F8056_ListInspectionDetails(this.keyId); (this.InspectionDetailsGridView.Columns["Component"] as DataGridViewComboBoxColumn).DataSource = this.componentTypeDataTable; (this.InspectionDetailsGridView.Columns["Component"] as DataGridViewComboBoxColumn).DisplayMember = this.componentTypeDataTable.DescriptionColumn.ColumnName; ////"Description"; (this.InspectionDetailsGridView.Columns["Component"] as DataGridViewComboBoxColumn).ValueMember = this.componentTypeDataTable.ComponentIDColumn.ColumnName; ////"ComponentID"; (this.InspectionDetailsGridView.Columns["Condition"] as DataGridViewComboBoxColumn).DataSource = this.conditionTypeDataTable; (this.InspectionDetailsGridView.Columns["Condition"] as DataGridViewComboBoxColumn).DisplayMember = this.conditionTypeDataTable.DescriptionColumn.ColumnName; ////"Description"; (this.InspectionDetailsGridView.Columns["Condition"] as DataGridViewComboBoxColumn).ValueMember = this.conditionTypeDataTable.ConditionIDColumn.ColumnName; ////"ConditionID"; (this.InspectionDetailsGridView.Columns["Action"] as DataGridViewComboBoxColumn).DataSource = this.actionTypeDataTable; (this.InspectionDetailsGridView.Columns["Action"] as DataGridViewComboBoxColumn).DisplayMember = this.actionTypeDataTable.DescriptionColumn.ColumnName; ////"Description"; (this.InspectionDetailsGridView.Columns["Action"] as DataGridViewComboBoxColumn).ValueMember = this.actionTypeDataTable.ActionIDColumn.ColumnName; ////"ActionID"; this.SetSmartPartHeight(this.inspectionDetailsDataSet.ListInspectionDetails.Rows.Count); if (this.inspectionDetailsDataSet.ListInspectionDetails.Rows.Count > 8) { this.InspectionDetailsGridVscrollBar.Visible = false; } else { this.InspectionDetailsGridVscrollBar.Visible = true; } this.InspectionDetailsGridView.DataSource = this.inspectionDetailsDataSet.ListInspectionDetails; SliceResize sliceResize; sliceResize.MasterFormNo = this.masterFormNo; sliceResize.SliceFormName = Utility.GetFormNameSpace(this.Name); sliceResize.SliceFormHeight = this.DistrictInfoSecIndicatorPictureBox.Height; if (!this.flagFormLoad) { this.OnFormSlice_Resize(new DataEventArgs <SliceResize>(sliceResize)); this.DistrictInfoSecIndicatorPictureBox.Image = ExtendedGraphics.GenerateVerticalImage(this.DistrictInfoSecIndicatorPictureBox.Height, this.DistrictInfoSecIndicatorPictureBox.Width, this.sectionIndicatorTabText, this.redColor, this.greenColor, this.blueColor); } if (this.InspectionDetailsGridView.OriginalRowCount == 0) { this.InspectionDetailsGridView.CurrentCell = null; } } else { this.DisableControls(false); this.DisableHeaderControls(false); } // Issue Fix Code : Ends Here }
/// <summary> /// Initializes a new instance of the F9008 class. /// </summary> public F9008() { this.InitializeComponent(); ////this.formMasterPermissionEdit = permissionEdit ; ////this.masterFormNo = masterform ; this.ReportDetailspicturebox.Image = ExtendedGraphics.GenerateVerticalImage(this.ReportDetailspicturebox.Height, this.ReportDetailspicturebox.Width, "Report Printer Assignments", 28, 81, 128); this.form9008ReportDetailsData = new F9008ReportDetailsData(); }
/// <summary> /// Initializes a new instance of the <see cref="T:F8104"/> class. /// </summary> /// <param name="masterform">The masterform.</param> /// <param name="formNo">The form no.</param> /// <param name="keyID">The key ID.</param> /// <param name="red">The red.</param> /// <param name="green">The green.</param> /// <param name="blue">The blue.</param> /// <param name="tabText">The tab text.</param> /// <param name="permissionEdit">if set to <c>true</c> [permission edit].</param> public F8104(int masterform, int formNo, int keyID, int red, int green, int blue, string tabText, bool permissionEdit) { this.InitializeComponent(); this.formMasterPermissionEdit = permissionEdit; this.masterFormNo = masterform; this.keyId = keyID; this.DistrictInfoSecIndicatorPictureBox.Image = ExtendedGraphics.GenerateVerticalImage(this.DistrictInfoSecIndicatorPictureBox.Height, this.DistrictInfoSecIndicatorPictureBox.Width, tabText, red, green, blue); }
/// <summary> /// Initializes a new instance of the <see cref="T:F8052"/> class. /// </summary> /// <param name="masterform">The masterform.</param> /// <param name="formNo">The form no.</param> /// <param name="keyID">The key ID.</param> /// <param name="red">The red.</param> /// <param name="green">The green.</param> /// <param name="blue">The blue.</param> /// <param name="tabText">The tab text.</param> /// <param name="permissionEdit">if set to <c>true</c> [permission edit].</param> public F8902(int masterform, int formNo, int keyID, int red, int green, int blue, string tabText, bool permissionEdit) { this.InitializeComponent(); this.workId = keyID; this.masterFormNo = masterform; this.formMasterPermissionEdit = permissionEdit; this.WorkOrderPictureBox.Image = ExtendedGraphics.GenerateVerticalImage(39, 42, tabText, red, green, blue); }
/// <summary> /// Initializes a new instance of the <see cref="T:F8102"/> class. /// </summary> /// <param name="masterform">The masterform.</param> /// <param name="formNo">The form no.</param> /// <param name="keyID">The key ID.</param> /// <param name="red">The red.</param> /// <param name="green">The green.</param> /// <param name="blue">The blue.</param> /// <param name="tabText">The tab text.</param> /// <param name="permissionEdit">if set to <c>true</c> [permission edit].</param> public F8106(int masterform, int formNo, int keyID, int red, int green, int blue, string tabText, bool permissionEdit) { this.InitializeComponent(); this.formMasterPermissionEdit = permissionEdit; this.masterFormNo = masterform; this.keyID = keyID; this.StoppageEventPictureBox.Image = ExtendedGraphics.GenerateVerticalImage(StoppageEventPictureBox.Width, StoppageEventPictureBox.Height, string.Empty, red, green, blue); }
/// <summary> /// Initializes a new instance of the <see cref="T:F15021"/> class. /// </summary> /// <param name="masterform">The masterform.</param> /// <param name="formNo">The form no.</param> /// <param name="keyId">The key id.</param> /// <param name="red">The red.</param> /// <param name="green">The green.</param> /// <param name="blue">The blue.</param> /// <param name="tabText">The tab text.</param> /// <param name="permissionEdit">if set to <c>true</c> [permission edit].</param> public F15021(int masterform, int formNo, int keyId, int red, int green, int blue, string tabText, bool permissionEdit) { this.InitializeComponent(); this.masterFormNo = masterform; this.Tag = formNo; this.keyId = keyId; this.StatementPictureBox.Image = ExtendedGraphics.GenerateVerticalImage(this.Height, this.StatementPictureBox.Width, tabText, red, green, blue); }
/// <summary> /// Initializes a new instance of the <see cref="T:F84721"/> class. /// </summary> /// <param name="masterform">The masterform.</param> /// <param name="formNo">The form no.</param> /// <param name="keyID">The key ID.</param> /// <param name="red">The red.</param> /// <param name="green">The green.</param> /// <param name="blue">The blue.</param> /// <param name="tabText">The tab text.</param> /// <param name="permissionEdit">if set to <c>true</c> [permission edit].</param> public F29530(int masterform, int formNo, int keyID, int red, int green, int blue, string tabText, bool permissionEdit) { this.InitializeComponent(); this.masterFormNo = masterform; this.Tag = formNo; this.eventId = keyID; this.AssociationEventGridpictureBox.Image = ExtendedGraphics.GenerateVerticalImage(this.AssociationEventGridpictureBox.Height, this.AssociationEventGridpictureBox.Width, string.Empty, 28, 81, 128); }
/// <summary> /// Initializes a new instance of the <see cref="F25055"/> class. /// </summary> /// <param name="masterForm">The masterform.</param> /// <param name="formNo">The form no.</param> /// <param name="keyId">The key ID.</param> /// <param name="red">The red color.</param> /// <param name="green">The green color.</param> /// <param name="blue">The blue color.</param> /// <param name="tabText">The tab text.</param> /// <param name="permissionEdit">if set to <c>true</c> [permission edit].</param> public F25055(int masterForm, int formNo, int keyId, int red, int green, int blue, string tabText, bool permissionEdit) { InitializeComponent(); this.masterFormNo = masterForm; this.Tag = formNo; this.scheduleId = keyId; this.PropertyHeaderPictureBox.Image = ExtendedGraphics.GenerateVerticalImage(this.PropertyHeaderPictureBox.Height, this.PropertyHeaderPictureBox.Width, tabText, red, green, blue); }
/// <summary> /// Initializes a new instance of the <see cref="T:F1220"/> class. /// </summary> public F1220() { InitializeComponent(); this.registerId = -1; this.clid = -1; this.cltypeId = -1; this.AccountRegisterHeaderPictureBox.Image = ExtendedGraphics.GenerateVerticalImage(this.AccountRegisterHeaderPictureBox.Height, this.AccountRegisterHeaderPictureBox.Width, "", 0, 51, 0); this.PaymentGridPictureBox.Image = ExtendedGraphics.GenerateVerticalImage(this.PaymentGridPictureBox.Height, this.PaymentGridPictureBox.Width, "Account Transactions", 28, 81, 128); }
/// <summary> /// Loads the situs management grid. /// </summary> private void LoadSitusManagementGrid() { this.listSitusManagementDataTable.Clear(); this.situsManagementData = this.form25003Control.WorkItem.F25003_ListSitusMangement(this.parcelId, this.invalidsiusId); this.listSitusManagementDataTable = this.situsManagementData.ListSitusManagement; if (this.situsManagementData.ListParcelValidID.Rows.Count > 0) { int.TryParse(this.situsManagementData.ListParcelValidID.Rows[0][this.situsManagementData.ListParcelValidID.KeyIDColumn.ColumnName].ToString(), out this.validKeyId); } else { this.validKeyId = 0; } this.listSitusManagementDataTableRowCount = this.listSitusManagementDataTable.Rows.Count; if (this.listSitusManagementDataTableRowCount > 0) { this.SetSmartPartHeight(this.listSitusManagementDataTableRowCount); this.SitusManagementGrid.DataSource = this.listSitusManagementDataTable.DefaultView; this.SitusManagementGrid.Rows[0].Selected = true; this.SitusManagementGrid.Enabled = true; ////TerraScanCommon.SetDataGridViewPosition(this.SitusManagementGrid, 0); this.SitusGridpanel.Enabled = true; this.TitlePanel.Enabled = true; this.ModifyDeletePanel.Enabled = true; } else { this.ClearSitusManagementGrid(); this.SitusGridpanel.Enabled = false; this.TitlePanel.Enabled = true; this.ModifyDeletePanel.Enabled = false; } if (this.listSitusManagementDataTableRowCount > this.SitusManagementGrid.NumRowsVisible) { this.SitusGridVerticalScroll.Visible = false; } else { this.SitusGridVerticalScroll.Visible = true; } SliceResize sliceResize; sliceResize.MasterFormNo = this.masterFormNo; sliceResize.SliceFormName = Utility.GetFormNameSpace(this.Name); sliceResize.SliceFormHeight = this.SitusManagementPictureBox.Height; this.OnFormSlice_Resize(new DataEventArgs <SliceResize>(sliceResize)); if (!this.flagLoadOnProcess) { this.SitusManagementPictureBox.Image = ExtendedGraphics.GenerateVerticalImage(this.SitusManagementPictureBox.Height, this.SitusManagementPictureBox.Width, this.sectionIndicatorText, this.redColor, this.greenColor, this.blueColor); } }
/// <summary> /// Initializes a new instance of the <see cref="T:F84721"/> class. /// </summary> /// <param name="masterform">The masterform.</param> /// <param name="formNo">The form no.</param> /// <param name="keyID">The key ID.</param> /// <param name="red">The red.</param> /// <param name="green">The green.</param> /// <param name="blue">The blue.</param> /// <param name="tabText">The tab text.</param> /// <param name="permissionEdit">if set to <c>true</c> [permission edit].</param> public F25008(int masterform, int formNo, int keyID, int red, int green, int blue, string tabText, bool permissionEdit) { this.InitializeComponent(); this.masterFormNo = masterform; this.Tag = formNo; this.parcelId = keyID; this.formMasterPermissionEdit = permissionEdit; this.MiscellaneousPictureBox.Image = ExtendedGraphics.GenerateVerticalImage(196, 42, tabText, red, green, blue); }
/// <summary> /// Initializes a new instance of the <see cref="T:F84721"/> class. /// </summary> /// <param name="masterform">The masterform.</param> /// <param name="formNo">The form no.</param> /// <param name="keyID">The key ID.</param> /// <param name="red">The red.</param> /// <param name="green">The green.</param> /// <param name="blue">The blue.</param> /// <param name="tabText">The tab text.</param> /// <param name="permissionEdit">if set to <c>true</c> [permission edit].</param> public F84726(int masterform, int formNo, int keyID, int red, int green, int blue, string tabText, bool permissionEdit) { this.InitializeComponent(); this.masterFormNo = masterform; this.Tag = formNo; this.pipeId = keyID; this.formMasterPermissionEdit = permissionEdit; this.WaterPipeLocationPictureBox.Image = ExtendedGraphics.GenerateVerticalImage(118, 42, tabText, red, green, blue); }
/// <summary> /// Initializes a new instance of the <see cref="T:NextNumberForm"/> class. /// </summary> public F1016() { this.InitializeComponent(); this.NextNumRecordsGridView.MouseDown += new MouseEventHandler(this.NextNumRecordsGridView_MouseDown); this.NextNumRecordsGridView.RowValidating += new DataGridViewCellCancelEventHandler(this.NextNumRecordsGridView_RowValidating); this.NextNumRecordsGridView.KeyDown += new KeyEventHandler(this.NextNumRecordsGridView_KeyDown); this.StatementPictureBox.Image = ExtendedGraphics.GenerateVerticalImage(this.StatementPictureBox.Height, this.StatementPictureBox.Width, "Next Number", 28, 81, 128); this.pictureBox1.Image = ExtendedGraphics.GenerateVerticalImage(this.pictureBox1.Height, this.pictureBox1.Width, "Next Number Records", 28, 81, 128); }
/// <summary> /// Initializes a new instance of the <see cref="T:F29610"/> class. /// </summary> /// <param name="masterform">The masterform.</param> /// <param name="formNo">The form no.</param> /// <param name="keyID">The key ID.</param> /// <param name="red">The red.</param> /// <param name="green">The green.</param> /// <param name="blue">The blue.</param> /// <param name="tabText">The tab text.</param> /// <param name="permissionEdit">if set to <c>true</c> [permission edit].</param> public F29610(int masterform, int formNo, int keyID, int red, int green, int blue, string tabText, bool permissionEdit) { this.InitializeComponent(); this.masterFormNo = masterform; this.Tag = formNo; this.eventId = keyID; this.formMasterPermissionEdit = permissionEdit; this.HoHpictureBox.Image = ExtendedGraphics.GenerateVerticalImage(this.HoHpictureBox.Height, this.HoHpictureBox.Width, tabText, red, green, blue); }
/// <summary> /// Initializes a new instance of the <see cref="F15050"/> class. /// </summary> /// <param name="masterform">The masterform.</param> /// <param name="formNo">The form no.</param> /// <param name="keyID">The key ID.</param> /// <param name="red">The red color.</param> /// <param name="green">The green color.</param> /// <param name="blue">The blue color.</param> /// <param name="tabText">The tab text.</param> /// <param name="permissionEdit">if set to <c>true</c> [permission edit].</param> public F15050(int masterform, int formNo, int keyID, int red, int green, int blue, string tabText, bool permissionEdit) { this.InitializeComponent(); this.masterFormNo = masterform; this.Tag = formNo; this.feeId = keyID; this.keyId = keyID; //// this.formMasterPermissionEdit = permissionEdit; this.FeeManagementPictureBox.Image = ExtendedGraphics.GenerateVerticalImage(this.FeeManagementPictureBox.Height, this.FeeManagementPictureBox.Width, tabText, red, green, blue); ////todo remove hard code value }
/// <summary> /// To resize the form slice. /// </summary> private void FormSliceResize() { SliceResize sliceResize; sliceResize.MasterFormNo = this.masterFormNo; sliceResize.SliceFormName = Utility.GetFormNameSpace(this.Name); sliceResize.SliceFormHeight = this.DeprTablePictureBox.Height; this.OnFormSlice_Resize(new DataEventArgs <SliceResize>(sliceResize)); this.DeprTablePictureBox.Image = ExtendedGraphics.GenerateVerticalImage(this.DeprTablePictureBox.Height, this.DeprTablePictureBox.Width, this.sectionIndicatorText, this.redColor, this.greenColor, this.blueColor); }
/// <summary> /// Initializes a new instance of the <see cref="T:F15102"/> class. /// </summary> /// <param name="masterform">The masterform.</param> /// <param name="formNo">The form no.</param> /// <param name="keyID">The key ID.</param> /// <param name="red">The red.</param> /// <param name="green">The green.</param> /// <param name="blue">The blue.</param> /// <param name="tabText">The tab text.</param> /// <param name="permissionEdit">if set to <c>true</c> [permission edit].</param> public F15102(int masterform, int formNo, int keyID, int red, int green, int blue, string tabText, bool permissionEdit) { this.InitializeComponent(); this.masterFormNo = masterform; this.Tag = formNo; this.keyId = keyID; this.StmtPictureBox.Image = ExtendedGraphics.GenerateVerticalImage(this.StmtPictureBox.Height, this.StmtPictureBox.Width, tabText, red, green, blue); this.form15102ReceiptStatementHeaderData = new F15102ReceiptStatementHeaderData(); this.getFormDetailsDataDetails = new SupportFormData.GetFormDetailsDataTable(); }
/// <summary> /// Initializes a new instance of the <see cref="T:F15100"/> class. /// </summary> /// <param name="masterform">The masterform.</param> /// <param name="formNo">The form no.</param> /// <param name="keyID">The key ID.</param> /// <param name="red">The red.</param> /// <param name="green">The green.</param> /// <param name="blue">The blue.</param> /// <param name="tabText">The tab text.</param> /// <param name="permissionEdit">if set to <c>true</c> [permission edit].</param> /// <param name="featureClassID">The featureclass id</param> public F15110(int masterform, int formNo, int keyID, int red, int green, int blue, string tabText, bool permissionEdit, int featureClassID) { this.InitializeComponent(); this.masterFormNo = masterform; this.Tag = formNo; this.receiptId = keyID; this.formMasterPermissionEdit = permissionEdit; this.ReverseReceiptPictureBox.Image = ExtendedGraphics.GenerateVerticalImage(this.ReverseReceiptPictureBox.Height, this.ReverseReceiptPictureBox.Width, tabText, red, green, blue); this.featureClassId = featureClassID; }
public F25090(int masterform, int formNo, int keyID, int red, int green, int blue, string tabText, bool permissionEdit) { this.InitializeComponent(); this.masterFormNo = masterform; this.form = formNo; this.keyId = keyID; this.formMasterPermissionEdit = permissionEdit; this.Tag = formNo; this.F25090PictureBox.Image = ExtendedGraphics.GenerateVerticalImage(this.F25090PictureBox.Height, this.F25090PictureBox.Width, "Quick Summary", 28, 81, 128); }
/// <summary> /// Initializes a new instance of the <see cref="T:F84124"/> class. /// </summary> /// <param name="masterform">The masterform.</param> /// <param name="formNo">The form no.</param> /// <param name="keyID">The key ID.</param> /// <param name="red">The red.</param> /// <param name="green">The green.</param> /// <param name="blue">The blue.</param> /// <param name="tabText">The tab text.</param> /// <param name="permissionEdit">if set to <c>true</c> [permission edit].</param> /// /// <param name="featureClassId">The feature class id.</param> public F84124(int masterform, int formNo, int keyID, int red, int green, int blue, string tabText, bool permissionEdit, int featureClassId) { InitializeComponent(); this.formMasterPermissionEdit = permissionEdit; this.Tag = formNo; this.masterFormNo = masterform; this.formNo = formNo; this.pipeId = keyID; this.featureClassId = featureClassId; this.LocationPictureBox.Image = ExtendedGraphics.GenerateVerticalImage(this.LocationPictureBox.Height, this.LocationPictureBox.Width, tabText, red, green, blue); }
/// <summary> /// Initializes a new instance of the <see cref="T:F35060"/> /// </summary> /// <param name="masterform">The masterform.</param> /// <param name="formNo">The form no.</param> /// <param name="keyID">The key ID.</param> /// <param name="red">The red.</param> /// <param name="green">The green.</param> /// <param name="blue">The blue.</param> /// <param name="tabText">The tab text.</param> /// <param name="permissionEdit">if set to <c>true</c> [permission edit].</param> public F32012(int masterForm, int formNo, int keyID, int red, int green, int blue, string tabText, bool permissionEdit) { this.InitializeComponent(); this.Load += new EventHandler(F32012_Load); this.objectID = keyID; this.FlagSliceForm = true; this.Tag = formNo; this.masterFormNumber = masterForm; this.CatalogPictureBox.Image = ExtendedGraphics.GenerateVerticalImage(this.CatalogPictureBox.Height, this.CatalogPictureBox.Width, tabText, red, green, blue); //this.FormClose += new EventHandler<DataEventArgs<string>>(F32012_FormClose); }
/// <summary> /// Handles the Resize event of the F15101 control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> private void F15101_Resize(object sender, EventArgs e) { SliceResize sliceResize; sliceResize.MasterFormNo = this.masterFormNo; sliceResize.SliceFormName = Utility.GetFormNameSpace(this.Name); //this.Height = this.AssociatePaymentsPictureBox.Height; ////this.AddButton.Height + this.InspectionDetailsGridView.Height + this.panel2.Height; sliceResize.SliceFormHeight = this.AssociatePaymentsPictureBox.Height; this.AssociatePaymentsPictureBox.Image = ExtendedGraphics.GenerateVerticalImage(this.AssociatePaymentsPictureBox.Height, this.AssociatePaymentsPictureBox.Width, this.sectionIndicatorTabText, this.redColor, this.greenColor, this.blueColor); this.OnFormSlice_Resize(new DataEventArgs <SliceResize>(sliceResize)); }