private void InitializeComponent() { ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(FrmCompareImages)); groupControl1 = new GroupControl(); pbMainImage = new PictureEdit(); groupControl2 = new GroupControl(); pbCamImage = new PictureEdit(); groupControl1.BeginInit(); groupControl1.SuspendLayout(); pbMainImage.Properties.BeginInit(); groupControl2.BeginInit(); groupControl2.SuspendLayout(); pbCamImage.Properties.BeginInit(); SuspendLayout(); componentResourceManager.ApplyResources(groupControl1, "groupControl1"); groupControl1.AppearanceCaption.Font = (Font)componentResourceManager.GetObject("groupControl1.AppearanceCaption.Font"); groupControl1.AppearanceCaption.FontSizeDelta = (int)componentResourceManager.GetObject("groupControl1.AppearanceCaption.FontSizeDelta"); groupControl1.AppearanceCaption.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("groupControl1.AppearanceCaption.FontStyleDelta"); groupControl1.AppearanceCaption.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("groupControl1.AppearanceCaption.GradientMode"); groupControl1.AppearanceCaption.Image = (Image)componentResourceManager.GetObject("groupControl1.AppearanceCaption.Image"); groupControl1.AppearanceCaption.Options.UseFont = true; groupControl1.Controls.Add(pbMainImage); groupControl1.Name = "groupControl1"; componentResourceManager.ApplyResources(pbMainImage, "pbMainImage"); pbMainImage.Name = "pbMainImage"; pbMainImage.Properties.AccessibleDescription = componentResourceManager.GetString("pbMainImage.Properties.AccessibleDescription"); pbMainImage.Properties.AccessibleName = componentResourceManager.GetString("pbMainImage.Properties.AccessibleName"); pbMainImage.Properties.SizeMode = PictureSizeMode.Zoom; componentResourceManager.ApplyResources(groupControl2, "groupControl2"); groupControl2.AppearanceCaption.Font = (Font)componentResourceManager.GetObject("groupControl2.AppearanceCaption.Font"); groupControl2.AppearanceCaption.FontSizeDelta = (int)componentResourceManager.GetObject("groupControl2.AppearanceCaption.FontSizeDelta"); groupControl2.AppearanceCaption.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("groupControl2.AppearanceCaption.FontStyleDelta"); groupControl2.AppearanceCaption.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("groupControl2.AppearanceCaption.GradientMode"); groupControl2.AppearanceCaption.Image = (Image)componentResourceManager.GetObject("groupControl2.AppearanceCaption.Image"); groupControl2.AppearanceCaption.Options.UseFont = true; groupControl2.Controls.Add(pbCamImage); groupControl2.Name = "groupControl2"; componentResourceManager.ApplyResources(pbCamImage, "pbCamImage"); pbCamImage.Name = "pbCamImage"; pbCamImage.Properties.AccessibleDescription = componentResourceManager.GetString("pbCamImage.Properties.AccessibleDescription"); pbCamImage.Properties.AccessibleName = componentResourceManager.GetString("pbCamImage.Properties.AccessibleName"); pbCamImage.Properties.SizeMode = PictureSizeMode.Zoom; componentResourceManager.ApplyResources(this, "$this"); AutoScaleMode = AutoScaleMode.Font; Controls.Add(groupControl2); Controls.Add(groupControl1); MaximizeBox = false; MinimizeBox = false; Name = "FrmCompareImages"; Load += frmCompareImages_Load; groupControl1.EndInit(); groupControl1.ResumeLayout(false); pbMainImage.Properties.EndInit(); groupControl2.EndInit(); groupControl2.ResumeLayout(false); pbCamImage.Properties.EndInit(); ResumeLayout(false); }
private void InitializeComponent() { ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(FrmStatistic)); label6 = new LabelControl(); groupBox3 = new GroupBox(); label1 = new Label(); checkEditbefore = new CheckEdit(); checkEditfrom = new CheckEdit(); dtpBefore = new DateEdit(); dtpFrom = new DateEdit(); btSearch = new SimpleButton(); btPrint = new SimpleButton(); radioGroup1 = new RadioGroup(); groupBox1 = new GroupControl(); lvObjects = new CheckedListBoxControl(); gridControl1 = new GridControl(); gridView1 = new GridView(); colDate = new GridColumn(); colObject = new GridColumn(); colDevice = new GridColumn(); colTraffic = new GridColumn(); colResult = new GridColumn(); colTime = new GridColumn(); labelControl1 = new LabelControl(); groupBox3.SuspendLayout(); checkEditbefore.Properties.BeginInit(); checkEditfrom.Properties.BeginInit(); dtpBefore.Properties.CalendarTimeProperties.BeginInit(); dtpBefore.Properties.BeginInit(); dtpFrom.Properties.CalendarTimeProperties.BeginInit(); dtpFrom.Properties.BeginInit(); radioGroup1.Properties.BeginInit(); groupBox1.BeginInit(); groupBox1.SuspendLayout(); lvObjects.BeginInit(); gridControl1.BeginInit(); gridView1.BeginInit(); SuspendLayout(); componentResourceManager.ApplyResources(label6, "label6"); label6.Appearance.Font = (Font)componentResourceManager.GetObject("label6.Appearance.Font"); label6.Name = "label6"; componentResourceManager.ApplyResources(groupBox3, "groupBox3"); groupBox3.Controls.Add(label1); groupBox3.Controls.Add(checkEditbefore); groupBox3.Controls.Add(checkEditfrom); groupBox3.Controls.Add(dtpBefore); groupBox3.Controls.Add(dtpFrom); groupBox3.Name = "groupBox3"; groupBox3.TabStop = false; componentResourceManager.ApplyResources(label1, "label1"); label1.Name = "label1"; componentResourceManager.ApplyResources(checkEditbefore, "checkEditbefore"); checkEditbefore.Name = "checkEditbefore"; checkEditbefore.Properties.Appearance.Font = (Font)componentResourceManager.GetObject("checkEditbefore.Properties.Appearance.Font"); checkEditbefore.Properties.Appearance.Options.UseFont = true; checkEditbefore.Properties.Caption = componentResourceManager.GetString("checkEditbefore.Properties.Caption"); checkEditbefore.CheckedChanged += checkEditbefore_CheckedChanged; componentResourceManager.ApplyResources(checkEditfrom, "checkEditfrom"); checkEditfrom.Name = "checkEditfrom"; checkEditfrom.Properties.Appearance.Font = (Font)componentResourceManager.GetObject("checkEditfrom.Properties.Appearance.Font"); checkEditfrom.Properties.Appearance.Options.UseFont = true; checkEditfrom.Properties.Caption = componentResourceManager.GetString("checkEditfrom.Properties.Caption"); checkEditfrom.CheckedChanged += checkEditfrom_CheckedChanged; componentResourceManager.ApplyResources(dtpBefore, "dtpBefore"); dtpBefore.Name = "dtpBefore"; dtpBefore.Properties.Appearance.Font = (Font)componentResourceManager.GetObject("dtpBefore.Properties.Appearance.Font"); dtpBefore.Properties.Appearance.Options.UseFont = true; dtpBefore.Properties.CalendarTimeProperties.Buttons.AddRange(new EditorButton[1] { new EditorButton() }); componentResourceManager.ApplyResources(dtpFrom, "dtpFrom"); dtpFrom.Name = "dtpFrom"; dtpFrom.Properties.Appearance.Font = (Font)componentResourceManager.GetObject("dtpFrom.Properties.Appearance.Font"); dtpFrom.Properties.Appearance.Options.UseFont = true; dtpFrom.Properties.CalendarTimeProperties.Buttons.AddRange(new EditorButton[1] { new EditorButton() }); componentResourceManager.ApplyResources(btSearch, "btSearch"); btSearch.Appearance.Font = (Font)componentResourceManager.GetObject("btSearch.Appearance.Font"); btSearch.Appearance.Options.UseFont = true; btSearch.Name = "btSearch"; btSearch.Click += btSearch_Click; componentResourceManager.ApplyResources(btPrint, "btPrint"); btPrint.Appearance.Font = (Font)componentResourceManager.GetObject("btPrint.Appearance.Font"); btPrint.Appearance.Options.UseFont = true; btPrint.Name = "btPrint"; btPrint.Click += btPrint_Click; componentResourceManager.ApplyResources(radioGroup1, "radioGroup1"); radioGroup1.Name = "radioGroup1"; radioGroup1.Properties.Appearance.Font = (Font)componentResourceManager.GetObject("radioGroup1.Properties.Appearance.Font"); radioGroup1.Properties.Appearance.Options.UseFont = true; radioGroup1.Properties.Items.AddRange(new RadioGroupItem[4] { new RadioGroupItem(componentResourceManager.GetObject("radioGroup1.Properties.Items"), componentResourceManager.GetString("radioGroup1.Properties.Items1")), new RadioGroupItem(componentResourceManager.GetObject("radioGroup1.Properties.Items2"), componentResourceManager.GetString("radioGroup1.Properties.Items3")), new RadioGroupItem(componentResourceManager.GetObject("radioGroup1.Properties.Items4"), componentResourceManager.GetString("radioGroup1.Properties.Items5")), new RadioGroupItem(componentResourceManager.GetObject("radioGroup1.Properties.Items6"), componentResourceManager.GetString("radioGroup1.Properties.Items7")) }); radioGroup1.SelectedIndexChanged += radioGroup1_SelectedIndexChanged; groupBox1.AppearanceCaption.Font = (Font)componentResourceManager.GetObject("groupBox1.AppearanceCaption.Font"); groupBox1.AppearanceCaption.Options.UseFont = true; groupBox1.Controls.Add(radioGroup1); componentResourceManager.ApplyResources(groupBox1, "groupBox1"); groupBox1.Name = "groupBox1"; groupBox1.ShowCaption = false; componentResourceManager.ApplyResources(lvObjects, "lvObjects"); lvObjects.Appearance.Font = (Font)componentResourceManager.GetObject("lvObjects.Appearance.Font"); lvObjects.Appearance.Options.UseFont = true; lvObjects.Name = "lvObjects"; componentResourceManager.ApplyResources(gridControl1, "gridControl1"); gridControl1.LookAndFeel.SkinName = "Office 2007 Blue"; gridControl1.MainView = gridView1; gridControl1.Name = "gridControl1"; gridControl1.ViewCollection.AddRange(new BaseView[1] { gridView1 }); gridView1.Appearance.ColumnFilterButton.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.ColumnFilterButton.BackColor"); gridView1.Appearance.ColumnFilterButton.BackColor2 = (Color)componentResourceManager.GetObject("gridView1.Appearance.ColumnFilterButton.BackColor2"); gridView1.Appearance.ColumnFilterButton.BorderColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.ColumnFilterButton.BorderColor"); gridView1.Appearance.ColumnFilterButton.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.ColumnFilterButton.ForeColor"); gridView1.Appearance.ColumnFilterButton.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.ColumnFilterButton.GradientMode"); gridView1.Appearance.ColumnFilterButton.Options.UseBackColor = true; gridView1.Appearance.ColumnFilterButton.Options.UseBorderColor = true; gridView1.Appearance.ColumnFilterButton.Options.UseForeColor = true; gridView1.Appearance.ColumnFilterButtonActive.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.ColumnFilterButtonActive.BackColor"); gridView1.Appearance.ColumnFilterButtonActive.BackColor2 = (Color)componentResourceManager.GetObject("gridView1.Appearance.ColumnFilterButtonActive.BackColor2"); gridView1.Appearance.ColumnFilterButtonActive.BorderColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.ColumnFilterButtonActive.BorderColor"); gridView1.Appearance.ColumnFilterButtonActive.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.ColumnFilterButtonActive.ForeColor"); gridView1.Appearance.ColumnFilterButtonActive.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.ColumnFilterButtonActive.GradientMode"); gridView1.Appearance.ColumnFilterButtonActive.Options.UseBackColor = true; gridView1.Appearance.ColumnFilterButtonActive.Options.UseBorderColor = true; gridView1.Appearance.ColumnFilterButtonActive.Options.UseForeColor = true; gridView1.Appearance.Empty.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.Empty.BackColor"); gridView1.Appearance.Empty.Options.UseBackColor = true; gridView1.Appearance.EvenRow.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.EvenRow.BackColor"); gridView1.Appearance.EvenRow.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.EvenRow.ForeColor"); gridView1.Appearance.EvenRow.Options.UseBackColor = true; gridView1.Appearance.EvenRow.Options.UseForeColor = true; gridView1.Appearance.FilterCloseButton.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.FilterCloseButton.BackColor"); gridView1.Appearance.FilterCloseButton.BackColor2 = (Color)componentResourceManager.GetObject("gridView1.Appearance.FilterCloseButton.BackColor2"); gridView1.Appearance.FilterCloseButton.BorderColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.FilterCloseButton.BorderColor"); gridView1.Appearance.FilterCloseButton.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.FilterCloseButton.ForeColor"); gridView1.Appearance.FilterCloseButton.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.FilterCloseButton.GradientMode"); gridView1.Appearance.FilterCloseButton.Options.UseBackColor = true; gridView1.Appearance.FilterCloseButton.Options.UseBorderColor = true; gridView1.Appearance.FilterCloseButton.Options.UseForeColor = true; gridView1.Appearance.FilterPanel.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.FilterPanel.BackColor"); gridView1.Appearance.FilterPanel.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.FilterPanel.ForeColor"); gridView1.Appearance.FilterPanel.Options.UseBackColor = true; gridView1.Appearance.FilterPanel.Options.UseForeColor = true; gridView1.Appearance.FixedLine.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.FixedLine.BackColor"); gridView1.Appearance.FixedLine.Options.UseBackColor = true; gridView1.Appearance.FocusedCell.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.FocusedCell.BackColor"); gridView1.Appearance.FocusedCell.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.FocusedCell.ForeColor"); gridView1.Appearance.FocusedCell.Options.UseBackColor = true; gridView1.Appearance.FocusedCell.Options.UseForeColor = true; gridView1.Appearance.FocusedRow.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.FocusedRow.BackColor"); gridView1.Appearance.FocusedRow.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.FocusedRow.ForeColor"); gridView1.Appearance.FocusedRow.Options.UseBackColor = true; gridView1.Appearance.FocusedRow.Options.UseForeColor = true; gridView1.Appearance.FooterPanel.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.FooterPanel.BackColor"); gridView1.Appearance.FooterPanel.BackColor2 = (Color)componentResourceManager.GetObject("gridView1.Appearance.FooterPanel.BackColor2"); gridView1.Appearance.FooterPanel.BorderColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.FooterPanel.BorderColor"); gridView1.Appearance.FooterPanel.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.FooterPanel.ForeColor"); gridView1.Appearance.FooterPanel.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.FooterPanel.GradientMode"); gridView1.Appearance.FooterPanel.Options.UseBackColor = true; gridView1.Appearance.FooterPanel.Options.UseBorderColor = true; gridView1.Appearance.FooterPanel.Options.UseForeColor = true; gridView1.Appearance.GroupButton.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.GroupButton.BackColor"); gridView1.Appearance.GroupButton.BorderColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.GroupButton.BorderColor"); gridView1.Appearance.GroupButton.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.GroupButton.ForeColor"); gridView1.Appearance.GroupButton.Options.UseBackColor = true; gridView1.Appearance.GroupButton.Options.UseBorderColor = true; gridView1.Appearance.GroupButton.Options.UseForeColor = true; gridView1.Appearance.GroupFooter.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.GroupFooter.BackColor"); gridView1.Appearance.GroupFooter.BorderColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.GroupFooter.BorderColor"); gridView1.Appearance.GroupFooter.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.GroupFooter.ForeColor"); gridView1.Appearance.GroupFooter.Options.UseBackColor = true; gridView1.Appearance.GroupFooter.Options.UseBorderColor = true; gridView1.Appearance.GroupFooter.Options.UseForeColor = true; gridView1.Appearance.GroupPanel.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.GroupPanel.BackColor"); gridView1.Appearance.GroupPanel.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.GroupPanel.ForeColor"); gridView1.Appearance.GroupPanel.Options.UseBackColor = true; gridView1.Appearance.GroupPanel.Options.UseForeColor = true; gridView1.Appearance.GroupRow.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.GroupRow.BackColor"); gridView1.Appearance.GroupRow.BorderColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.GroupRow.BorderColor"); gridView1.Appearance.GroupRow.Font = (Font)componentResourceManager.GetObject("gridView1.Appearance.GroupRow.Font"); gridView1.Appearance.GroupRow.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.GroupRow.ForeColor"); gridView1.Appearance.GroupRow.Options.UseBackColor = true; gridView1.Appearance.GroupRow.Options.UseBorderColor = true; gridView1.Appearance.GroupRow.Options.UseFont = true; gridView1.Appearance.GroupRow.Options.UseForeColor = true; gridView1.Appearance.HeaderPanel.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.HeaderPanel.BackColor"); gridView1.Appearance.HeaderPanel.BackColor2 = (Color)componentResourceManager.GetObject("gridView1.Appearance.HeaderPanel.BackColor2"); gridView1.Appearance.HeaderPanel.BorderColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.HeaderPanel.BorderColor"); gridView1.Appearance.HeaderPanel.Font = (Font)componentResourceManager.GetObject("gridView1.Appearance.HeaderPanel.Font"); gridView1.Appearance.HeaderPanel.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.HeaderPanel.ForeColor"); gridView1.Appearance.HeaderPanel.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.HeaderPanel.GradientMode"); gridView1.Appearance.HeaderPanel.Options.UseBackColor = true; gridView1.Appearance.HeaderPanel.Options.UseBorderColor = true; gridView1.Appearance.HeaderPanel.Options.UseFont = true; gridView1.Appearance.HeaderPanel.Options.UseForeColor = true; gridView1.Appearance.HideSelectionRow.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.HideSelectionRow.BackColor"); gridView1.Appearance.HideSelectionRow.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.HideSelectionRow.ForeColor"); gridView1.Appearance.HideSelectionRow.Options.UseBackColor = true; gridView1.Appearance.HideSelectionRow.Options.UseForeColor = true; gridView1.Appearance.HorzLine.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.HorzLine.BackColor"); gridView1.Appearance.HorzLine.Options.UseBackColor = true; gridView1.Appearance.OddRow.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.OddRow.BackColor"); gridView1.Appearance.OddRow.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.OddRow.ForeColor"); gridView1.Appearance.OddRow.Options.UseBackColor = true; gridView1.Appearance.OddRow.Options.UseForeColor = true; gridView1.Appearance.Preview.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.Preview.BackColor"); gridView1.Appearance.Preview.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.Preview.ForeColor"); gridView1.Appearance.Preview.Options.UseBackColor = true; gridView1.Appearance.Preview.Options.UseForeColor = true; gridView1.Appearance.Row.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.Row.BackColor"); gridView1.Appearance.Row.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.Row.ForeColor"); gridView1.Appearance.Row.Options.UseBackColor = true; gridView1.Appearance.Row.Options.UseForeColor = true; gridView1.Appearance.RowSeparator.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.RowSeparator.BackColor"); gridView1.Appearance.RowSeparator.Options.UseBackColor = true; gridView1.Appearance.SelectedRow.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.SelectedRow.BackColor"); gridView1.Appearance.SelectedRow.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.SelectedRow.ForeColor"); gridView1.Appearance.SelectedRow.Options.UseBackColor = true; gridView1.Appearance.SelectedRow.Options.UseForeColor = true; gridView1.Appearance.VertLine.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.VertLine.BackColor"); gridView1.Appearance.VertLine.Options.UseBackColor = true; gridView1.Columns.AddRange(new GridColumn[6] { colDate, colObject, colDevice, colTraffic, colResult, colTime }); gridView1.GridControl = gridControl1; gridView1.Name = "gridView1"; gridView1.OptionsFind.ClearFindOnClose = false; gridView1.OptionsFind.FindDelay = 10000; gridView1.OptionsFind.FindMode = FindMode.Always; gridView1.OptionsFind.ShowCloseButton = false; gridView1.OptionsSelection.MultiSelect = true; gridView1.OptionsView.EnableAppearanceEvenRow = true; gridView1.OptionsView.EnableAppearanceOddRow = true; gridView1.OptionsView.ShowFooter = true; gridView1.OptionsView.ShowGroupPanel = false; componentResourceManager.ApplyResources(colDate, "colDate"); colDate.FieldName = "Date"; colDate.Name = "colDate"; colDate.OptionsColumn.AllowEdit = false; colDate.OptionsColumn.ReadOnly = true; componentResourceManager.ApplyResources(colObject, "colObject"); colObject.FieldName = "Object"; colObject.Name = "colObject"; colObject.OptionsColumn.AllowEdit = false; colObject.OptionsColumn.ReadOnly = true; componentResourceManager.ApplyResources(colDevice, "colDevice"); colDevice.FieldName = "Position"; colDevice.Name = "colDevice"; colDevice.OptionsColumn.AllowEdit = false; colDevice.OptionsColumn.ReadOnly = true; componentResourceManager.ApplyResources(colTraffic, "colTraffic"); colTraffic.FieldName = "Traffic"; colTraffic.Name = "colTraffic"; colTraffic.OptionsColumn.AllowEdit = false; colTraffic.Summary.AddRange(new GridSummaryItem[1] { new GridColumnSummaryItem((SummaryItemType)componentResourceManager.GetObject("colTraffic.Summary")) }); componentResourceManager.ApplyResources(colResult, "colResult"); colResult.FieldName = "Result"; colResult.Name = "colResult"; colResult.OptionsColumn.AllowEdit = false; colResult.Summary.AddRange(new GridSummaryItem[1] { new GridColumnSummaryItem((SummaryItemType)componentResourceManager.GetObject("colResult.Summary")) }); componentResourceManager.ApplyResources(colTime, "colTime"); colTime.DisplayFormat.FormatString = "HH:mm"; colTime.DisplayFormat.FormatType = FormatType.DateTime; colTime.FieldName = "Time"; colTime.Name = "colTime"; labelControl1.Appearance.Font = (Font)componentResourceManager.GetObject("labelControl1.Appearance.Font"); componentResourceManager.ApplyResources(labelControl1, "labelControl1"); labelControl1.Name = "labelControl1"; Appearance.Options.UseFont = true; AutoScaleMode = AutoScaleMode.None; componentResourceManager.ApplyResources(this, "$this"); ControlBox = false; Controls.Add(labelControl1); Controls.Add(gridControl1); Controls.Add(lvObjects); Controls.Add(groupBox3); Controls.Add(groupBox1); Controls.Add(btSearch); Controls.Add(btPrint); Controls.Add(label6); FormBorderStyle = FormBorderStyle.None; MaximizeBox = false; MinimizeBox = false; Name = "FrmStatistic"; WindowState = FormWindowState.Maximized; Load += frmStatistic_Load; Resize += frmStatistic_Resize; groupBox3.ResumeLayout(false); groupBox3.PerformLayout(); checkEditbefore.Properties.EndInit(); checkEditfrom.Properties.EndInit(); dtpBefore.Properties.CalendarTimeProperties.EndInit(); dtpBefore.Properties.EndInit(); dtpFrom.Properties.CalendarTimeProperties.EndInit(); dtpFrom.Properties.EndInit(); radioGroup1.Properties.EndInit(); groupBox1.EndInit(); groupBox1.ResumeLayout(false); lvObjects.EndInit(); gridControl1.EndInit(); gridView1.EndInit(); ResumeLayout(false); PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(FrmObjects)); gridControl1 = new GridControl(); gridView1 = new GridView(); colID = new GridColumn(); colName = new GridColumn(); colPosition = new GridColumn(); colComment = new GridColumn(); btDelete = new SimpleButton(); btAdd = new SimpleButton(); tvObjects = new TreeList(); treeListColumn1 = new TreeListColumn(); repositoryItemCheckEdit1 = new RepositoryItemCheckEdit(); btCancel = new SimpleButton(); btCopy = new SimpleButton(); btSave = new SimpleButton(); label2 = new LabelControl(); btDeleteItem = new SimpleButton(); tbName2 = new TextEdit(); label1 = new LabelControl(); btAddItem = new SimpleButton(); groupControl1 = new GroupControl(); tbComment2 = new MemoEdit(); gridControl1.BeginInit(); gridView1.BeginInit(); tvObjects.BeginInit(); repositoryItemCheckEdit1.BeginInit(); tbName2.Properties.BeginInit(); groupControl1.BeginInit(); groupControl1.SuspendLayout(); tbComment2.Properties.BeginInit(); SuspendLayout(); componentResourceManager.ApplyResources(gridControl1, "gridControl1"); gridControl1.EmbeddedNavigator.AccessibleDescription = componentResourceManager.GetString("gridControl1.EmbeddedNavigator.AccessibleDescription"); gridControl1.EmbeddedNavigator.AccessibleName = componentResourceManager.GetString("gridControl1.EmbeddedNavigator.AccessibleName"); gridControl1.EmbeddedNavigator.AllowHtmlTextInToolTip = (DefaultBoolean)componentResourceManager.GetObject("gridControl1.EmbeddedNavigator.AllowHtmlTextInToolTip"); gridControl1.EmbeddedNavigator.Anchor = (AnchorStyles)componentResourceManager.GetObject("gridControl1.EmbeddedNavigator.Anchor"); gridControl1.EmbeddedNavigator.BackgroundImage = (Image)componentResourceManager.GetObject("gridControl1.EmbeddedNavigator.BackgroundImage"); gridControl1.EmbeddedNavigator.BackgroundImageLayout = (ImageLayout)componentResourceManager.GetObject("gridControl1.EmbeddedNavigator.BackgroundImageLayout"); gridControl1.EmbeddedNavigator.ImeMode = (ImeMode)componentResourceManager.GetObject("gridControl1.EmbeddedNavigator.ImeMode"); gridControl1.EmbeddedNavigator.MaximumSize = (Size)componentResourceManager.GetObject("gridControl1.EmbeddedNavigator.MaximumSize"); gridControl1.EmbeddedNavigator.TextLocation = (NavigatorButtonsTextLocation)componentResourceManager.GetObject("gridControl1.EmbeddedNavigator.TextLocation"); gridControl1.EmbeddedNavigator.ToolTip = componentResourceManager.GetString("gridControl1.EmbeddedNavigator.ToolTip"); gridControl1.EmbeddedNavigator.ToolTipIconType = (ToolTipIconType)componentResourceManager.GetObject("gridControl1.EmbeddedNavigator.ToolTipIconType"); gridControl1.EmbeddedNavigator.ToolTipTitle = componentResourceManager.GetString("gridControl1.EmbeddedNavigator.ToolTipTitle"); gridControl1.LookAndFeel.SkinName = "Office 2007 Blue"; gridControl1.MainView = gridView1; gridControl1.Name = "gridControl1"; gridControl1.ViewCollection.AddRange(new BaseView[1] { gridView1 }); gridControl1.MouseDoubleClick += gridControl1_MouseDoubleClick; componentResourceManager.ApplyResources(gridView1, "gridView1"); gridView1.Columns.AddRange(new GridColumn[4] { colID, colName, colPosition, colComment }); gridView1.GridControl = gridControl1; gridView1.Name = "gridView1"; gridView1.OptionsBehavior.Editable = false; gridView1.OptionsCustomization.AllowFilter = false; gridView1.OptionsFind.ClearFindOnClose = false; gridView1.OptionsFind.FindDelay = 10000; gridView1.OptionsFind.FindMode = FindMode.Always; gridView1.OptionsFind.ShowCloseButton = false; gridView1.OptionsSelection.MultiSelect = true; gridView1.OptionsView.ShowGroupPanel = false; gridView1.SelectionChanged += gridView1_SelectionChanged; colID.AppearanceCell.Font = (Font)componentResourceManager.GetObject("colID.AppearanceCell.Font"); colID.AppearanceCell.FontSizeDelta = (int)componentResourceManager.GetObject("colID.AppearanceCell.FontSizeDelta"); colID.AppearanceCell.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("colID.AppearanceCell.FontStyleDelta"); colID.AppearanceCell.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("colID.AppearanceCell.GradientMode"); colID.AppearanceCell.Image = (Image)componentResourceManager.GetObject("colID.AppearanceCell.Image"); colID.AppearanceCell.Options.UseFont = true; colID.AppearanceHeader.Font = (Font)componentResourceManager.GetObject("colID.AppearanceHeader.Font"); colID.AppearanceHeader.FontSizeDelta = (int)componentResourceManager.GetObject("colID.AppearanceHeader.FontSizeDelta"); colID.AppearanceHeader.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("colID.AppearanceHeader.FontStyleDelta"); colID.AppearanceHeader.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("colID.AppearanceHeader.GradientMode"); colID.AppearanceHeader.Image = (Image)componentResourceManager.GetObject("colID.AppearanceHeader.Image"); colID.AppearanceHeader.Options.UseFont = true; componentResourceManager.ApplyResources(colID, "colID"); colID.FieldName = "ID"; colID.Name = "colID"; colID.OptionsColumn.ReadOnly = true; colName.AppearanceCell.Font = (Font)componentResourceManager.GetObject("colName.AppearanceCell.Font"); colName.AppearanceCell.FontSizeDelta = (int)componentResourceManager.GetObject("colName.AppearanceCell.FontSizeDelta"); colName.AppearanceCell.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("colName.AppearanceCell.FontStyleDelta"); colName.AppearanceCell.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("colName.AppearanceCell.GradientMode"); colName.AppearanceCell.Image = (Image)componentResourceManager.GetObject("colName.AppearanceCell.Image"); colName.AppearanceCell.Options.UseFont = true; colName.AppearanceHeader.Font = (Font)componentResourceManager.GetObject("colName.AppearanceHeader.Font"); colName.AppearanceHeader.FontSizeDelta = (int)componentResourceManager.GetObject("colName.AppearanceHeader.FontSizeDelta"); colName.AppearanceHeader.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("colName.AppearanceHeader.FontStyleDelta"); colName.AppearanceHeader.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("colName.AppearanceHeader.GradientMode"); colName.AppearanceHeader.Image = (Image)componentResourceManager.GetObject("colName.AppearanceHeader.Image"); colName.AppearanceHeader.Options.UseFont = true; componentResourceManager.ApplyResources(colName, "colName"); colName.FieldName = "Name"; colName.Name = "colName"; colName.OptionsColumn.AllowEdit = false; colName.OptionsColumn.ReadOnly = true; colPosition.AppearanceCell.Font = (Font)componentResourceManager.GetObject("colPosition.AppearanceCell.Font"); colPosition.AppearanceCell.FontSizeDelta = (int)componentResourceManager.GetObject("colPosition.AppearanceCell.FontSizeDelta"); colPosition.AppearanceCell.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("colPosition.AppearanceCell.FontStyleDelta"); colPosition.AppearanceCell.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("colPosition.AppearanceCell.GradientMode"); colPosition.AppearanceCell.Image = (Image)componentResourceManager.GetObject("colPosition.AppearanceCell.Image"); colPosition.AppearanceCell.Options.UseFont = true; colPosition.AppearanceHeader.Font = (Font)componentResourceManager.GetObject("colPosition.AppearanceHeader.Font"); colPosition.AppearanceHeader.FontSizeDelta = (int)componentResourceManager.GetObject("colPosition.AppearanceHeader.FontSizeDelta"); colPosition.AppearanceHeader.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("colPosition.AppearanceHeader.FontStyleDelta"); colPosition.AppearanceHeader.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("colPosition.AppearanceHeader.GradientMode"); colPosition.AppearanceHeader.Image = (Image)componentResourceManager.GetObject("colPosition.AppearanceHeader.Image"); colPosition.AppearanceHeader.Options.UseFont = true; componentResourceManager.ApplyResources(colPosition, "colPosition"); colPosition.FieldName = "Comment"; colPosition.Name = "colPosition"; colPosition.OptionsColumn.AllowEdit = false; colComment.AppearanceCell.Font = (Font)componentResourceManager.GetObject("colComment.AppearanceCell.Font"); colComment.AppearanceCell.FontSizeDelta = (int)componentResourceManager.GetObject("colComment.AppearanceCell.FontSizeDelta"); colComment.AppearanceCell.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("colComment.AppearanceCell.FontStyleDelta"); colComment.AppearanceCell.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("colComment.AppearanceCell.GradientMode"); colComment.AppearanceCell.Image = (Image)componentResourceManager.GetObject("colComment.AppearanceCell.Image"); colComment.AppearanceCell.Options.UseFont = true; colComment.AppearanceHeader.Font = (Font)componentResourceManager.GetObject("colComment.AppearanceHeader.Font"); colComment.AppearanceHeader.FontSizeDelta = (int)componentResourceManager.GetObject("colComment.AppearanceHeader.FontSizeDelta"); colComment.AppearanceHeader.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("colComment.AppearanceHeader.FontStyleDelta"); colComment.AppearanceHeader.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("colComment.AppearanceHeader.GradientMode"); colComment.AppearanceHeader.Image = (Image)componentResourceManager.GetObject("colComment.AppearanceHeader.Image"); colComment.AppearanceHeader.Options.UseFont = true; componentResourceManager.ApplyResources(colComment, "colComment"); colComment.FieldName = "Data"; colComment.Name = "colComment"; colComment.OptionsColumn.AllowEdit = false; componentResourceManager.ApplyResources(btDelete, "btDelete"); btDelete.Appearance.Font = (Font)componentResourceManager.GetObject("btDelete.Appearance.Font"); btDelete.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("btDelete.Appearance.FontSizeDelta"); btDelete.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("btDelete.Appearance.FontStyleDelta"); btDelete.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("btDelete.Appearance.GradientMode"); btDelete.Appearance.Image = (Image)componentResourceManager.GetObject("btDelete.Appearance.Image"); btDelete.Appearance.Options.UseFont = true; btDelete.Image = Resources.document_delete_4_; btDelete.Name = "btDelete"; btDelete.Click += btDelete_Click; componentResourceManager.ApplyResources(btAdd, "btAdd"); btAdd.Appearance.Font = (Font)componentResourceManager.GetObject("btAdd.Appearance.Font"); btAdd.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("btAdd.Appearance.FontSizeDelta"); btAdd.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("btAdd.Appearance.FontStyleDelta"); btAdd.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("btAdd.Appearance.GradientMode"); btAdd.Appearance.Image = (Image)componentResourceManager.GetObject("btAdd.Appearance.Image"); btAdd.Appearance.Options.UseFont = true; btAdd.Image = Resources.document_new_4_; btAdd.Name = "btAdd"; btAdd.Click += btAdd_Click; componentResourceManager.ApplyResources(tvObjects, "tvObjects"); tvObjects.Columns.AddRange(new TreeListColumn[1] { treeListColumn1 }); tvObjects.IndicatorWidth = 10; tvObjects.Name = "tvObjects"; tvObjects.OptionsBehavior.Editable = false; tvObjects.OptionsSelection.InvertSelection = true; tvObjects.OptionsSelection.MultiSelect = true; tvObjects.OptionsSelection.UseIndicatorForSelection = true; tvObjects.RepositoryItems.AddRange(new RepositoryItem[1] { repositoryItemCheckEdit1 }); tvObjects.SelectionChanged += tvObjects_SelectionChanged; componentResourceManager.ApplyResources(treeListColumn1, "treeListColumn1"); treeListColumn1.AppearanceCell.Font = (Font)componentResourceManager.GetObject("treeListColumn1.AppearanceCell.Font"); treeListColumn1.AppearanceCell.FontSizeDelta = (int)componentResourceManager.GetObject("treeListColumn1.AppearanceCell.FontSizeDelta"); treeListColumn1.AppearanceCell.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("treeListColumn1.AppearanceCell.FontStyleDelta"); treeListColumn1.AppearanceCell.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("treeListColumn1.AppearanceCell.GradientMode"); treeListColumn1.AppearanceCell.Image = (Image)componentResourceManager.GetObject("treeListColumn1.AppearanceCell.Image"); treeListColumn1.AppearanceCell.Options.UseFont = true; treeListColumn1.AppearanceHeader.Font = (Font)componentResourceManager.GetObject("treeListColumn1.AppearanceHeader.Font"); treeListColumn1.AppearanceHeader.FontSizeDelta = (int)componentResourceManager.GetObject("treeListColumn1.AppearanceHeader.FontSizeDelta"); treeListColumn1.AppearanceHeader.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("treeListColumn1.AppearanceHeader.FontStyleDelta"); treeListColumn1.AppearanceHeader.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("treeListColumn1.AppearanceHeader.GradientMode"); treeListColumn1.AppearanceHeader.Image = (Image)componentResourceManager.GetObject("treeListColumn1.AppearanceHeader.Image"); treeListColumn1.AppearanceHeader.Options.UseFont = true; treeListColumn1.Name = "treeListColumn1"; treeListColumn1.OptionsColumn.AllowSort = false; componentResourceManager.ApplyResources(repositoryItemCheckEdit1, "repositoryItemCheckEdit1"); repositoryItemCheckEdit1.Name = "repositoryItemCheckEdit1"; componentResourceManager.ApplyResources(btCancel, "btCancel"); btCancel.Appearance.Font = (Font)componentResourceManager.GetObject("btCancel.Appearance.Font"); btCancel.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("btCancel.Appearance.FontSizeDelta"); btCancel.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("btCancel.Appearance.FontStyleDelta"); btCancel.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("btCancel.Appearance.GradientMode"); btCancel.Appearance.Image = (Image)componentResourceManager.GetObject("btCancel.Appearance.Image"); btCancel.Appearance.Options.UseFont = true; btCancel.Image = Resources.dialog_cancel; btCancel.Name = "btCancel"; btCancel.Click += btCancel_Click; componentResourceManager.ApplyResources(btCopy, "btCopy"); btCopy.Appearance.Font = (Font)componentResourceManager.GetObject("btCopy.Appearance.Font"); btCopy.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("btCopy.Appearance.FontSizeDelta"); btCopy.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("btCopy.Appearance.FontStyleDelta"); btCopy.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("btCopy.Appearance.GradientMode"); btCopy.Appearance.Image = (Image)componentResourceManager.GetObject("btCopy.Appearance.Image"); btCopy.Appearance.Options.UseFont = true; btCopy.Image = Resources.edit_copy_2_; btCopy.Name = "btCopy"; btCopy.Click += btCopy_Click; componentResourceManager.ApplyResources(btSave, "btSave"); btSave.Appearance.Font = (Font)componentResourceManager.GetObject("btSave.Appearance.Font"); btSave.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("btSave.Appearance.FontSizeDelta"); btSave.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("btSave.Appearance.FontStyleDelta"); btSave.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("btSave.Appearance.GradientMode"); btSave.Appearance.Image = (Image)componentResourceManager.GetObject("btSave.Appearance.Image"); btSave.Appearance.Options.UseFont = true; btSave.Image = Resources.document_save_4_; btSave.Name = "btSave"; btSave.Click += btSave_Click; componentResourceManager.ApplyResources(label2, "label2"); label2.Appearance.DisabledImage = (Image)componentResourceManager.GetObject("label2.Appearance.DisabledImage"); label2.Appearance.Font = (Font)componentResourceManager.GetObject("label2.Appearance.Font"); label2.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("label2.Appearance.FontSizeDelta"); label2.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("label2.Appearance.FontStyleDelta"); label2.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("label2.Appearance.GradientMode"); label2.Appearance.HoverImage = (Image)componentResourceManager.GetObject("label2.Appearance.HoverImage"); label2.Appearance.Image = (Image)componentResourceManager.GetObject("label2.Appearance.Image"); label2.Appearance.PressedImage = (Image)componentResourceManager.GetObject("label2.Appearance.PressedImage"); label2.Name = "label2"; componentResourceManager.ApplyResources(btDeleteItem, "btDeleteItem"); btDeleteItem.Appearance.Font = (Font)componentResourceManager.GetObject("btDeleteItem.Appearance.Font"); btDeleteItem.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("btDeleteItem.Appearance.FontSizeDelta"); btDeleteItem.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("btDeleteItem.Appearance.FontStyleDelta"); btDeleteItem.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("btDeleteItem.Appearance.GradientMode"); btDeleteItem.Appearance.Image = (Image)componentResourceManager.GetObject("btDeleteItem.Appearance.Image"); btDeleteItem.Appearance.Options.UseFont = true; btDeleteItem.Image = Resources.delete_3_; btDeleteItem.Name = "btDeleteItem"; btDeleteItem.Click += btDeleteItem_Click; componentResourceManager.ApplyResources(tbName2, "tbName2"); tbName2.Name = "tbName2"; tbName2.Properties.AccessibleDescription = componentResourceManager.GetString("tbName2.Properties.AccessibleDescription"); tbName2.Properties.AccessibleName = componentResourceManager.GetString("tbName2.Properties.AccessibleName"); tbName2.Properties.Appearance.Font = (Font)componentResourceManager.GetObject("tbName2.Properties.Appearance.Font"); tbName2.Properties.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("tbName2.Properties.Appearance.FontSizeDelta"); tbName2.Properties.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("tbName2.Properties.Appearance.FontStyleDelta"); tbName2.Properties.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("tbName2.Properties.Appearance.GradientMode"); tbName2.Properties.Appearance.Image = (Image)componentResourceManager.GetObject("tbName2.Properties.Appearance.Image"); tbName2.Properties.Appearance.Options.UseFont = true; tbName2.Properties.AutoHeight = (bool)componentResourceManager.GetObject("tbName2.Properties.AutoHeight"); tbName2.Properties.Mask.AutoComplete = (AutoCompleteType)componentResourceManager.GetObject("tbName2.Properties.Mask.AutoComplete"); tbName2.Properties.Mask.BeepOnError = (bool)componentResourceManager.GetObject("tbName2.Properties.Mask.BeepOnError"); tbName2.Properties.Mask.EditMask = componentResourceManager.GetString("tbName2.Properties.Mask.EditMask"); tbName2.Properties.Mask.IgnoreMaskBlank = (bool)componentResourceManager.GetObject("tbName2.Properties.Mask.IgnoreMaskBlank"); tbName2.Properties.Mask.MaskType = (MaskType)componentResourceManager.GetObject("tbName2.Properties.Mask.MaskType"); tbName2.Properties.Mask.PlaceHolder = (char)componentResourceManager.GetObject("tbName2.Properties.Mask.PlaceHolder"); tbName2.Properties.Mask.SaveLiteral = (bool)componentResourceManager.GetObject("tbName2.Properties.Mask.SaveLiteral"); tbName2.Properties.Mask.ShowPlaceHolders = (bool)componentResourceManager.GetObject("tbName2.Properties.Mask.ShowPlaceHolders"); tbName2.Properties.Mask.UseMaskAsDisplayFormat = (bool)componentResourceManager.GetObject("tbName2.Properties.Mask.UseMaskAsDisplayFormat"); tbName2.Properties.NullValuePrompt = componentResourceManager.GetString("tbName2.Properties.NullValuePrompt"); tbName2.Properties.NullValuePromptShowForEmptyValue = (bool)componentResourceManager.GetObject("tbName2.Properties.NullValuePromptShowForEmptyValue"); tbName2.TextChanged += tbComment2_TextChanged; componentResourceManager.ApplyResources(label1, "label1"); label1.Appearance.DisabledImage = (Image)componentResourceManager.GetObject("label1.Appearance.DisabledImage"); label1.Appearance.Font = (Font)componentResourceManager.GetObject("label1.Appearance.Font"); label1.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("label1.Appearance.FontSizeDelta"); label1.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("label1.Appearance.FontStyleDelta"); label1.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("label1.Appearance.GradientMode"); label1.Appearance.HoverImage = (Image)componentResourceManager.GetObject("label1.Appearance.HoverImage"); label1.Appearance.Image = (Image)componentResourceManager.GetObject("label1.Appearance.Image"); label1.Appearance.PressedImage = (Image)componentResourceManager.GetObject("label1.Appearance.PressedImage"); label1.Name = "label1"; componentResourceManager.ApplyResources(btAddItem, "btAddItem"); btAddItem.Appearance.Font = (Font)componentResourceManager.GetObject("btAddItem.Appearance.Font"); btAddItem.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("btAddItem.Appearance.FontSizeDelta"); btAddItem.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("btAddItem.Appearance.FontStyleDelta"); btAddItem.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("btAddItem.Appearance.GradientMode"); btAddItem.Appearance.Image = (Image)componentResourceManager.GetObject("btAddItem.Appearance.Image"); btAddItem.Appearance.Options.UseFont = true; btAddItem.Image = Resources.edit_add; btAddItem.Name = "btAddItem"; btAddItem.Click += btAddItem_Click; componentResourceManager.ApplyResources(groupControl1, "groupControl1"); groupControl1.Appearance.Font = (Font)componentResourceManager.GetObject("groupControl1.Appearance.Font"); groupControl1.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("groupControl1.Appearance.FontSizeDelta"); groupControl1.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("groupControl1.Appearance.FontStyleDelta"); groupControl1.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("groupControl1.Appearance.GradientMode"); groupControl1.Appearance.Image = (Image)componentResourceManager.GetObject("groupControl1.Appearance.Image"); groupControl1.Appearance.Options.UseFont = true; groupControl1.Controls.Add(tbComment2); groupControl1.Controls.Add(tvObjects); groupControl1.Controls.Add(btCopy); groupControl1.Controls.Add(tbName2); groupControl1.Controls.Add(label1); groupControl1.Controls.Add(btDeleteItem); groupControl1.Controls.Add(label2); groupControl1.Controls.Add(btAddItem); groupControl1.Name = "groupControl1"; groupControl1.ShowCaption = false; componentResourceManager.ApplyResources(tbComment2, "tbComment2"); tbComment2.Name = "tbComment2"; tbComment2.Properties.AccessibleDescription = componentResourceManager.GetString("tbComment2.Properties.AccessibleDescription"); tbComment2.Properties.AccessibleName = componentResourceManager.GetString("tbComment2.Properties.AccessibleName"); tbComment2.Properties.NullValuePrompt = componentResourceManager.GetString("tbComment2.Properties.NullValuePrompt"); tbComment2.Properties.NullValuePromptShowForEmptyValue = (bool)componentResourceManager.GetObject("tbComment2.Properties.NullValuePromptShowForEmptyValue"); componentResourceManager.ApplyResources(this, "$this"); Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("frmObjects.Appearance.FontSizeDelta"); Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("frmObjects.Appearance.FontStyleDelta"); Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("frmObjects.Appearance.GradientMode"); Appearance.Image = (Image)componentResourceManager.GetObject("frmObjects.Appearance.Image"); Appearance.Options.UseFont = true; AutoScaleMode = AutoScaleMode.Font; ControlBox = false; Controls.Add(groupControl1); Controls.Add(btCancel); Controls.Add(btDelete); Controls.Add(btSave); Controls.Add(btAdd); Controls.Add(gridControl1); FormBorderStyle = FormBorderStyle.None; MaximizeBox = false; MinimizeBox = false; Name = "FrmObjects"; ShowIcon = false; WindowState = FormWindowState.Maximized; Load += frmObjects_Load; Resize += frmObjects_Resize; gridControl1.EndInit(); gridView1.EndInit(); tvObjects.EndInit(); repositoryItemCheckEdit1.EndInit(); tbName2.Properties.EndInit(); groupControl1.EndInit(); groupControl1.ResumeLayout(false); groupControl1.PerformLayout(); tbComment2.Properties.EndInit(); ResumeLayout(false); }
private void InitializeComponent() { ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(FrmCommonSettings)); progressBar1 = new ProgressBarControl(); btCancel = new SimpleButton(); btSave = new SimpleButton(); groupControl1 = new GroupControl(); lbCount = new LabelControl(); btAdd = new SimpleButton(); btDelete = new SimpleButton(); gridControl1 = new GridControl(); gridView1 = new GridView(); colID = new GridColumn(); colLeft = new GridColumn(); colRight = new GridColumn(); colDown = new GridColumn(); colUp = new GridColumn(); colChangeFlag = new GridColumn(); progressBar1.Properties.BeginInit(); groupControl1.BeginInit(); groupControl1.SuspendLayout(); gridControl1.BeginInit(); gridView1.BeginInit(); SuspendLayout(); componentResourceManager.ApplyResources(progressBar1, "progressBar1"); progressBar1.Name = "progressBar1"; progressBar1.Properties.AccessibleDescription = componentResourceManager.GetString("progressBar1.Properties.AccessibleDescription"); progressBar1.Properties.AccessibleName = componentResourceManager.GetString("progressBar1.Properties.AccessibleName"); progressBar1.Properties.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("progressBar1.Properties.Appearance.GradientMode"); progressBar1.Properties.Appearance.Image = (Image)componentResourceManager.GetObject("progressBar1.Properties.Appearance.Image"); progressBar1.Properties.AppearanceDisabled.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("progressBar1.Properties.AppearanceDisabled.GradientMode"); progressBar1.Properties.AppearanceDisabled.Image = (Image)componentResourceManager.GetObject("progressBar1.Properties.AppearanceDisabled.Image"); progressBar1.Properties.AppearanceFocused.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("progressBar1.Properties.AppearanceFocused.GradientMode"); progressBar1.Properties.AppearanceFocused.Image = (Image)componentResourceManager.GetObject("progressBar1.Properties.AppearanceFocused.Image"); progressBar1.Properties.AppearanceReadOnly.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("progressBar1.Properties.AppearanceReadOnly.GradientMode"); progressBar1.Properties.AppearanceReadOnly.Image = (Image)componentResourceManager.GetObject("progressBar1.Properties.AppearanceReadOnly.Image"); progressBar1.Properties.AutoHeight = (bool)componentResourceManager.GetObject("progressBar1.Properties.AutoHeight"); progressBar1.Properties.ShowTitle = true; progressBar1.Properties.Step = 1; componentResourceManager.ApplyResources(btCancel, "btCancel"); btCancel.Appearance.Font = (Font)componentResourceManager.GetObject("btCancel.Appearance.Font"); btCancel.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("btCancel.Appearance.GradientMode"); btCancel.Appearance.Image = (Image)componentResourceManager.GetObject("btCancel.Appearance.Image"); btCancel.Appearance.Options.UseFont = true; btCancel.Name = "btCancel"; btCancel.Click += btCancel_Click; componentResourceManager.ApplyResources(btSave, "btSave"); btSave.Appearance.Font = (Font)componentResourceManager.GetObject("btSave.Appearance.Font"); btSave.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("btSave.Appearance.GradientMode"); btSave.Appearance.Image = (Image)componentResourceManager.GetObject("btSave.Appearance.Image"); btSave.Appearance.Options.UseFont = true; btSave.Name = "btSave"; btSave.Click += btSave_Click; componentResourceManager.ApplyResources(groupControl1, "groupControl1"); groupControl1.Controls.Add(lbCount); groupControl1.Controls.Add(btAdd); groupControl1.Controls.Add(btDelete); groupControl1.Controls.Add(gridControl1); groupControl1.Name = "groupControl1"; groupControl1.ShowCaption = false; componentResourceManager.ApplyResources(lbCount, "lbCount"); lbCount.Appearance.DisabledImage = (Image)componentResourceManager.GetObject("lbCount.Appearance.DisabledImage"); lbCount.Appearance.Font = (Font)componentResourceManager.GetObject("lbCount.Appearance.Font"); lbCount.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("lbCount.Appearance.GradientMode"); lbCount.Appearance.HoverImage = (Image)componentResourceManager.GetObject("lbCount.Appearance.HoverImage"); lbCount.Appearance.Image = (Image)componentResourceManager.GetObject("lbCount.Appearance.Image"); lbCount.Appearance.PressedImage = (Image)componentResourceManager.GetObject("lbCount.Appearance.PressedImage"); lbCount.Name = "lbCount"; componentResourceManager.ApplyResources(btAdd, "btAdd"); btAdd.Appearance.Font = (Font)componentResourceManager.GetObject("btAdd.Appearance.Font"); btAdd.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("btAdd.Appearance.GradientMode"); btAdd.Appearance.Image = (Image)componentResourceManager.GetObject("btAdd.Appearance.Image"); btAdd.Appearance.Options.UseFont = true; btAdd.Name = "btAdd"; btAdd.Click += btAdd_Click; componentResourceManager.ApplyResources(btDelete, "btDelete"); btDelete.Appearance.Font = (Font)componentResourceManager.GetObject("btDelete.Appearance.Font"); btDelete.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("btDelete.Appearance.GradientMode"); btDelete.Appearance.Image = (Image)componentResourceManager.GetObject("btDelete.Appearance.Image"); btDelete.Appearance.Options.UseFont = true; btDelete.Name = "btDelete"; btDelete.Click += btDelete_Click; componentResourceManager.ApplyResources(gridControl1, "gridControl1"); gridControl1.EmbeddedNavigator.AccessibleDescription = componentResourceManager.GetString("gridControl1.EmbeddedNavigator.AccessibleDescription"); gridControl1.EmbeddedNavigator.AccessibleName = componentResourceManager.GetString("gridControl1.EmbeddedNavigator.AccessibleName"); gridControl1.EmbeddedNavigator.AllowHtmlTextInToolTip = (DefaultBoolean)componentResourceManager.GetObject("gridControl1.EmbeddedNavigator.AllowHtmlTextInToolTip"); gridControl1.EmbeddedNavigator.Anchor = (AnchorStyles)componentResourceManager.GetObject("gridControl1.EmbeddedNavigator.Anchor"); gridControl1.EmbeddedNavigator.BackgroundImage = (Image)componentResourceManager.GetObject("gridControl1.EmbeddedNavigator.BackgroundImage"); gridControl1.EmbeddedNavigator.BackgroundImageLayout = (ImageLayout)componentResourceManager.GetObject("gridControl1.EmbeddedNavigator.BackgroundImageLayout"); gridControl1.EmbeddedNavigator.ImeMode = (ImeMode)componentResourceManager.GetObject("gridControl1.EmbeddedNavigator.ImeMode"); gridControl1.EmbeddedNavigator.MaximumSize = (Size)componentResourceManager.GetObject("gridControl1.EmbeddedNavigator.MaximumSize"); gridControl1.EmbeddedNavigator.TextLocation = (NavigatorButtonsTextLocation)componentResourceManager.GetObject("gridControl1.EmbeddedNavigator.TextLocation"); gridControl1.EmbeddedNavigator.ToolTip = componentResourceManager.GetString("gridControl1.EmbeddedNavigator.ToolTip"); gridControl1.EmbeddedNavigator.ToolTipIconType = (ToolTipIconType)componentResourceManager.GetObject("gridControl1.EmbeddedNavigator.ToolTipIconType"); gridControl1.EmbeddedNavigator.ToolTipTitle = componentResourceManager.GetString("gridControl1.EmbeddedNavigator.ToolTipTitle"); gridControl1.MainView = gridView1; gridControl1.Name = "gridControl1"; gridControl1.ViewCollection.AddRange(new BaseView[1] { gridView1 }); gridView1.Appearance.ColumnFilterButton.Font = (Font)componentResourceManager.GetObject("gridView1.Appearance.ColumnFilterButton.Font"); gridView1.Appearance.ColumnFilterButton.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.ColumnFilterButton.GradientMode"); gridView1.Appearance.ColumnFilterButton.Image = (Image)componentResourceManager.GetObject("gridView1.Appearance.ColumnFilterButton.Image"); gridView1.Appearance.ColumnFilterButton.Options.UseFont = true; gridView1.Appearance.ColumnFilterButtonActive.Font = (Font)componentResourceManager.GetObject("gridView1.Appearance.ColumnFilterButtonActive.Font"); gridView1.Appearance.ColumnFilterButtonActive.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.ColumnFilterButtonActive.GradientMode"); gridView1.Appearance.ColumnFilterButtonActive.Image = (Image)componentResourceManager.GetObject("gridView1.Appearance.ColumnFilterButtonActive.Image"); gridView1.Appearance.ColumnFilterButtonActive.Options.UseFont = true; gridView1.Appearance.CustomizationFormHint.Font = (Font)componentResourceManager.GetObject("gridView1.Appearance.CustomizationFormHint.Font"); gridView1.Appearance.CustomizationFormHint.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.CustomizationFormHint.GradientMode"); gridView1.Appearance.CustomizationFormHint.Image = (Image)componentResourceManager.GetObject("gridView1.Appearance.CustomizationFormHint.Image"); gridView1.Appearance.CustomizationFormHint.Options.UseFont = true; gridView1.Appearance.DetailTip.Font = (Font)componentResourceManager.GetObject("gridView1.Appearance.DetailTip.Font"); gridView1.Appearance.DetailTip.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.DetailTip.GradientMode"); gridView1.Appearance.DetailTip.Image = (Image)componentResourceManager.GetObject("gridView1.Appearance.DetailTip.Image"); gridView1.Appearance.DetailTip.Options.UseFont = true; gridView1.Appearance.Empty.Font = (Font)componentResourceManager.GetObject("gridView1.Appearance.Empty.Font"); gridView1.Appearance.Empty.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.Empty.GradientMode"); gridView1.Appearance.Empty.Image = (Image)componentResourceManager.GetObject("gridView1.Appearance.Empty.Image"); gridView1.Appearance.Empty.Options.UseFont = true; gridView1.Appearance.EvenRow.Font = (Font)componentResourceManager.GetObject("gridView1.Appearance.EvenRow.Font"); gridView1.Appearance.EvenRow.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.EvenRow.GradientMode"); gridView1.Appearance.EvenRow.Image = (Image)componentResourceManager.GetObject("gridView1.Appearance.EvenRow.Image"); gridView1.Appearance.EvenRow.Options.UseFont = true; gridView1.Appearance.FilterCloseButton.Font = (Font)componentResourceManager.GetObject("gridView1.Appearance.FilterCloseButton.Font"); gridView1.Appearance.FilterCloseButton.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.FilterCloseButton.GradientMode"); gridView1.Appearance.FilterCloseButton.Image = (Image)componentResourceManager.GetObject("gridView1.Appearance.FilterCloseButton.Image"); gridView1.Appearance.FilterCloseButton.Options.UseFont = true; gridView1.Appearance.FilterPanel.Font = (Font)componentResourceManager.GetObject("gridView1.Appearance.FilterPanel.Font"); gridView1.Appearance.FilterPanel.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.FilterPanel.GradientMode"); gridView1.Appearance.FilterPanel.Image = (Image)componentResourceManager.GetObject("gridView1.Appearance.FilterPanel.Image"); gridView1.Appearance.FilterPanel.Options.UseFont = true; gridView1.Appearance.FixedLine.Font = (Font)componentResourceManager.GetObject("gridView1.Appearance.FixedLine.Font"); gridView1.Appearance.FixedLine.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.FixedLine.GradientMode"); gridView1.Appearance.FixedLine.Image = (Image)componentResourceManager.GetObject("gridView1.Appearance.FixedLine.Image"); gridView1.Appearance.FixedLine.Options.UseFont = true; gridView1.Appearance.FocusedCell.Font = (Font)componentResourceManager.GetObject("gridView1.Appearance.FocusedCell.Font"); gridView1.Appearance.FocusedCell.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.FocusedCell.GradientMode"); gridView1.Appearance.FocusedCell.Image = (Image)componentResourceManager.GetObject("gridView1.Appearance.FocusedCell.Image"); gridView1.Appearance.FocusedCell.Options.UseFont = true; gridView1.Appearance.FocusedRow.Font = (Font)componentResourceManager.GetObject("gridView1.Appearance.FocusedRow.Font"); gridView1.Appearance.FocusedRow.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.FocusedRow.GradientMode"); gridView1.Appearance.FocusedRow.Image = (Image)componentResourceManager.GetObject("gridView1.Appearance.FocusedRow.Image"); gridView1.Appearance.FocusedRow.Options.UseFont = true; gridView1.Appearance.FooterPanel.Font = (Font)componentResourceManager.GetObject("gridView1.Appearance.FooterPanel.Font"); gridView1.Appearance.FooterPanel.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.FooterPanel.GradientMode"); gridView1.Appearance.FooterPanel.Image = (Image)componentResourceManager.GetObject("gridView1.Appearance.FooterPanel.Image"); gridView1.Appearance.FooterPanel.Options.UseFont = true; gridView1.Appearance.GroupButton.Font = (Font)componentResourceManager.GetObject("gridView1.Appearance.GroupButton.Font"); gridView1.Appearance.GroupButton.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.GroupButton.GradientMode"); gridView1.Appearance.GroupButton.Image = (Image)componentResourceManager.GetObject("gridView1.Appearance.GroupButton.Image"); gridView1.Appearance.GroupButton.Options.UseFont = true; gridView1.Appearance.GroupFooter.Font = (Font)componentResourceManager.GetObject("gridView1.Appearance.GroupFooter.Font"); gridView1.Appearance.GroupFooter.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.GroupFooter.GradientMode"); gridView1.Appearance.GroupFooter.Image = (Image)componentResourceManager.GetObject("gridView1.Appearance.GroupFooter.Image"); gridView1.Appearance.GroupFooter.Options.UseFont = true; gridView1.Appearance.GroupPanel.Font = (Font)componentResourceManager.GetObject("gridView1.Appearance.GroupPanel.Font"); gridView1.Appearance.GroupPanel.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.GroupPanel.GradientMode"); gridView1.Appearance.GroupPanel.Image = (Image)componentResourceManager.GetObject("gridView1.Appearance.GroupPanel.Image"); gridView1.Appearance.GroupPanel.Options.UseFont = true; gridView1.Appearance.GroupRow.Font = (Font)componentResourceManager.GetObject("gridView1.Appearance.GroupRow.Font"); gridView1.Appearance.GroupRow.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.GroupRow.GradientMode"); gridView1.Appearance.GroupRow.Image = (Image)componentResourceManager.GetObject("gridView1.Appearance.GroupRow.Image"); gridView1.Appearance.GroupRow.Options.UseFont = true; gridView1.Appearance.HeaderPanel.Font = (Font)componentResourceManager.GetObject("gridView1.Appearance.HeaderPanel.Font"); gridView1.Appearance.HeaderPanel.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.HeaderPanel.GradientMode"); gridView1.Appearance.HeaderPanel.Image = (Image)componentResourceManager.GetObject("gridView1.Appearance.HeaderPanel.Image"); gridView1.Appearance.HeaderPanel.Options.UseFont = true; gridView1.Appearance.HideSelectionRow.Font = (Font)componentResourceManager.GetObject("gridView1.Appearance.HideSelectionRow.Font"); gridView1.Appearance.HideSelectionRow.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.HideSelectionRow.GradientMode"); gridView1.Appearance.HideSelectionRow.Image = (Image)componentResourceManager.GetObject("gridView1.Appearance.HideSelectionRow.Image"); gridView1.Appearance.HideSelectionRow.Options.UseFont = true; gridView1.Appearance.HorzLine.Font = (Font)componentResourceManager.GetObject("gridView1.Appearance.HorzLine.Font"); gridView1.Appearance.HorzLine.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.HorzLine.GradientMode"); gridView1.Appearance.HorzLine.Image = (Image)componentResourceManager.GetObject("gridView1.Appearance.HorzLine.Image"); gridView1.Appearance.HorzLine.Options.UseFont = true; gridView1.Appearance.OddRow.Font = (Font)componentResourceManager.GetObject("gridView1.Appearance.OddRow.Font"); gridView1.Appearance.OddRow.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.OddRow.GradientMode"); gridView1.Appearance.OddRow.Image = (Image)componentResourceManager.GetObject("gridView1.Appearance.OddRow.Image"); gridView1.Appearance.OddRow.Options.UseFont = true; gridView1.Appearance.Preview.Font = (Font)componentResourceManager.GetObject("gridView1.Appearance.Preview.Font"); gridView1.Appearance.Preview.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.Preview.GradientMode"); gridView1.Appearance.Preview.Image = (Image)componentResourceManager.GetObject("gridView1.Appearance.Preview.Image"); gridView1.Appearance.Preview.Options.UseFont = true; gridView1.Appearance.Row.Font = (Font)componentResourceManager.GetObject("gridView1.Appearance.Row.Font"); gridView1.Appearance.Row.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.Row.GradientMode"); gridView1.Appearance.Row.Image = (Image)componentResourceManager.GetObject("gridView1.Appearance.Row.Image"); gridView1.Appearance.Row.Options.UseFont = true; gridView1.Appearance.RowSeparator.Font = (Font)componentResourceManager.GetObject("gridView1.Appearance.RowSeparator.Font"); gridView1.Appearance.RowSeparator.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.RowSeparator.GradientMode"); gridView1.Appearance.RowSeparator.Image = (Image)componentResourceManager.GetObject("gridView1.Appearance.RowSeparator.Image"); gridView1.Appearance.RowSeparator.Options.UseFont = true; gridView1.Appearance.SelectedRow.Font = (Font)componentResourceManager.GetObject("gridView1.Appearance.SelectedRow.Font"); gridView1.Appearance.SelectedRow.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.SelectedRow.GradientMode"); gridView1.Appearance.SelectedRow.Image = (Image)componentResourceManager.GetObject("gridView1.Appearance.SelectedRow.Image"); gridView1.Appearance.SelectedRow.Options.UseFont = true; gridView1.Appearance.TopNewRow.Font = (Font)componentResourceManager.GetObject("gridView1.Appearance.TopNewRow.Font"); gridView1.Appearance.TopNewRow.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.TopNewRow.GradientMode"); gridView1.Appearance.TopNewRow.Image = (Image)componentResourceManager.GetObject("gridView1.Appearance.TopNewRow.Image"); gridView1.Appearance.TopNewRow.Options.UseFont = true; gridView1.Appearance.VertLine.Font = (Font)componentResourceManager.GetObject("gridView1.Appearance.VertLine.Font"); gridView1.Appearance.VertLine.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.VertLine.GradientMode"); gridView1.Appearance.VertLine.Image = (Image)componentResourceManager.GetObject("gridView1.Appearance.VertLine.Image"); gridView1.Appearance.VertLine.Options.UseFont = true; gridView1.Appearance.ViewCaption.Font = (Font)componentResourceManager.GetObject("gridView1.Appearance.ViewCaption.Font"); gridView1.Appearance.ViewCaption.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.ViewCaption.GradientMode"); gridView1.Appearance.ViewCaption.Image = (Image)componentResourceManager.GetObject("gridView1.Appearance.ViewCaption.Image"); gridView1.Appearance.ViewCaption.Options.UseFont = true; componentResourceManager.ApplyResources(gridView1, "gridView1"); gridView1.Columns.AddRange(new GridColumn[6] { colID, colLeft, colRight, colDown, colUp, colChangeFlag }); gridView1.GridControl = gridControl1; gridView1.Name = "gridView1"; gridView1.OptionsView.ShowGroupPanel = false; gridView1.CellValueChanged += gridView1_CellValueChanged; gridView1.ValidatingEditor += gridView1_ValidatingEditor; colID.AppearanceCell.Font = (Font)componentResourceManager.GetObject("colID.AppearanceCell.Font"); colID.AppearanceCell.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("colID.AppearanceCell.GradientMode"); colID.AppearanceCell.Image = (Image)componentResourceManager.GetObject("colID.AppearanceCell.Image"); colID.AppearanceCell.Options.UseFont = true; colID.AppearanceHeader.Font = (Font)componentResourceManager.GetObject("colID.AppearanceHeader.Font"); colID.AppearanceHeader.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("colID.AppearanceHeader.GradientMode"); colID.AppearanceHeader.Image = (Image)componentResourceManager.GetObject("colID.AppearanceHeader.Image"); colID.AppearanceHeader.Options.UseFont = true; componentResourceManager.ApplyResources(colID, "colID"); colID.FieldName = "ID"; colID.Name = "colID"; colLeft.AppearanceCell.Font = (Font)componentResourceManager.GetObject("colLeft.AppearanceCell.Font"); colLeft.AppearanceCell.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("colLeft.AppearanceCell.GradientMode"); colLeft.AppearanceCell.Image = (Image)componentResourceManager.GetObject("colLeft.AppearanceCell.Image"); colLeft.AppearanceCell.Options.UseFont = true; colLeft.AppearanceHeader.Font = (Font)componentResourceManager.GetObject("colLeft.AppearanceHeader.Font"); colLeft.AppearanceHeader.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("colLeft.AppearanceHeader.GradientMode"); colLeft.AppearanceHeader.Image = (Image)componentResourceManager.GetObject("colLeft.AppearanceHeader.Image"); colLeft.AppearanceHeader.Options.UseFont = true; componentResourceManager.ApplyResources(colLeft, "colLeft"); colLeft.FieldName = "Left"; colLeft.Name = "colLeft"; colRight.AppearanceCell.Font = (Font)componentResourceManager.GetObject("colRight.AppearanceCell.Font"); colRight.AppearanceCell.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("colRight.AppearanceCell.GradientMode"); colRight.AppearanceCell.Image = (Image)componentResourceManager.GetObject("colRight.AppearanceCell.Image"); colRight.AppearanceCell.Options.UseFont = true; colRight.AppearanceHeader.Font = (Font)componentResourceManager.GetObject("colRight.AppearanceHeader.Font"); colRight.AppearanceHeader.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("colRight.AppearanceHeader.GradientMode"); colRight.AppearanceHeader.Image = (Image)componentResourceManager.GetObject("colRight.AppearanceHeader.Image"); colRight.AppearanceHeader.Options.UseFont = true; componentResourceManager.ApplyResources(colRight, "colRight"); colRight.FieldName = "Right"; colRight.Name = "colRight"; colDown.AppearanceCell.Font = (Font)componentResourceManager.GetObject("colDown.AppearanceCell.Font"); colDown.AppearanceCell.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("colDown.AppearanceCell.GradientMode"); colDown.AppearanceCell.Image = (Image)componentResourceManager.GetObject("colDown.AppearanceCell.Image"); colDown.AppearanceCell.Options.UseFont = true; colDown.AppearanceHeader.Font = (Font)componentResourceManager.GetObject("colDown.AppearanceHeader.Font"); colDown.AppearanceHeader.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("colDown.AppearanceHeader.GradientMode"); colDown.AppearanceHeader.Image = (Image)componentResourceManager.GetObject("colDown.AppearanceHeader.Image"); colDown.AppearanceHeader.Options.UseFont = true; componentResourceManager.ApplyResources(colDown, "colDown"); colDown.FieldName = "Down"; colDown.Name = "colDown"; colUp.AppearanceCell.Font = (Font)componentResourceManager.GetObject("colUp.AppearanceCell.Font"); colUp.AppearanceCell.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("colUp.AppearanceCell.GradientMode"); colUp.AppearanceCell.Image = (Image)componentResourceManager.GetObject("colUp.AppearanceCell.Image"); colUp.AppearanceCell.Options.UseFont = true; colUp.AppearanceHeader.Font = (Font)componentResourceManager.GetObject("colUp.AppearanceHeader.Font"); colUp.AppearanceHeader.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("colUp.AppearanceHeader.GradientMode"); colUp.AppearanceHeader.Image = (Image)componentResourceManager.GetObject("colUp.AppearanceHeader.Image"); colUp.AppearanceHeader.Options.UseFont = true; componentResourceManager.ApplyResources(colUp, "colUp"); colUp.FieldName = "Up"; colUp.Name = "colUp"; colChangeFlag.AppearanceCell.Font = (Font)componentResourceManager.GetObject("colChangeFlag.AppearanceCell.Font"); colChangeFlag.AppearanceCell.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("colChangeFlag.AppearanceCell.GradientMode"); colChangeFlag.AppearanceCell.Image = (Image)componentResourceManager.GetObject("colChangeFlag.AppearanceCell.Image"); colChangeFlag.AppearanceCell.Options.UseFont = true; colChangeFlag.AppearanceHeader.Font = (Font)componentResourceManager.GetObject("colChangeFlag.AppearanceHeader.Font"); colChangeFlag.AppearanceHeader.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("colChangeFlag.AppearanceHeader.GradientMode"); colChangeFlag.AppearanceHeader.Image = (Image)componentResourceManager.GetObject("colChangeFlag.AppearanceHeader.Image"); colChangeFlag.AppearanceHeader.Options.UseFont = true; componentResourceManager.ApplyResources(colChangeFlag, "colChangeFlag"); colChangeFlag.FieldName = "lChangeFlag"; colChangeFlag.Name = "colChangeFlag"; componentResourceManager.ApplyResources(this, "$this"); AutoScaleMode = AutoScaleMode.Font; ControlBox = false; Controls.Add(progressBar1); Controls.Add(groupControl1); Controls.Add(btCancel); Controls.Add(btSave); FormBorderStyle = FormBorderStyle.None; MaximizeBox = false; MinimizeBox = false; Name = "FrmCommonSettings"; WindowState = FormWindowState.Maximized; FormClosing += frmCommonSettings_FormClosing; Load += frmCommonSettings_Load; Resize += frmCommonSettings_Resize; progressBar1.Properties.EndInit(); groupControl1.EndInit(); groupControl1.ResumeLayout(false); groupControl1.PerformLayout(); gridControl1.EndInit(); gridView1.EndInit(); ResumeLayout(false); }
private void InitializeComponent() { ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(FrmSearch)); groupBox1 = new GroupControl(); btSave1 = new SimpleButton(); pictureBox1 = new PictureBox(); groupBox2 = new GroupControl(); btSave2 = new SimpleButton(); pictureBox2 = new PictureBox(); button1 = new SimpleButton(); button3 = new SimpleButton(); label1 = new LabelControl(); groupBox1.BeginInit(); groupBox1.SuspendLayout(); ((ISupportInitialize)pictureBox1).BeginInit(); groupBox2.BeginInit(); groupBox2.SuspendLayout(); ((ISupportInitialize)pictureBox2).BeginInit(); SuspendLayout(); groupBox1.Appearance.Font = (Font)componentResourceManager.GetObject("groupBox1.Appearance.Font"); groupBox1.Appearance.Options.UseFont = true; groupBox1.AppearanceCaption.Font = (Font)componentResourceManager.GetObject("groupBox1.AppearanceCaption.Font"); groupBox1.AppearanceCaption.Options.UseFont = true; groupBox1.Controls.Add(btSave1); groupBox1.Controls.Add(pictureBox1); componentResourceManager.ApplyResources(groupBox1, "groupBox1"); groupBox1.Name = "groupBox1"; btSave1.Appearance.Font = (Font)componentResourceManager.GetObject("btSave1.Appearance.Font"); btSave1.Appearance.Options.UseFont = true; componentResourceManager.ApplyResources(btSave1, "btSave1"); btSave1.Name = "btSave1"; btSave1.Click += btSave1_Click; componentResourceManager.ApplyResources(pictureBox1, "pictureBox1"); pictureBox1.Name = "pictureBox1"; pictureBox1.TabStop = false; groupBox2.Appearance.Font = (Font)componentResourceManager.GetObject("groupBox2.Appearance.Font"); groupBox2.Appearance.Options.UseFont = true; groupBox2.AppearanceCaption.Font = (Font)componentResourceManager.GetObject("groupBox2.AppearanceCaption.Font"); groupBox2.AppearanceCaption.Options.UseFont = true; groupBox2.Controls.Add(btSave2); groupBox2.Controls.Add(pictureBox2); componentResourceManager.ApplyResources(groupBox2, "groupBox2"); groupBox2.Name = "groupBox2"; btSave2.Appearance.Font = (Font)componentResourceManager.GetObject("btSave2.Appearance.Font"); btSave2.Appearance.Options.UseFont = true; componentResourceManager.ApplyResources(btSave2, "btSave2"); btSave2.Name = "btSave2"; btSave2.Click += btSave2_Click; componentResourceManager.ApplyResources(pictureBox2, "pictureBox2"); pictureBox2.Name = "pictureBox2"; pictureBox2.TabStop = false; button1.Appearance.Font = (Font)componentResourceManager.GetObject("button1.Appearance.Font"); button1.Appearance.Options.UseFont = true; button1.DialogResult = DialogResult.Cancel; componentResourceManager.ApplyResources(button1, "button1"); button1.Name = "button1"; button1.Click += button1_Click; button3.Appearance.Font = (Font)componentResourceManager.GetObject("button3.Appearance.Font"); button3.Appearance.Options.UseFont = true; componentResourceManager.ApplyResources(button3, "button3"); button3.Name = "button3"; button3.Click += button3_Click; label1.Appearance.Font = (Font)componentResourceManager.GetObject("label1.Appearance.Font"); componentResourceManager.ApplyResources(label1, "label1"); label1.Name = "label1"; AcceptButton = button1; componentResourceManager.ApplyResources(this, "$this"); AutoScaleMode = AutoScaleMode.Font; CancelButton = button1; Controls.Add(label1); Controls.Add(button3); Controls.Add(button1); Controls.Add(groupBox2); Controls.Add(groupBox1); FormBorderStyle = FormBorderStyle.FixedSingle; MaximizeBox = false; MinimizeBox = false; Name = "FrmSearch"; Load += frmSerach_Load; groupBox1.EndInit(); groupBox1.ResumeLayout(false); ((ISupportInitialize)pictureBox1).EndInit(); groupBox2.EndInit(); groupBox2.ResumeLayout(false); ((ISupportInitialize)pictureBox2).EndInit(); ResumeLayout(false); PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(FrmDeleteKeys)); groupBox3 = new GroupControl(); checkEditBefore = new CheckEdit(); checkEditFrom = new CheckEdit(); btAccept = new SimpleButton(); dtpBefore = new DateEdit(); dtpFrom = new DateEdit(); labelControl1 = new LabelControl(); dtValueFrom = new DateEdit(); btSave = new SimpleButton(); groupControl1 = new GroupControl(); labelControl2 = new LabelControl(); simpleButton1 = new SimpleButton(); groupBox3.BeginInit(); groupBox3.SuspendLayout(); checkEditBefore.Properties.BeginInit(); checkEditFrom.Properties.BeginInit(); dtpBefore.Properties.CalendarTimeProperties.BeginInit(); dtpBefore.Properties.BeginInit(); dtpFrom.Properties.CalendarTimeProperties.BeginInit(); dtpFrom.Properties.BeginInit(); dtValueFrom.Properties.CalendarTimeProperties.BeginInit(); dtValueFrom.Properties.BeginInit(); groupControl1.BeginInit(); groupControl1.SuspendLayout(); SuspendLayout(); componentResourceManager.ApplyResources(groupBox3, "groupBox3"); groupBox3.AppearanceCaption.Font = (Font)componentResourceManager.GetObject("groupBox3.AppearanceCaption.Font"); groupBox3.AppearanceCaption.FontSizeDelta = (int)componentResourceManager.GetObject("groupBox3.AppearanceCaption.FontSizeDelta"); groupBox3.AppearanceCaption.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("groupBox3.AppearanceCaption.FontStyleDelta"); groupBox3.AppearanceCaption.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("groupBox3.AppearanceCaption.GradientMode"); groupBox3.AppearanceCaption.Image = (Image)componentResourceManager.GetObject("groupBox3.AppearanceCaption.Image"); groupBox3.AppearanceCaption.Options.UseFont = true; groupBox3.Controls.Add(checkEditBefore); groupBox3.Controls.Add(checkEditFrom); groupBox3.Controls.Add(btAccept); groupBox3.Controls.Add(dtpBefore); groupBox3.Controls.Add(dtpFrom); groupBox3.Name = "groupBox3"; groupBox3.ShowCaption = false; groupBox3.TabStop = true; componentResourceManager.ApplyResources(checkEditBefore, "checkEditBefore"); checkEditBefore.Name = "checkEditBefore"; checkEditBefore.Properties.AccessibleDescription = componentResourceManager.GetString("checkEditBefore.Properties.AccessibleDescription"); checkEditBefore.Properties.AccessibleName = componentResourceManager.GetString("checkEditBefore.Properties.AccessibleName"); checkEditBefore.Properties.Appearance.Font = (Font)componentResourceManager.GetObject("checkEditBefore.Properties.Appearance.Font"); checkEditBefore.Properties.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("checkEditBefore.Properties.Appearance.FontSizeDelta"); checkEditBefore.Properties.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("checkEditBefore.Properties.Appearance.FontStyleDelta"); checkEditBefore.Properties.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("checkEditBefore.Properties.Appearance.GradientMode"); checkEditBefore.Properties.Appearance.Image = (Image)componentResourceManager.GetObject("checkEditBefore.Properties.Appearance.Image"); checkEditBefore.Properties.Appearance.Options.UseFont = true; checkEditBefore.Properties.AutoHeight = (bool)componentResourceManager.GetObject("checkEditBefore.Properties.AutoHeight"); checkEditBefore.Properties.Caption = componentResourceManager.GetString("checkEditBefore.Properties.Caption"); checkEditBefore.Properties.DisplayValueChecked = componentResourceManager.GetString("checkEditBefore.Properties.DisplayValueChecked"); checkEditBefore.Properties.DisplayValueGrayed = componentResourceManager.GetString("checkEditBefore.Properties.DisplayValueGrayed"); checkEditBefore.Properties.DisplayValueUnchecked = componentResourceManager.GetString("checkEditBefore.Properties.DisplayValueUnchecked"); checkEditBefore.CheckedChanged += checkEditBefore_CheckedChanged; componentResourceManager.ApplyResources(checkEditFrom, "checkEditFrom"); checkEditFrom.Name = "checkEditFrom"; checkEditFrom.Properties.AccessibleDescription = componentResourceManager.GetString("checkEditFrom.Properties.AccessibleDescription"); checkEditFrom.Properties.AccessibleName = componentResourceManager.GetString("checkEditFrom.Properties.AccessibleName"); checkEditFrom.Properties.Appearance.Font = (Font)componentResourceManager.GetObject("checkEditFrom.Properties.Appearance.Font"); checkEditFrom.Properties.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("checkEditFrom.Properties.Appearance.FontSizeDelta"); checkEditFrom.Properties.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("checkEditFrom.Properties.Appearance.FontStyleDelta"); checkEditFrom.Properties.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("checkEditFrom.Properties.Appearance.GradientMode"); checkEditFrom.Properties.Appearance.Image = (Image)componentResourceManager.GetObject("checkEditFrom.Properties.Appearance.Image"); checkEditFrom.Properties.Appearance.Options.UseFont = true; checkEditFrom.Properties.AutoHeight = (bool)componentResourceManager.GetObject("checkEditFrom.Properties.AutoHeight"); checkEditFrom.Properties.Caption = componentResourceManager.GetString("checkEditFrom.Properties.Caption"); checkEditFrom.Properties.DisplayValueChecked = componentResourceManager.GetString("checkEditFrom.Properties.DisplayValueChecked"); checkEditFrom.Properties.DisplayValueGrayed = componentResourceManager.GetString("checkEditFrom.Properties.DisplayValueGrayed"); checkEditFrom.Properties.DisplayValueUnchecked = componentResourceManager.GetString("checkEditFrom.Properties.DisplayValueUnchecked"); checkEditFrom.CheckedChanged += checkEditFrom_CheckedChanged; componentResourceManager.ApplyResources(btAccept, "btAccept"); btAccept.Appearance.Font = (Font)componentResourceManager.GetObject("btAccept.Appearance.Font"); btAccept.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("btAccept.Appearance.FontSizeDelta"); btAccept.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("btAccept.Appearance.FontStyleDelta"); btAccept.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("btAccept.Appearance.GradientMode"); btAccept.Appearance.Image = (Image)componentResourceManager.GetObject("btAccept.Appearance.Image"); btAccept.Appearance.Options.UseFont = true; btAccept.Name = "btAccept"; btAccept.Click += btAccept_Click; componentResourceManager.ApplyResources(dtpBefore, "dtpBefore"); dtpBefore.Name = "dtpBefore"; dtpBefore.Properties.AccessibleDescription = componentResourceManager.GetString("dtpBefore.Properties.AccessibleDescription"); dtpBefore.Properties.AccessibleName = componentResourceManager.GetString("dtpBefore.Properties.AccessibleName"); dtpBefore.Properties.Appearance.Font = (Font)componentResourceManager.GetObject("dtpBefore.Properties.Appearance.Font"); dtpBefore.Properties.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("dtpBefore.Properties.Appearance.FontSizeDelta"); dtpBefore.Properties.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("dtpBefore.Properties.Appearance.FontStyleDelta"); dtpBefore.Properties.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("dtpBefore.Properties.Appearance.GradientMode"); dtpBefore.Properties.Appearance.Image = (Image)componentResourceManager.GetObject("dtpBefore.Properties.Appearance.Image"); dtpBefore.Properties.Appearance.Options.UseFont = true; dtpBefore.Properties.AutoHeight = (bool)componentResourceManager.GetObject("dtpBefore.Properties.AutoHeight"); dtpBefore.Properties.Buttons.AddRange(new EditorButton[1] { new EditorButton() }); dtpBefore.Properties.CalendarTimeProperties.AccessibleDescription = componentResourceManager.GetString("dtpBefore.Properties.CalendarTimeProperties.AccessibleDescription"); dtpBefore.Properties.CalendarTimeProperties.AccessibleName = componentResourceManager.GetString("dtpBefore.Properties.CalendarTimeProperties.AccessibleName"); dtpBefore.Properties.CalendarTimeProperties.AutoHeight = (bool)componentResourceManager.GetObject("dtpBefore.Properties.CalendarTimeProperties.AutoHeight"); dtpBefore.Properties.CalendarTimeProperties.Buttons.AddRange(new EditorButton[1] { new EditorButton() }); dtpBefore.Properties.CalendarTimeProperties.DisplayFormat.FormatString = "dd.MMMM.yyyy hh:mm:ss"; dtpBefore.Properties.CalendarTimeProperties.DisplayFormat.FormatType = FormatType.DateTime; dtpBefore.Properties.CalendarTimeProperties.EditFormat.FormatString = "dd.MMMM.yyyy hh:mm:ss"; dtpBefore.Properties.CalendarTimeProperties.EditFormat.FormatType = FormatType.DateTime; dtpBefore.Properties.CalendarTimeProperties.Mask.AutoComplete = (AutoCompleteType)componentResourceManager.GetObject("dtpBefore.Properties.CalendarTimeProperties.Mask.AutoComplete"); dtpBefore.Properties.CalendarTimeProperties.Mask.BeepOnError = (bool)componentResourceManager.GetObject("dtpBefore.Properties.CalendarTimeProperties.Mask.BeepOnError"); dtpBefore.Properties.CalendarTimeProperties.Mask.EditMask = componentResourceManager.GetString("dtpBefore.Properties.CalendarTimeProperties.Mask.EditMask"); dtpBefore.Properties.CalendarTimeProperties.Mask.IgnoreMaskBlank = (bool)componentResourceManager.GetObject("dtpBefore.Properties.CalendarTimeProperties.Mask.IgnoreMaskBlank"); dtpBefore.Properties.CalendarTimeProperties.Mask.MaskType = (MaskType)componentResourceManager.GetObject("dtpBefore.Properties.CalendarTimeProperties.Mask.MaskType"); dtpBefore.Properties.CalendarTimeProperties.Mask.PlaceHolder = (char)componentResourceManager.GetObject("dtpBefore.Properties.CalendarTimeProperties.Mask.PlaceHolder"); dtpBefore.Properties.CalendarTimeProperties.Mask.SaveLiteral = (bool)componentResourceManager.GetObject("dtpBefore.Properties.CalendarTimeProperties.Mask.SaveLiteral"); dtpBefore.Properties.CalendarTimeProperties.Mask.ShowPlaceHolders = (bool)componentResourceManager.GetObject("dtpBefore.Properties.CalendarTimeProperties.Mask.ShowPlaceHolders"); dtpBefore.Properties.CalendarTimeProperties.Mask.UseMaskAsDisplayFormat = (bool)componentResourceManager.GetObject("dtpBefore.Properties.CalendarTimeProperties.Mask.UseMaskAsDisplayFormat"); dtpBefore.Properties.CalendarTimeProperties.NullValuePrompt = componentResourceManager.GetString("dtpBefore.Properties.CalendarTimeProperties.NullValuePrompt"); dtpBefore.Properties.CalendarTimeProperties.NullValuePromptShowForEmptyValue = (bool)componentResourceManager.GetObject("dtpBefore.Properties.CalendarTimeProperties.NullValuePromptShowForEmptyValue"); dtpBefore.Properties.DisplayFormat.FormatString = "dd.MM.yyyy HH:mm:ss"; dtpBefore.Properties.DisplayFormat.FormatType = FormatType.DateTime; dtpBefore.Properties.EditFormat.FormatString = "dd.MMMM.yyyy HH:mm:ss"; dtpBefore.Properties.EditFormat.FormatType = FormatType.DateTime; dtpBefore.Properties.Mask.AutoComplete = (AutoCompleteType)componentResourceManager.GetObject("dtpBefore.Properties.Mask.AutoComplete"); dtpBefore.Properties.Mask.BeepOnError = (bool)componentResourceManager.GetObject("dtpBefore.Properties.Mask.BeepOnError"); dtpBefore.Properties.Mask.EditMask = componentResourceManager.GetString("dtpBefore.Properties.Mask.EditMask"); dtpBefore.Properties.Mask.IgnoreMaskBlank = (bool)componentResourceManager.GetObject("dtpBefore.Properties.Mask.IgnoreMaskBlank"); dtpBefore.Properties.Mask.MaskType = (MaskType)componentResourceManager.GetObject("dtpBefore.Properties.Mask.MaskType"); dtpBefore.Properties.Mask.PlaceHolder = (char)componentResourceManager.GetObject("dtpBefore.Properties.Mask.PlaceHolder"); dtpBefore.Properties.Mask.SaveLiteral = (bool)componentResourceManager.GetObject("dtpBefore.Properties.Mask.SaveLiteral"); dtpBefore.Properties.Mask.ShowPlaceHolders = (bool)componentResourceManager.GetObject("dtpBefore.Properties.Mask.ShowPlaceHolders"); dtpBefore.Properties.Mask.UseMaskAsDisplayFormat = (bool)componentResourceManager.GetObject("dtpBefore.Properties.Mask.UseMaskAsDisplayFormat"); dtpBefore.Properties.NullValuePrompt = componentResourceManager.GetString("dtpBefore.Properties.NullValuePrompt"); dtpBefore.Properties.NullValuePromptShowForEmptyValue = (bool)componentResourceManager.GetObject("dtpBefore.Properties.NullValuePromptShowForEmptyValue"); componentResourceManager.ApplyResources(dtpFrom, "dtpFrom"); dtpFrom.Name = "dtpFrom"; dtpFrom.Properties.AccessibleDescription = componentResourceManager.GetString("dtpFrom.Properties.AccessibleDescription"); dtpFrom.Properties.AccessibleName = componentResourceManager.GetString("dtpFrom.Properties.AccessibleName"); dtpFrom.Properties.Appearance.Font = (Font)componentResourceManager.GetObject("dtpFrom.Properties.Appearance.Font"); dtpFrom.Properties.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("dtpFrom.Properties.Appearance.FontSizeDelta"); dtpFrom.Properties.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("dtpFrom.Properties.Appearance.FontStyleDelta"); dtpFrom.Properties.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("dtpFrom.Properties.Appearance.GradientMode"); dtpFrom.Properties.Appearance.Image = (Image)componentResourceManager.GetObject("dtpFrom.Properties.Appearance.Image"); dtpFrom.Properties.Appearance.Options.UseFont = true; dtpFrom.Properties.AutoHeight = (bool)componentResourceManager.GetObject("dtpFrom.Properties.AutoHeight"); dtpFrom.Properties.Buttons.AddRange(new EditorButton[1] { new EditorButton() }); dtpFrom.Properties.CalendarTimeProperties.AccessibleDescription = componentResourceManager.GetString("dtpFrom.Properties.CalendarTimeProperties.AccessibleDescription"); dtpFrom.Properties.CalendarTimeProperties.AccessibleName = componentResourceManager.GetString("dtpFrom.Properties.CalendarTimeProperties.AccessibleName"); dtpFrom.Properties.CalendarTimeProperties.AutoHeight = (bool)componentResourceManager.GetObject("dtpFrom.Properties.CalendarTimeProperties.AutoHeight"); dtpFrom.Properties.CalendarTimeProperties.Buttons.AddRange(new EditorButton[1] { new EditorButton() }); dtpFrom.Properties.CalendarTimeProperties.DisplayFormat.FormatString = "dd.MMMM.yyyy hh:mm:ss"; dtpFrom.Properties.CalendarTimeProperties.DisplayFormat.FormatType = FormatType.DateTime; dtpFrom.Properties.CalendarTimeProperties.EditFormat.FormatString = "dd.MMMM.yyyy hh:mm:ss"; dtpFrom.Properties.CalendarTimeProperties.EditFormat.FormatType = FormatType.DateTime; dtpFrom.Properties.CalendarTimeProperties.Mask.AutoComplete = (AutoCompleteType)componentResourceManager.GetObject("dtpFrom.Properties.CalendarTimeProperties.Mask.AutoComplete"); dtpFrom.Properties.CalendarTimeProperties.Mask.BeepOnError = (bool)componentResourceManager.GetObject("dtpFrom.Properties.CalendarTimeProperties.Mask.BeepOnError"); dtpFrom.Properties.CalendarTimeProperties.Mask.EditMask = componentResourceManager.GetString("dtpFrom.Properties.CalendarTimeProperties.Mask.EditMask"); dtpFrom.Properties.CalendarTimeProperties.Mask.IgnoreMaskBlank = (bool)componentResourceManager.GetObject("dtpFrom.Properties.CalendarTimeProperties.Mask.IgnoreMaskBlank"); dtpFrom.Properties.CalendarTimeProperties.Mask.MaskType = (MaskType)componentResourceManager.GetObject("dtpFrom.Properties.CalendarTimeProperties.Mask.MaskType"); dtpFrom.Properties.CalendarTimeProperties.Mask.PlaceHolder = (char)componentResourceManager.GetObject("dtpFrom.Properties.CalendarTimeProperties.Mask.PlaceHolder"); dtpFrom.Properties.CalendarTimeProperties.Mask.SaveLiteral = (bool)componentResourceManager.GetObject("dtpFrom.Properties.CalendarTimeProperties.Mask.SaveLiteral"); dtpFrom.Properties.CalendarTimeProperties.Mask.ShowPlaceHolders = (bool)componentResourceManager.GetObject("dtpFrom.Properties.CalendarTimeProperties.Mask.ShowPlaceHolders"); dtpFrom.Properties.CalendarTimeProperties.Mask.UseMaskAsDisplayFormat = (bool)componentResourceManager.GetObject("dtpFrom.Properties.CalendarTimeProperties.Mask.UseMaskAsDisplayFormat"); dtpFrom.Properties.CalendarTimeProperties.NullValuePrompt = componentResourceManager.GetString("dtpFrom.Properties.CalendarTimeProperties.NullValuePrompt"); dtpFrom.Properties.CalendarTimeProperties.NullValuePromptShowForEmptyValue = (bool)componentResourceManager.GetObject("dtpFrom.Properties.CalendarTimeProperties.NullValuePromptShowForEmptyValue"); dtpFrom.Properties.DisplayFormat.FormatString = "dd.MM.yyyy HH:mm:ss"; dtpFrom.Properties.DisplayFormat.FormatType = FormatType.Custom; dtpFrom.Properties.EditFormat.FormatString = "dd.MMMM.yyyy HH:mm:ss"; dtpFrom.Properties.EditFormat.FormatType = FormatType.DateTime; dtpFrom.Properties.Mask.AutoComplete = (AutoCompleteType)componentResourceManager.GetObject("dtpFrom.Properties.Mask.AutoComplete"); dtpFrom.Properties.Mask.BeepOnError = (bool)componentResourceManager.GetObject("dtpFrom.Properties.Mask.BeepOnError"); dtpFrom.Properties.Mask.EditMask = componentResourceManager.GetString("dtpFrom.Properties.Mask.EditMask"); dtpFrom.Properties.Mask.IgnoreMaskBlank = (bool)componentResourceManager.GetObject("dtpFrom.Properties.Mask.IgnoreMaskBlank"); dtpFrom.Properties.Mask.MaskType = (MaskType)componentResourceManager.GetObject("dtpFrom.Properties.Mask.MaskType"); dtpFrom.Properties.Mask.PlaceHolder = (char)componentResourceManager.GetObject("dtpFrom.Properties.Mask.PlaceHolder"); dtpFrom.Properties.Mask.SaveLiteral = (bool)componentResourceManager.GetObject("dtpFrom.Properties.Mask.SaveLiteral"); dtpFrom.Properties.Mask.ShowPlaceHolders = (bool)componentResourceManager.GetObject("dtpFrom.Properties.Mask.ShowPlaceHolders"); dtpFrom.Properties.Mask.UseMaskAsDisplayFormat = (bool)componentResourceManager.GetObject("dtpFrom.Properties.Mask.UseMaskAsDisplayFormat"); dtpFrom.Properties.NullValuePrompt = componentResourceManager.GetString("dtpFrom.Properties.NullValuePrompt"); dtpFrom.Properties.NullValuePromptShowForEmptyValue = (bool)componentResourceManager.GetObject("dtpFrom.Properties.NullValuePromptShowForEmptyValue"); componentResourceManager.ApplyResources(labelControl1, "labelControl1"); labelControl1.Appearance.DisabledImage = (Image)componentResourceManager.GetObject("labelControl1.Appearance.DisabledImage"); labelControl1.Appearance.Font = (Font)componentResourceManager.GetObject("labelControl1.Appearance.Font"); labelControl1.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("labelControl1.Appearance.FontSizeDelta"); labelControl1.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("labelControl1.Appearance.FontStyleDelta"); labelControl1.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("labelControl1.Appearance.GradientMode"); labelControl1.Appearance.HoverImage = (Image)componentResourceManager.GetObject("labelControl1.Appearance.HoverImage"); labelControl1.Appearance.Image = (Image)componentResourceManager.GetObject("labelControl1.Appearance.Image"); labelControl1.Appearance.PressedImage = (Image)componentResourceManager.GetObject("labelControl1.Appearance.PressedImage"); labelControl1.Name = "labelControl1"; componentResourceManager.ApplyResources(dtValueFrom, "dtValueFrom"); dtValueFrom.Name = "dtValueFrom"; dtValueFrom.Properties.AccessibleDescription = componentResourceManager.GetString("dtValueFrom.Properties.AccessibleDescription"); dtValueFrom.Properties.AccessibleName = componentResourceManager.GetString("dtValueFrom.Properties.AccessibleName"); dtValueFrom.Properties.Appearance.Font = (Font)componentResourceManager.GetObject("dtValueFrom.Properties.Appearance.Font"); dtValueFrom.Properties.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("dtValueFrom.Properties.Appearance.FontSizeDelta"); dtValueFrom.Properties.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("dtValueFrom.Properties.Appearance.FontStyleDelta"); dtValueFrom.Properties.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("dtValueFrom.Properties.Appearance.GradientMode"); dtValueFrom.Properties.Appearance.Image = (Image)componentResourceManager.GetObject("dtValueFrom.Properties.Appearance.Image"); dtValueFrom.Properties.Appearance.Options.UseFont = true; dtValueFrom.Properties.AutoHeight = (bool)componentResourceManager.GetObject("dtValueFrom.Properties.AutoHeight"); dtValueFrom.Properties.Buttons.AddRange(new EditorButton[1] { new EditorButton() }); dtValueFrom.Properties.CalendarTimeProperties.AccessibleDescription = componentResourceManager.GetString("dtValueFrom.Properties.CalendarTimeProperties.AccessibleDescription"); dtValueFrom.Properties.CalendarTimeProperties.AccessibleName = componentResourceManager.GetString("dtValueFrom.Properties.CalendarTimeProperties.AccessibleName"); dtValueFrom.Properties.CalendarTimeProperties.AutoHeight = (bool)componentResourceManager.GetObject("dtValueFrom.Properties.CalendarTimeProperties.AutoHeight"); dtValueFrom.Properties.CalendarTimeProperties.Buttons.AddRange(new EditorButton[1] { new EditorButton() }); dtValueFrom.Properties.CalendarTimeProperties.DisplayFormat.FormatString = "dd.MMMM.yyyy hh:mm:ss"; dtValueFrom.Properties.CalendarTimeProperties.DisplayFormat.FormatType = FormatType.DateTime; dtValueFrom.Properties.CalendarTimeProperties.EditFormat.FormatString = "dd.MMMM.yyyy hh:mm:ss"; dtValueFrom.Properties.CalendarTimeProperties.EditFormat.FormatType = FormatType.DateTime; dtValueFrom.Properties.CalendarTimeProperties.Mask.AutoComplete = (AutoCompleteType)componentResourceManager.GetObject("dtValueFrom.Properties.CalendarTimeProperties.Mask.AutoComplete"); dtValueFrom.Properties.CalendarTimeProperties.Mask.BeepOnError = (bool)componentResourceManager.GetObject("dtValueFrom.Properties.CalendarTimeProperties.Mask.BeepOnError"); dtValueFrom.Properties.CalendarTimeProperties.Mask.EditMask = componentResourceManager.GetString("dtValueFrom.Properties.CalendarTimeProperties.Mask.EditMask"); dtValueFrom.Properties.CalendarTimeProperties.Mask.IgnoreMaskBlank = (bool)componentResourceManager.GetObject("dtValueFrom.Properties.CalendarTimeProperties.Mask.IgnoreMaskBlank"); dtValueFrom.Properties.CalendarTimeProperties.Mask.MaskType = (MaskType)componentResourceManager.GetObject("dtValueFrom.Properties.CalendarTimeProperties.Mask.MaskType"); dtValueFrom.Properties.CalendarTimeProperties.Mask.PlaceHolder = (char)componentResourceManager.GetObject("dtValueFrom.Properties.CalendarTimeProperties.Mask.PlaceHolder"); dtValueFrom.Properties.CalendarTimeProperties.Mask.SaveLiteral = (bool)componentResourceManager.GetObject("dtValueFrom.Properties.CalendarTimeProperties.Mask.SaveLiteral"); dtValueFrom.Properties.CalendarTimeProperties.Mask.ShowPlaceHolders = (bool)componentResourceManager.GetObject("dtValueFrom.Properties.CalendarTimeProperties.Mask.ShowPlaceHolders"); dtValueFrom.Properties.CalendarTimeProperties.Mask.UseMaskAsDisplayFormat = (bool)componentResourceManager.GetObject("dtValueFrom.Properties.CalendarTimeProperties.Mask.UseMaskAsDisplayFormat"); dtValueFrom.Properties.CalendarTimeProperties.NullValuePrompt = componentResourceManager.GetString("dtValueFrom.Properties.CalendarTimeProperties.NullValuePrompt"); dtValueFrom.Properties.CalendarTimeProperties.NullValuePromptShowForEmptyValue = (bool)componentResourceManager.GetObject("dtValueFrom.Properties.CalendarTimeProperties.NullValuePromptShowForEmptyValue"); dtValueFrom.Properties.DisplayFormat.FormatString = "dd.MM.yyyy HH:mm:ss"; dtValueFrom.Properties.DisplayFormat.FormatType = FormatType.DateTime; dtValueFrom.Properties.EditFormat.FormatString = "dd.MMMM.yyyy HH:mm:ss"; dtValueFrom.Properties.EditFormat.FormatType = FormatType.DateTime; dtValueFrom.Properties.Mask.AutoComplete = (AutoCompleteType)componentResourceManager.GetObject("dtValueFrom.Properties.Mask.AutoComplete"); dtValueFrom.Properties.Mask.BeepOnError = (bool)componentResourceManager.GetObject("dtValueFrom.Properties.Mask.BeepOnError"); dtValueFrom.Properties.Mask.EditMask = componentResourceManager.GetString("dtValueFrom.Properties.Mask.EditMask"); dtValueFrom.Properties.Mask.IgnoreMaskBlank = (bool)componentResourceManager.GetObject("dtValueFrom.Properties.Mask.IgnoreMaskBlank"); dtValueFrom.Properties.Mask.MaskType = (MaskType)componentResourceManager.GetObject("dtValueFrom.Properties.Mask.MaskType"); dtValueFrom.Properties.Mask.PlaceHolder = (char)componentResourceManager.GetObject("dtValueFrom.Properties.Mask.PlaceHolder"); dtValueFrom.Properties.Mask.SaveLiteral = (bool)componentResourceManager.GetObject("dtValueFrom.Properties.Mask.SaveLiteral"); dtValueFrom.Properties.Mask.ShowPlaceHolders = (bool)componentResourceManager.GetObject("dtValueFrom.Properties.Mask.ShowPlaceHolders"); dtValueFrom.Properties.Mask.UseMaskAsDisplayFormat = (bool)componentResourceManager.GetObject("dtValueFrom.Properties.Mask.UseMaskAsDisplayFormat"); dtValueFrom.Properties.NullValuePrompt = componentResourceManager.GetString("dtValueFrom.Properties.NullValuePrompt"); dtValueFrom.Properties.NullValuePromptShowForEmptyValue = (bool)componentResourceManager.GetObject("dtValueFrom.Properties.NullValuePromptShowForEmptyValue"); componentResourceManager.ApplyResources(btSave, "btSave"); btSave.Appearance.Font = (Font)componentResourceManager.GetObject("btSave.Appearance.Font"); btSave.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("btSave.Appearance.FontSizeDelta"); btSave.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("btSave.Appearance.FontStyleDelta"); btSave.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("btSave.Appearance.GradientMode"); btSave.Appearance.Image = (Image)componentResourceManager.GetObject("btSave.Appearance.Image"); btSave.Appearance.Options.UseFont = true; btSave.Name = "btSave"; btSave.Click += btSave_Click; componentResourceManager.ApplyResources(groupControl1, "groupControl1"); groupControl1.Controls.Add(btSave); groupControl1.Controls.Add(dtValueFrom); groupControl1.Name = "groupControl1"; groupControl1.ShowCaption = false; componentResourceManager.ApplyResources(labelControl2, "labelControl2"); labelControl2.Appearance.DisabledImage = (Image)componentResourceManager.GetObject("labelControl2.Appearance.DisabledImage"); labelControl2.Appearance.Font = (Font)componentResourceManager.GetObject("labelControl2.Appearance.Font"); labelControl2.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("labelControl2.Appearance.FontSizeDelta"); labelControl2.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("labelControl2.Appearance.FontStyleDelta"); labelControl2.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("labelControl2.Appearance.GradientMode"); labelControl2.Appearance.HoverImage = (Image)componentResourceManager.GetObject("labelControl2.Appearance.HoverImage"); labelControl2.Appearance.Image = (Image)componentResourceManager.GetObject("labelControl2.Appearance.Image"); labelControl2.Appearance.PressedImage = (Image)componentResourceManager.GetObject("labelControl2.Appearance.PressedImage"); labelControl2.Name = "labelControl2"; componentResourceManager.ApplyResources(simpleButton1, "simpleButton1"); simpleButton1.Appearance.Font = (Font)componentResourceManager.GetObject("simpleButton1.Appearance.Font"); simpleButton1.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("simpleButton1.Appearance.FontSizeDelta"); simpleButton1.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("simpleButton1.Appearance.FontStyleDelta"); simpleButton1.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("simpleButton1.Appearance.GradientMode"); simpleButton1.Appearance.Image = (Image)componentResourceManager.GetObject("simpleButton1.Appearance.Image"); simpleButton1.Appearance.Options.UseFont = true; simpleButton1.DialogResult = DialogResult.Cancel; simpleButton1.Name = "simpleButton1"; simpleButton1.Click += simpleButton1_Click; componentResourceManager.ApplyResources(this, "$this"); AutoScaleMode = AutoScaleMode.Font; CancelButton = simpleButton1; Controls.Add(simpleButton1); Controls.Add(labelControl2); Controls.Add(groupControl1); Controls.Add(labelControl1); Controls.Add(groupBox3); Name = "FrmDeleteKeys"; ShowIcon = false; Load += frmDeleteKeys_Load; groupBox3.EndInit(); groupBox3.ResumeLayout(false); checkEditBefore.Properties.EndInit(); checkEditFrom.Properties.EndInit(); dtpBefore.Properties.CalendarTimeProperties.EndInit(); dtpBefore.Properties.EndInit(); dtpFrom.Properties.CalendarTimeProperties.EndInit(); dtpFrom.Properties.EndInit(); dtValueFrom.Properties.CalendarTimeProperties.EndInit(); dtValueFrom.Properties.EndInit(); groupControl1.EndInit(); groupControl1.ResumeLayout(false); ResumeLayout(false); PerformLayout(); }