public void OnUINavigatorEvent(UIFuncItemInfo funcItemInfo) { if (funcItemInfo.Function == UIFunctionEnum.Backward) { if (m_PreviousFuncItemInfo != null) { OnUINavigatorEvent(m_PreviousFuncItemInfo); } return; } m_tabCtrlContainer.SuspendLayout(); m_splitContainer.SuspendLayout(); if (funcItemInfo.Function == UIFunctionEnum.ShowDownloadListForm) { if (m_FormDownloadInfoList == null) { System.Diagnostics.Trace.WriteLine("m_FormDownloadInfoList = new FormDownloadInfoList()"); m_FormDownloadInfoList = new FormDownloadInfoList(); m_FormDownloadInfoList.StartPosition = FormStartPosition.CenterParent; m_FormDownloadInfoList.FormClosed += new FormClosedEventHandler(FormDownloadInfoList_FormClosed); m_FormDownloadInfoList.Show(Framework.Container.Instance.MainControl); } else { System.Diagnostics.Trace.WriteLine("m_FormDownloadInfoList.Show()"); m_FormDownloadInfoList.Show(); } } funcItemInfo = Container.Instance.NaviRecord.GetSubItem(funcItemInfo); int oldSplitPosition = m_splitContainer.SplitterPosition; // m_tabCtrlContainer.SuspendLayout(); ucContentBase tabPage = GetContentPage(funcItemInfo); if (tabPage != null) { this.m_captionLabel.Text = funcItemInfo.Caption; this.m_captionLabel.Visible = tabPage.ShowCaption; tabPage.BringToFront(); if (m_CurrentContentPage != null) { if (!m_CurrentContentPage.RetainWhenDisppear) { RemovePage(m_CurrentFuncItemInfo, m_CurrentContentPage); if (m_CurrentContentPage.ViewModel != null) { Framework.Container.Instance.VVMDataBindings.RemoveBindings(m_CurrentContentPage.ViewModel); } } else { m_PreviousFuncItemInfo = m_CurrentFuncItemInfo; } } m_CurrentContentPage = tabPage; if (funcItemInfo.Function == UIFunctionEnum.Backward) { m_PreviousFuncItemInfo = null; m_CurrentFuncItemInfo = m_PreviousFuncItemInfo; } else { m_CurrentFuncItemInfo = funcItemInfo; } int splitPosition; Container.Instance.NaviRecord.RegisterSubItem(funcItemInfo, oldSplitPosition, out splitPosition); if (splitPosition > -1) { m_splitContainer.SplitterPosition = splitPosition; object o = AppDomain.CurrentDomain.GetData("OCXContainer"); if (o == null) { m_splitContainer.PanelVisibility = (splitPosition == 0) ? SplitPanelVisibility.Panel2 : SplitPanelVisibility.Both; } } } m_tabCtrlContainer.ResumeLayout(); m_splitContainer.ResumeLayout(); }
private void InitializeComponent() { ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(FrmVideo)); GridLevelNode gridLevelNode = new GridLevelNode(); splitContainerControl1 = new SplitContainerControl(); pbImage = new PictureBox(); gcImages = new GridControl(); lvImages = new LayoutView(); colImage = new LayoutViewColumn(); repositoryItemPictureEdit1 = new RepositoryItemPictureEdit(); layoutViewField_layoutViewColumn1 = new LayoutViewField(); layoutViewCard1 = new LayoutViewCard(); gridView1 = new GridView(); btPlay = new SimpleButton(); btPause = new SimpleButton(); btStop = new SimpleButton(); btOpen = new SimpleButton(); btCancel = new SimpleButton(); btAccept = new SimpleButton(); trackBarControl1 = new TrackBarControl(); labelControl1 = new LabelControl(); btClear = new SimpleButton(); splitContainerControl1.BeginInit(); splitContainerControl1.SuspendLayout(); ((ISupportInitialize)pbImage).BeginInit(); gcImages.BeginInit(); lvImages.BeginInit(); repositoryItemPictureEdit1.BeginInit(); layoutViewField_layoutViewColumn1.BeginInit(); layoutViewCard1.BeginInit(); gridView1.BeginInit(); ((ISupportInitialize)trackBarControl1).BeginInit(); trackBarControl1.Properties.BeginInit(); SuspendLayout(); componentResourceManager.ApplyResources(splitContainerControl1, "splitContainerControl1"); splitContainerControl1.Name = "splitContainerControl1"; componentResourceManager.ApplyResources(splitContainerControl1.Panel1, "splitContainerControl1.Panel1"); splitContainerControl1.Panel1.Controls.Add(pbImage); componentResourceManager.ApplyResources(splitContainerControl1.Panel2, "splitContainerControl1.Panel2"); splitContainerControl1.Panel2.Controls.Add(gcImages); splitContainerControl1.SplitterPosition = 751; componentResourceManager.ApplyResources(pbImage, "pbImage"); pbImage.Name = "pbImage"; pbImage.TabStop = false; componentResourceManager.ApplyResources(gcImages, "gcImages"); gcImages.EmbeddedNavigator.AccessibleDescription = componentResourceManager.GetString("gcImages.EmbeddedNavigator.AccessibleDescription"); gcImages.EmbeddedNavigator.AccessibleName = componentResourceManager.GetString("gcImages.EmbeddedNavigator.AccessibleName"); gcImages.EmbeddedNavigator.AllowHtmlTextInToolTip = (DefaultBoolean)componentResourceManager.GetObject("gcImages.EmbeddedNavigator.AllowHtmlTextInToolTip"); gcImages.EmbeddedNavigator.Anchor = (AnchorStyles)componentResourceManager.GetObject("gcImages.EmbeddedNavigator.Anchor"); gcImages.EmbeddedNavigator.BackgroundImage = (Image)componentResourceManager.GetObject("gcImages.EmbeddedNavigator.BackgroundImage"); gcImages.EmbeddedNavigator.BackgroundImageLayout = (ImageLayout)componentResourceManager.GetObject("gcImages.EmbeddedNavigator.BackgroundImageLayout"); gcImages.EmbeddedNavigator.ImeMode = (ImeMode)componentResourceManager.GetObject("gcImages.EmbeddedNavigator.ImeMode"); gcImages.EmbeddedNavigator.MaximumSize = (Size)componentResourceManager.GetObject("gcImages.EmbeddedNavigator.MaximumSize"); gcImages.EmbeddedNavigator.TextLocation = (NavigatorButtonsTextLocation)componentResourceManager.GetObject("gcImages.EmbeddedNavigator.TextLocation"); gcImages.EmbeddedNavigator.ToolTip = componentResourceManager.GetString("gcImages.EmbeddedNavigator.ToolTip"); gcImages.EmbeddedNavigator.ToolTipIconType = (ToolTipIconType)componentResourceManager.GetObject("gcImages.EmbeddedNavigator.ToolTipIconType"); gcImages.EmbeddedNavigator.ToolTipTitle = componentResourceManager.GetString("gcImages.EmbeddedNavigator.ToolTipTitle"); gridLevelNode.RelationName = "Level1"; gcImages.LevelTree.Nodes.AddRange(new GridLevelNode[1] { gridLevelNode }); gcImages.MainView = lvImages; gcImages.Name = "gcImages"; gcImages.ViewCollection.AddRange(new BaseView[2] { lvImages, gridView1 }); componentResourceManager.ApplyResources(lvImages, "lvImages"); lvImages.CardHorzInterval = 0; lvImages.CardMinSize = new Size(150, 150); lvImages.CardVertInterval = 0; lvImages.Columns.AddRange(new LayoutViewColumn[1] { colImage }); lvImages.GridControl = gcImages; lvImages.Name = "lvImages"; lvImages.OptionsBehavior.AllowAddRows = DefaultBoolean.False; lvImages.OptionsBehavior.AllowDeleteRows = DefaultBoolean.False; lvImages.OptionsBehavior.AllowExpandCollapse = false; lvImages.OptionsBehavior.AutoPopulateColumns = false; lvImages.OptionsBehavior.AutoSelectAllInEditor = false; lvImages.OptionsCustomization.AllowFilter = false; lvImages.OptionsCustomization.AllowSort = false; lvImages.OptionsItemText.AlignMode = FieldTextAlignMode.CustomSize; lvImages.OptionsItemText.TextToControlDistance = 0; lvImages.OptionsLayout.Columns.AddNewColumns = false; lvImages.OptionsLayout.Columns.RemoveOldColumns = false; lvImages.OptionsLayout.Columns.StoreLayout = false; lvImages.OptionsLayout.StoreDataSettings = false; lvImages.OptionsLayout.StoreVisualOptions = false; lvImages.OptionsSelection.MultiSelect = true; lvImages.OptionsView.AllowHotTrackFields = false; lvImages.OptionsView.ShowButtonMode = ShowButtonModeEnum.ShowAlways; lvImages.OptionsView.ShowCardExpandButton = false; lvImages.OptionsView.ShowCardFieldBorders = true; lvImages.OptionsView.ShowCardLines = false; lvImages.OptionsView.ShowFieldHints = false; lvImages.OptionsView.ShowFilterPanelMode = ShowFilterPanelMode.Never; lvImages.OptionsView.ShowHeaderPanel = false; lvImages.OptionsView.ViewMode = LayoutViewMode.MultiColumn; lvImages.TemplateCard = layoutViewCard1; lvImages.CustomDrawCardCaption += lvImages_CustomDrawCardCaption; colImage.AppearanceCell.Font = (Font)componentResourceManager.GetObject("colImage.AppearanceCell.Font"); colImage.AppearanceCell.FontSizeDelta = (int)componentResourceManager.GetObject("colImage.AppearanceCell.FontSizeDelta"); colImage.AppearanceCell.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("colImage.AppearanceCell.FontStyleDelta"); colImage.AppearanceCell.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("colImage.AppearanceCell.GradientMode"); colImage.AppearanceCell.Image = (Image)componentResourceManager.GetObject("colImage.AppearanceCell.Image"); colImage.AppearanceCell.Options.UseFont = true; colImage.AppearanceHeader.Font = (Font)componentResourceManager.GetObject("colImage.AppearanceHeader.Font"); colImage.AppearanceHeader.FontSizeDelta = (int)componentResourceManager.GetObject("colImage.AppearanceHeader.FontSizeDelta"); colImage.AppearanceHeader.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("colImage.AppearanceHeader.FontStyleDelta"); colImage.AppearanceHeader.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("colImage.AppearanceHeader.GradientMode"); colImage.AppearanceHeader.Image = (Image)componentResourceManager.GetObject("colImage.AppearanceHeader.Image"); colImage.AppearanceHeader.Options.UseFont = true; componentResourceManager.ApplyResources(colImage, "colImage"); colImage.ColumnEdit = repositoryItemPictureEdit1; colImage.FieldName = "Image"; colImage.LayoutViewField = layoutViewField_layoutViewColumn1; colImage.Name = "colImage"; colImage.OptionsColumn.AllowEdit = false; colImage.OptionsColumn.AllowMove = false; colImage.OptionsColumn.AllowShowHide = false; colImage.OptionsColumn.AllowSize = false; colImage.OptionsColumn.ReadOnly = true; componentResourceManager.ApplyResources(repositoryItemPictureEdit1, "repositoryItemPictureEdit1"); repositoryItemPictureEdit1.Name = "repositoryItemPictureEdit1"; repositoryItemPictureEdit1.SizeMode = PictureSizeMode.Zoom; layoutViewField_layoutViewColumn1.EditorPreferredWidth = 122; layoutViewField_layoutViewColumn1.Location = new Point(0, 0); layoutViewField_layoutViewColumn1.Name = "layoutViewField_layoutViewColumn1"; layoutViewField_layoutViewColumn1.Padding = new Padding(0, 0, 0, 0); layoutViewField_layoutViewColumn1.Size = new Size(129, 22); layoutViewField_layoutViewColumn1.TextSize = new Size(7, 13); componentResourceManager.ApplyResources(layoutViewCard1, "layoutViewCard1"); layoutViewCard1.ExpandButtonLocation = GroupElementLocation.AfterText; layoutViewCard1.Items.AddRange(new BaseLayoutItem[1] { layoutViewField_layoutViewColumn1 }); layoutViewCard1.Name = "layoutViewTemplateCard"; layoutViewCard1.OptionsItemText.TextToControlDistance = 0; layoutViewCard1.Padding = new Padding(0, 0, 0, 0); componentResourceManager.ApplyResources(gridView1, "gridView1"); gridView1.GridControl = gcImages; gridView1.Name = "gridView1"; componentResourceManager.ApplyResources(btPlay, "btPlay"); btPlay.Appearance.Font = (Font)componentResourceManager.GetObject("btPlay.Appearance.Font"); btPlay.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("btPlay.Appearance.FontSizeDelta"); btPlay.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("btPlay.Appearance.FontStyleDelta"); btPlay.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("btPlay.Appearance.GradientMode"); btPlay.Appearance.Image = (Image)componentResourceManager.GetObject("btPlay.Appearance.Image"); btPlay.Appearance.Options.UseFont = true; btPlay.Image = Resources.play36; btPlay.Name = "btPlay"; btPlay.Click += btPlay_Click; componentResourceManager.ApplyResources(btPause, "btPause"); btPause.Appearance.Font = (Font)componentResourceManager.GetObject("btPause.Appearance.Font"); btPause.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("btPause.Appearance.FontSizeDelta"); btPause.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("btPause.Appearance.FontStyleDelta"); btPause.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("btPause.Appearance.GradientMode"); btPause.Appearance.Image = (Image)componentResourceManager.GetObject("btPause.Appearance.Image"); btPause.Appearance.Options.UseFont = true; btPause.Image = Resources.pause36; btPause.Name = "btPause"; btPause.Click += btPause_Click; componentResourceManager.ApplyResources(btStop, "btStop"); btStop.Appearance.Font = (Font)componentResourceManager.GetObject("btStop.Appearance.Font"); btStop.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("btStop.Appearance.FontSizeDelta"); btStop.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("btStop.Appearance.FontStyleDelta"); btStop.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("btStop.Appearance.GradientMode"); btStop.Appearance.Image = (Image)componentResourceManager.GetObject("btStop.Appearance.Image"); btStop.Appearance.Options.UseFont = true; btStop.Image = Resources.stop36; btStop.Name = "btStop"; btStop.Click += btStop_Click; componentResourceManager.ApplyResources(btOpen, "btOpen"); btOpen.Appearance.Font = (Font)componentResourceManager.GetObject("btOpen.Appearance.Font"); btOpen.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("btOpen.Appearance.FontSizeDelta"); btOpen.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("btOpen.Appearance.FontStyleDelta"); btOpen.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("btOpen.Appearance.GradientMode"); btOpen.Appearance.Image = (Image)componentResourceManager.GetObject("btOpen.Appearance.Image"); btOpen.Appearance.Options.UseFont = true; btOpen.Image = Resources.Open3; btOpen.Name = "btOpen"; btOpen.Click += btOpen_Click; 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.DialogResult = DialogResult.Cancel; btCancel.Name = "btCancel"; btCancel.Click += btCancel_Click; 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(trackBarControl1, "trackBarControl1"); trackBarControl1.Name = "trackBarControl1"; trackBarControl1.Properties.AccessibleDescription = componentResourceManager.GetString("trackBarControl1.Properties.AccessibleDescription"); trackBarControl1.Properties.AccessibleName = componentResourceManager.GetString("trackBarControl1.Properties.AccessibleName"); trackBarControl1.Properties.Orientation = (Orientation)componentResourceManager.GetObject("trackBarControl1.Properties.Orientation"); trackBarControl1.EditValueChanged += trackBarControl1_EditValueChanged; componentResourceManager.ApplyResources(labelControl1, "labelControl1"); labelControl1.Name = "labelControl1"; componentResourceManager.ApplyResources(btClear, "btClear"); btClear.Appearance.Font = (Font)componentResourceManager.GetObject("btClear.Appearance.Font"); btClear.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("btClear.Appearance.FontSizeDelta"); btClear.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("btClear.Appearance.FontStyleDelta"); btClear.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("btClear.Appearance.GradientMode"); btClear.Appearance.Image = (Image)componentResourceManager.GetObject("btClear.Appearance.Image"); btClear.Appearance.Options.UseFont = true; btClear.Name = "btClear"; btClear.Click += btClear_Click; componentResourceManager.ApplyResources(this, "$this"); AutoScaleMode = AutoScaleMode.Font; Controls.Add(btClear); Controls.Add(labelControl1); Controls.Add(trackBarControl1); Controls.Add(splitContainerControl1); Controls.Add(btCancel); Controls.Add(btAccept); Controls.Add(btOpen); Controls.Add(btStop); Controls.Add(btPause); Controls.Add(btPlay); FormBorderStyle = FormBorderStyle.FixedSingle; MaximizeBox = false; MinimizeBox = false; Name = "FrmVideo"; FormClosing += frmVideo_FormClosing; Load += frmVideo_Load; splitContainerControl1.EndInit(); splitContainerControl1.ResumeLayout(false); ((ISupportInitialize)pbImage).EndInit(); gcImages.EndInit(); lvImages.EndInit(); repositoryItemPictureEdit1.EndInit(); layoutViewField_layoutViewColumn1.EndInit(); layoutViewCard1.EndInit(); gridView1.EndInit(); trackBarControl1.Properties.EndInit(); ((ISupportInitialize)trackBarControl1).EndInit(); ResumeLayout(false); PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(FrmQueryTemplates)); splitContainerControl1 = new SplitContainerControl(); gcMain = new GridControl(); gridView1 = new GridView(); btOk = new SimpleButton(); labelControl3 = new LabelControl(); tbQuery = new MemoEdit(); labelControl2 = new LabelControl(); tbComment = new MemoEdit(); cbTemplates = new ComboBoxEdit(); labelControl1 = new LabelControl(); splitContainerControl1.BeginInit(); splitContainerControl1.SuspendLayout(); gcMain.BeginInit(); gridView1.BeginInit(); tbQuery.Properties.BeginInit(); tbComment.Properties.BeginInit(); cbTemplates.Properties.BeginInit(); SuspendLayout(); componentResourceManager.ApplyResources(splitContainerControl1, "splitContainerControl1"); splitContainerControl1.Name = "splitContainerControl1"; componentResourceManager.ApplyResources(splitContainerControl1.Panel1, "splitContainerControl1.Panel1"); componentResourceManager.ApplyResources(splitContainerControl1.Panel2, "splitContainerControl1.Panel2"); splitContainerControl1.Panel2.Controls.Add(gcMain); splitContainerControl1.SplitterPosition = 363; componentResourceManager.ApplyResources(gcMain, "gcMain"); gcMain.EmbeddedNavigator.AccessibleDescription = componentResourceManager.GetString("gcMain.EmbeddedNavigator.AccessibleDescription"); gcMain.EmbeddedNavigator.AccessibleName = componentResourceManager.GetString("gcMain.EmbeddedNavigator.AccessibleName"); gcMain.EmbeddedNavigator.AllowHtmlTextInToolTip = (DefaultBoolean)componentResourceManager.GetObject("gcMain.EmbeddedNavigator.AllowHtmlTextInToolTip"); gcMain.EmbeddedNavigator.Anchor = (AnchorStyles)componentResourceManager.GetObject("gcMain.EmbeddedNavigator.Anchor"); gcMain.EmbeddedNavigator.BackgroundImage = (Image)componentResourceManager.GetObject("gcMain.EmbeddedNavigator.BackgroundImage"); gcMain.EmbeddedNavigator.BackgroundImageLayout = (ImageLayout)componentResourceManager.GetObject("gcMain.EmbeddedNavigator.BackgroundImageLayout"); gcMain.EmbeddedNavigator.ImeMode = (ImeMode)componentResourceManager.GetObject("gcMain.EmbeddedNavigator.ImeMode"); gcMain.EmbeddedNavigator.MaximumSize = (Size)componentResourceManager.GetObject("gcMain.EmbeddedNavigator.MaximumSize"); gcMain.EmbeddedNavigator.TextLocation = (NavigatorButtonsTextLocation)componentResourceManager.GetObject("gcMain.EmbeddedNavigator.TextLocation"); gcMain.EmbeddedNavigator.ToolTip = componentResourceManager.GetString("gcMain.EmbeddedNavigator.ToolTip"); gcMain.EmbeddedNavigator.ToolTipIconType = (ToolTipIconType)componentResourceManager.GetObject("gcMain.EmbeddedNavigator.ToolTipIconType"); gcMain.EmbeddedNavigator.ToolTipTitle = componentResourceManager.GetString("gcMain.EmbeddedNavigator.ToolTipTitle"); gcMain.MainView = gridView1; gcMain.Name = "gcMain"; gcMain.ViewCollection.AddRange(new BaseView[1] { gridView1 }); componentResourceManager.ApplyResources(gridView1, "gridView1"); gridView1.GridControl = gcMain; gridView1.Name = "gridView1"; gridView1.OptionsView.ShowGroupPanel = false; componentResourceManager.ApplyResources(btOk, "btOk"); btOk.Name = "btOk"; btOk.Click += btOk_Click; componentResourceManager.ApplyResources(labelControl3, "labelControl3"); labelControl3.Name = "labelControl3"; componentResourceManager.ApplyResources(tbQuery, "tbQuery"); tbQuery.Name = "tbQuery"; tbQuery.Properties.AccessibleDescription = componentResourceManager.GetString("tbQuery.Properties.AccessibleDescription"); tbQuery.Properties.AccessibleName = componentResourceManager.GetString("tbQuery.Properties.AccessibleName"); tbQuery.Properties.NullValuePrompt = componentResourceManager.GetString("tbQuery.Properties.NullValuePrompt"); tbQuery.Properties.NullValuePromptShowForEmptyValue = (bool)componentResourceManager.GetObject("tbQuery.Properties.NullValuePromptShowForEmptyValue"); componentResourceManager.ApplyResources(labelControl2, "labelControl2"); labelControl2.Name = "labelControl2"; componentResourceManager.ApplyResources(tbComment, "tbComment"); tbComment.Name = "tbComment"; tbComment.Properties.AccessibleDescription = componentResourceManager.GetString("tbComment.Properties.AccessibleDescription"); tbComment.Properties.AccessibleName = componentResourceManager.GetString("tbComment.Properties.AccessibleName"); tbComment.Properties.NullValuePrompt = componentResourceManager.GetString("tbComment.Properties.NullValuePrompt"); tbComment.Properties.NullValuePromptShowForEmptyValue = (bool)componentResourceManager.GetObject("tbComment.Properties.NullValuePromptShowForEmptyValue"); componentResourceManager.ApplyResources(cbTemplates, "cbTemplates"); cbTemplates.Name = "cbTemplates"; cbTemplates.Properties.AccessibleDescription = componentResourceManager.GetString("cbTemplates.Properties.AccessibleDescription"); cbTemplates.Properties.AccessibleName = componentResourceManager.GetString("cbTemplates.Properties.AccessibleName"); cbTemplates.Properties.AutoHeight = (bool)componentResourceManager.GetObject("cbTemplates.Properties.AutoHeight"); cbTemplates.Properties.Buttons.AddRange(new EditorButton[1] { new EditorButton((ButtonPredefines)componentResourceManager.GetObject("cbTemplates.Properties.Buttons")) }); cbTemplates.Properties.NullValuePrompt = componentResourceManager.GetString("cbTemplates.Properties.NullValuePrompt"); cbTemplates.Properties.NullValuePromptShowForEmptyValue = (bool)componentResourceManager.GetObject("cbTemplates.Properties.NullValuePromptShowForEmptyValue"); cbTemplates.SelectedIndexChanged += cbTemplates_SelectedIndexChanged; componentResourceManager.ApplyResources(labelControl1, "labelControl1"); labelControl1.Name = "labelControl1"; componentResourceManager.ApplyResources(this, "$this"); AutoScaleMode = AutoScaleMode.Font; ControlBox = false; Controls.Add(splitContainerControl1); FormBorderStyle = FormBorderStyle.None; Name = "FrmQueryTemplates"; ShowIcon = false; Load += frmQueryTemplates_Load; Resize += frmQueryTemplates_Resize; splitContainerControl1.EndInit(); splitContainerControl1.ResumeLayout(false); gcMain.EndInit(); gridView1.EndInit(); tbQuery.Properties.EndInit(); tbComment.Properties.EndInit(); cbTemplates.Properties.EndInit(); ResumeLayout(false); }