private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(HistoryOptionControl)); PropertyValue value2 = new PropertyValue(); PropertyValue value3 = new PropertyValue(); this.chkHistoryEnabled = new CheckBox(); this.btnClearHistory = new Button(); this.ValuesWatcher = new PropertyValuesWatcher(); ((ISupportInitialize) this.ValuesWatcher).BeginInit(); base.SuspendLayout(); manager.ApplyResources(this.chkHistoryEnabled, "chkHistoryEnabled"); this.chkHistoryEnabled.Checked = true; this.chkHistoryEnabled.CheckState = CheckState.Checked; this.chkHistoryEnabled.Name = "chkHistoryEnabled"; this.chkHistoryEnabled.UseVisualStyleBackColor = true; manager.ApplyResources(this.btnClearHistory, "btnClearHistory"); this.btnClearHistory.Name = "btnClearHistory"; this.btnClearHistory.UseVisualStyleBackColor = true; this.btnClearHistory.Click += new EventHandler(this.btnClearHistory_Click); value2.DataObject = this.chkHistoryEnabled; value2.PropertyName = "Checked"; value3.DataObject = this.btnClearHistory; value3.PropertyName = "Enabled"; this.ValuesWatcher.Items.AddRange(new PropertyValue[] { value2, value3 }); manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.Controls.Add(this.btnClearHistory); base.Controls.Add(this.chkHistoryEnabled); base.Name = "HistoryOptionControl"; ((ISupportInitialize) this.ValuesWatcher).EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(AutoRefreshOptionControl)); PropertyValue value2 = new PropertyValue(); this.lblSlowVolumeAutoRefresh = new Label(); this.cmbSlowVolumeAutoRefresh = new ComboBoxEx(); this.ValuesWatcher = new PropertyValuesWatcher(); TableLayoutPanel panel = new TableLayoutPanel(); panel.SuspendLayout(); ((ISupportInitialize) this.ValuesWatcher).BeginInit(); base.SuspendLayout(); manager.ApplyResources(panel, "tlpBack"); panel.Controls.Add(this.lblSlowVolumeAutoRefresh, 0, 0); panel.Controls.Add(this.cmbSlowVolumeAutoRefresh, 1, 0); panel.Name = "tlpBack"; manager.ApplyResources(this.lblSlowVolumeAutoRefresh, "lblSlowVolumeAutoRefresh"); this.lblSlowVolumeAutoRefresh.Name = "lblSlowVolumeAutoRefresh"; manager.ApplyResources(this.cmbSlowVolumeAutoRefresh, "cmbSlowVolumeAutoRefresh"); this.cmbSlowVolumeAutoRefresh.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbSlowVolumeAutoRefresh.FormattingEnabled = true; this.cmbSlowVolumeAutoRefresh.MinimumSize = new Size(110, 0); this.cmbSlowVolumeAutoRefresh.Name = "cmbSlowVolumeAutoRefresh"; value2.DataObject = this.cmbSlowVolumeAutoRefresh; value2.PropertyName = "SelectedIndex"; this.ValuesWatcher.Items.AddRange(new PropertyValue[] { value2 }); manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.Controls.Add(panel); base.Name = "AutoRefreshOptionControl"; panel.ResumeLayout(false); panel.PerformLayout(); ((ISupportInitialize) this.ValuesWatcher).EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(TabOptionControl)); PropertyValue value2 = new PropertyValue(); PropertyValue value3 = new PropertyValue(); this.chkAlwaysShowTabStrip = new CheckBox(); this.chkFixedWidthTabs = new CheckBox(); this.ValuesWatcher = new PropertyValuesWatcher(); ((ISupportInitialize) this.ValuesWatcher).BeginInit(); base.SuspendLayout(); manager.ApplyResources(this.chkAlwaysShowTabStrip, "chkAlwaysShowTabStrip"); this.chkAlwaysShowTabStrip.Name = "chkAlwaysShowTabStrip"; this.chkAlwaysShowTabStrip.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkFixedWidthTabs, "chkFixedWidthTabs"); this.chkFixedWidthTabs.Name = "chkFixedWidthTabs"; this.chkFixedWidthTabs.UseVisualStyleBackColor = true; value2.DataObject = this.chkAlwaysShowTabStrip; value2.PropertyName = "Checked"; value3.DataObject = this.chkFixedWidthTabs; value3.PropertyName = "Checked"; this.ValuesWatcher.Items.AddRange(new PropertyValue[] { value2, value3 }); manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.Controls.Add(this.chkFixedWidthTabs); base.Controls.Add(this.chkAlwaysShowTabStrip); base.Name = "TabOptionControl"; ((ISupportInitialize) this.ValuesWatcher).EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(HiddenItemsOptionControl)); PropertyValue value2 = new PropertyValue(); PropertyValue value3 = new PropertyValue(); PropertyValue value4 = new PropertyValue(); this.chkHideSysHidItems = new CheckBox(); this.chkUseHiddenItemsList = new CheckBox(); this.txtHiddenItemsList = new TextBox(); this.ValuesWatcher = new PropertyValuesWatcher(); TableLayoutPanel panel = new TableLayoutPanel(); ((ISupportInitialize) this.ValuesWatcher).BeginInit(); panel.SuspendLayout(); base.SuspendLayout(); manager.ApplyResources(this.chkHideSysHidItems, "chkHideSysHidItems"); this.chkHideSysHidItems.Name = "chkHideSysHidItems"; this.chkHideSysHidItems.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkUseHiddenItemsList, "chkUseHiddenItemsList"); this.chkUseHiddenItemsList.Name = "chkUseHiddenItemsList"; this.chkUseHiddenItemsList.UseVisualStyleBackColor = true; this.chkUseHiddenItemsList.CheckedChanged += new EventHandler(this.chkUseHiddenItemsList_CheckedChanged); this.txtHiddenItemsList.AcceptsReturn = true; manager.ApplyResources(this.txtHiddenItemsList, "txtHiddenItemsList"); this.txtHiddenItemsList.Name = "txtHiddenItemsList"; value2.DataObject = this.chkHideSysHidItems; value2.PropertyName = "Checked"; value3.DataObject = this.chkUseHiddenItemsList; value3.PropertyName = "Checked"; value4.DataObject = this.txtHiddenItemsList; value4.PropertyName = "Text"; this.ValuesWatcher.Items.AddRange(new PropertyValue[] { value2, value3, value4 }); manager.ApplyResources(panel, "tlpBack"); panel.Controls.Add(this.chkHideSysHidItems, 0, 0); panel.Controls.Add(this.chkUseHiddenItemsList, 0, 1); panel.Name = "tlpBack"; manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.Controls.Add(this.txtHiddenItemsList); base.Controls.Add(panel); base.Name = "HiddenItemsOptionControl"; ((ISupportInitialize) this.ValuesWatcher).EndInit(); panel.ResumeLayout(false); panel.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(FtpOptionControl)); PropertyValue value2 = new PropertyValue(); PropertyValue value3 = new PropertyValue(); PropertyValue value4 = new PropertyValue(); PropertyValue value5 = new PropertyValue(); PropertyValue value6 = new PropertyValue(); PropertyValue value7 = new PropertyValue(); this.chkStoreCredential = new CheckBox(); this.cmbUploadFileNameCasing = new ComboBoxEx(); this.chkUsePrefetch = new CheckBox(); this.chkUseCache = new CheckBox(); this.chkUsePassive = new CheckBox(); this.lblEncoding = new Label(); this.cmbEncoding = new ComboBoxEx(); this.ValuesWatcher = new PropertyValuesWatcher(); Label label = new Label(); TableLayoutPanel panel = new TableLayoutPanel(); panel.SuspendLayout(); ((ISupportInitialize) this.ValuesWatcher).BeginInit(); base.SuspendLayout(); manager.ApplyResources(label, "lblUploadFileNameCasing"); label.Name = "lblUploadFileNameCasing"; manager.ApplyResources(panel, "tlpBack"); panel.Controls.Add(label, 0, 4); panel.Controls.Add(this.chkStoreCredential, 0, 3); panel.Controls.Add(this.cmbUploadFileNameCasing, 1, 4); panel.Controls.Add(this.chkUsePrefetch, 0, 2); panel.Controls.Add(this.chkUseCache, 0, 1); panel.Controls.Add(this.chkUsePassive, 0, 0); panel.Controls.Add(this.lblEncoding, 0, 5); panel.Controls.Add(this.cmbEncoding, 1, 5); panel.Name = "tlpBack"; manager.ApplyResources(this.chkStoreCredential, "chkStoreCredential"); panel.SetColumnSpan(this.chkStoreCredential, 2); this.chkStoreCredential.Name = "chkStoreCredential"; this.chkStoreCredential.UseVisualStyleBackColor = true; manager.ApplyResources(this.cmbUploadFileNameCasing, "cmbUploadFileNameCasing"); this.cmbUploadFileNameCasing.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbUploadFileNameCasing.FormattingEnabled = true; this.cmbUploadFileNameCasing.MaximumSize = new Size(150, 0); this.cmbUploadFileNameCasing.MinimumSize = new Size(110, 0); this.cmbUploadFileNameCasing.Name = "cmbUploadFileNameCasing"; manager.ApplyResources(this.chkUsePrefetch, "chkUsePrefetch"); panel.SetColumnSpan(this.chkUsePrefetch, 2); this.chkUsePrefetch.Name = "chkUsePrefetch"; this.chkUsePrefetch.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkUseCache, "chkUseCache"); this.chkUseCache.Checked = true; this.chkUseCache.CheckState = CheckState.Checked; panel.SetColumnSpan(this.chkUseCache, 2); this.chkUseCache.Name = "chkUseCache"; this.chkUseCache.UseVisualStyleBackColor = true; this.chkUseCache.CheckedChanged += new EventHandler(this.chkUseCache_CheckedChanged); manager.ApplyResources(this.chkUsePassive, "chkUsePassive"); this.chkUsePassive.Checked = true; this.chkUsePassive.CheckState = CheckState.Checked; panel.SetColumnSpan(this.chkUsePassive, 2); this.chkUsePassive.Name = "chkUsePassive"; this.chkUsePassive.UseVisualStyleBackColor = true; manager.ApplyResources(this.lblEncoding, "lblEncoding"); this.lblEncoding.Name = "lblEncoding"; manager.ApplyResources(this.cmbEncoding, "cmbEncoding"); this.cmbEncoding.DisplayMember = "EncodingName"; this.cmbEncoding.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbEncoding.FormattingEnabled = true; this.cmbEncoding.MaximumSize = new Size(150, 0); this.cmbEncoding.MinimumSize = new Size(110, 0); this.cmbEncoding.Name = "cmbEncoding"; this.cmbEncoding.ValueMember = "WebName"; value2.DataObject = this.chkUsePassive; value2.PropertyName = "Checked"; value3.DataObject = this.chkUseCache; value3.PropertyName = "Checked"; value4.DataObject = this.chkUsePrefetch; value4.PropertyName = "Checked"; value5.DataObject = this.chkStoreCredential; value5.PropertyName = "Checked"; value6.DataObject = this.cmbUploadFileNameCasing; value6.PropertyName = "SelectedItem"; value7.DataObject = this.cmbEncoding; value7.PropertyName = "SelectedIndex"; this.ValuesWatcher.Items.AddRange(new PropertyValue[] { value2, value3, value4, value5, value6, value7 }); manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.Controls.Add(panel); base.Name = "FtpOptionControl"; panel.ResumeLayout(false); panel.PerformLayout(); ((ISupportInitialize) this.ValuesWatcher).EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(CopyOptionControl)); PropertyValue value2 = new PropertyValue(); PropertyValue value3 = new PropertyValue(); PropertyValue value4 = new PropertyValue(); PropertyValue value5 = new PropertyValue(); PropertyValue value6 = new PropertyValue(); PropertyValue value7 = new PropertyValue(); PropertyValue value8 = new PropertyValue(); PropertyValue value9 = new PropertyValue(); this.chkAsyncFileCopy = new CheckBox(); this.chkCheckFreeSpace = new CheckBox(); this.chkClearROFromCD = new CheckBox(); this.chkCopyFolderTime = new CheckBox(); this.chkCopyItemACL = new CheckBox(); this.chkCopyItemTime = new CheckBox(); this.chkSkipEmptyFolders = new CheckBox(); this.chkUseSystemCopy = new CheckBox(); this.ValuesWatcher = new PropertyValuesWatcher(); ((ISupportInitialize) this.ValuesWatcher).BeginInit(); base.SuspendLayout(); manager.ApplyResources(this.chkAsyncFileCopy, "chkAsyncFileCopy"); this.chkAsyncFileCopy.Checked = true; this.chkAsyncFileCopy.CheckState = CheckState.Indeterminate; this.chkAsyncFileCopy.Name = "chkAsyncFileCopy"; this.chkAsyncFileCopy.ThreeState = true; this.chkAsyncFileCopy.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkCheckFreeSpace, "chkCheckFreeSpace"); this.chkCheckFreeSpace.Checked = true; this.chkCheckFreeSpace.CheckState = CheckState.Checked; this.chkCheckFreeSpace.Name = "chkCheckFreeSpace"; this.chkCheckFreeSpace.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkClearROFromCD, "chkClearROFromCD"); this.chkClearROFromCD.Name = "chkClearROFromCD"; this.chkClearROFromCD.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkCopyFolderTime, "chkCopyFolderTime"); this.chkCopyFolderTime.Name = "chkCopyFolderTime"; this.chkCopyFolderTime.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkCopyItemACL, "chkCopyItemACL"); this.chkCopyItemACL.Name = "chkCopyItemACL"; this.chkCopyItemACL.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkCopyItemTime, "chkCopyItemTime"); this.chkCopyItemTime.Checked = true; this.chkCopyItemTime.CheckState = CheckState.Checked; this.chkCopyItemTime.Name = "chkCopyItemTime"; this.chkCopyItemTime.UseVisualStyleBackColor = true; this.chkCopyItemTime.CheckedChanged += new EventHandler(this.chkCopyItemTime_CheckedChanged); manager.ApplyResources(this.chkSkipEmptyFolders, "chkSkipEmptyFolders"); this.chkSkipEmptyFolders.Name = "chkSkipEmptyFolders"; this.chkSkipEmptyFolders.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkUseSystemCopy, "chkUseSystemCopy"); this.chkUseSystemCopy.Name = "chkUseSystemCopy"; this.chkUseSystemCopy.UseVisualStyleBackColor = true; value2.DataObject = this.chkAsyncFileCopy; value2.PropertyName = "CheckState"; value3.DataObject = this.chkCheckFreeSpace; value3.PropertyName = "Checked"; value4.DataObject = this.chkClearROFromCD; value4.PropertyName = "Checked"; value5.DataObject = this.chkCopyFolderTime; value5.PropertyName = "Checked"; value6.DataObject = this.chkCopyItemACL; value6.PropertyName = "Checked"; value7.DataObject = this.chkCopyItemTime; value7.PropertyName = "Checked"; value8.DataObject = this.chkSkipEmptyFolders; value8.PropertyName = "Checked"; value9.DataObject = this.chkUseSystemCopy; value9.PropertyName = "Checked"; this.ValuesWatcher.Items.AddRange(new PropertyValue[] { value2, value3, value4, value5, value6, value7, value8, value9 }); manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.Controls.Add(this.chkUseSystemCopy); base.Controls.Add(this.chkCopyItemACL); base.Controls.Add(this.chkCopyItemTime); base.Controls.Add(this.chkAsyncFileCopy); base.Controls.Add(this.chkSkipEmptyFolders); base.Controls.Add(this.chkCheckFreeSpace); base.Controls.Add(this.chkClearROFromCD); base.Controls.Add(this.chkCopyFolderTime); base.Name = "CopyOptionControl"; ((ISupportInitialize) this.ValuesWatcher).EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(ConfirmationOptionControl)); PropertyValue value2 = new PropertyValue(); PropertyValue value3 = new PropertyValue(); PropertyValue value4 = new PropertyValue(); PropertyValue value5 = new PropertyValue(); PropertyValue value6 = new PropertyValue(); PropertyValue value7 = new PropertyValue(); PropertyValue value8 = new PropertyValue(); PropertyValue value9 = new PropertyValue(); PropertyValue value10 = new PropertyValue(); PropertyValue value11 = new PropertyValue(); PropertyValue value12 = new PropertyValue(); PropertyValue value13 = new PropertyValue(); PropertyValue value14 = new PropertyValue(); PropertyValue value15 = new PropertyValue(); PropertyValue value16 = new PropertyValue(); this.chkConfirmDeleteNonEmptyFolder = new CheckBox(); this.chkConfirmDeleteReadOnlyFile = new CheckBox(); this.chkConfirmDragDrop = new CheckBox(); this.chkConfirmPaste = new CheckBox(); this.chkConfirmCreateAnotherLink = new CheckBox(); this.chkShowSearchError = new CheckBox(); this.chkConfirmBookmarkFolder = new CheckBox(); this.chkConfirmDestinationItem = new CheckBox(); this.chkConfirmAnotherInstance = new CheckBox(); this.chkShowNavigationError = new CheckBox(); this.chkConfirmCloseTabs = new CheckBox(); this.chkConfirmExtractOnRun = new CheckBox(); this.chkConfirmSaveTabs = new CheckBox(); this.chkConfirmUploadChangedFileBack = new CheckBox(); this.btnRestoreConfirmations = new Button(); this.ValuesWatcher = new PropertyValuesWatcher(); this.chkConfirmCopyAlternateDataStreams = new CheckBox(); ((ISupportInitialize) this.ValuesWatcher).BeginInit(); base.SuspendLayout(); manager.ApplyResources(this.chkConfirmDeleteNonEmptyFolder, "chkConfirmDeleteNonEmptyFolder"); this.chkConfirmDeleteNonEmptyFolder.Name = "chkConfirmDeleteNonEmptyFolder"; this.chkConfirmDeleteNonEmptyFolder.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkConfirmDeleteReadOnlyFile, "chkConfirmDeleteReadOnlyFile"); this.chkConfirmDeleteReadOnlyFile.Name = "chkConfirmDeleteReadOnlyFile"; this.chkConfirmDeleteReadOnlyFile.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkConfirmDragDrop, "chkConfirmDragDrop"); this.chkConfirmDragDrop.Name = "chkConfirmDragDrop"; this.chkConfirmDragDrop.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkConfirmPaste, "chkConfirmPaste"); this.chkConfirmPaste.Name = "chkConfirmPaste"; this.chkConfirmPaste.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkConfirmCreateAnotherLink, "chkConfirmCreateAnotherLink"); this.chkConfirmCreateAnotherLink.Name = "chkConfirmCreateAnotherLink"; this.chkConfirmCreateAnotherLink.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkShowSearchError, "chkShowSearchError"); this.chkShowSearchError.Name = "chkShowSearchError"; this.chkShowSearchError.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkConfirmBookmarkFolder, "chkConfirmBookmarkFolder"); this.chkConfirmBookmarkFolder.Name = "chkConfirmBookmarkFolder"; this.chkConfirmBookmarkFolder.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkConfirmDestinationItem, "chkConfirmDestinationItem"); this.chkConfirmDestinationItem.Name = "chkConfirmDestinationItem"; this.chkConfirmDestinationItem.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkConfirmAnotherInstance, "chkConfirmAnotherInstance"); this.chkConfirmAnotherInstance.Name = "chkConfirmAnotherInstance"; this.chkConfirmAnotherInstance.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkShowNavigationError, "chkShowNavigationError"); this.chkShowNavigationError.Name = "chkShowNavigationError"; this.chkShowNavigationError.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkConfirmCloseTabs, "chkConfirmCloseTabs"); this.chkConfirmCloseTabs.Name = "chkConfirmCloseTabs"; this.chkConfirmCloseTabs.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkConfirmExtractOnRun, "chkConfirmExtractOnRun"); this.chkConfirmExtractOnRun.Name = "chkConfirmExtractOnRun"; this.chkConfirmExtractOnRun.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkConfirmSaveTabs, "chkConfirmSaveTabs"); this.chkConfirmSaveTabs.Name = "chkConfirmSaveTabs"; this.chkConfirmSaveTabs.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkConfirmUploadChangedFileBack, "chkConfirmUploadChangedFileBack"); this.chkConfirmUploadChangedFileBack.Name = "chkConfirmUploadChangedFileBack"; this.chkConfirmUploadChangedFileBack.UseVisualStyleBackColor = true; manager.ApplyResources(this.btnRestoreConfirmations, "btnRestoreConfirmations"); this.btnRestoreConfirmations.Name = "btnRestoreConfirmations"; this.btnRestoreConfirmations.UseVisualStyleBackColor = true; this.btnRestoreConfirmations.Click += new EventHandler(this.btnResetConfirmations_Click); value2.DataObject = this.chkConfirmDeleteNonEmptyFolder; value2.PropertyName = "Checked"; value3.DataObject = this.chkConfirmDeleteReadOnlyFile; value3.PropertyName = "Checked"; value4.DataObject = this.chkConfirmDragDrop; value4.PropertyName = "Checked"; value5.DataObject = this.chkConfirmPaste; value5.PropertyName = "Checked"; value6.DataObject = this.chkConfirmCreateAnotherLink; value6.PropertyName = "Checked"; value7.DataObject = this.chkShowSearchError; value7.PropertyName = "Checked"; value8.DataObject = this.chkConfirmBookmarkFolder; value8.PropertyName = "Checked"; value9.DataObject = this.chkConfirmDestinationItem; value9.PropertyName = "Checked"; value10.DataObject = this.chkConfirmAnotherInstance; value10.PropertyName = "Checked"; value11.DataObject = this.chkShowNavigationError; value11.PropertyName = "Checked"; value12.DataObject = this.chkConfirmCloseTabs; value12.PropertyName = "Checked"; value13.DataObject = this.chkConfirmExtractOnRun; value13.PropertyName = "Checked"; value14.DataObject = this.chkConfirmSaveTabs; value14.PropertyName = "Checked"; value15.DataObject = this.chkConfirmUploadChangedFileBack; value15.PropertyName = "Checked"; value16.DataObject = this.chkConfirmCopyAlternateDataStreams; value16.PropertyName = "Checked"; this.ValuesWatcher.Items.AddRange(new PropertyValue[] { value2, value3, value4, value5, value6, value7, value8, value9, value10, value11, value12, value13, value14, value15, value16 }); manager.ApplyResources(this.chkConfirmCopyAlternateDataStreams, "chkConfirmCopyAlternateDataStreams"); this.chkConfirmCopyAlternateDataStreams.Name = "chkConfirmCopyAlternateDataStreams"; this.chkConfirmCopyAlternateDataStreams.UseVisualStyleBackColor = true; manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.Controls.Add(this.chkConfirmCopyAlternateDataStreams); base.Controls.Add(this.chkConfirmUploadChangedFileBack); base.Controls.Add(this.btnRestoreConfirmations); base.Controls.Add(this.chkConfirmSaveTabs); base.Controls.Add(this.chkConfirmExtractOnRun); base.Controls.Add(this.chkConfirmCloseTabs); base.Controls.Add(this.chkShowNavigationError); base.Controls.Add(this.chkConfirmAnotherInstance); base.Controls.Add(this.chkConfirmDestinationItem); base.Controls.Add(this.chkConfirmBookmarkFolder); base.Controls.Add(this.chkConfirmPaste); base.Controls.Add(this.chkConfirmDragDrop); base.Controls.Add(this.chkConfirmCreateAnotherLink); base.Controls.Add(this.chkShowSearchError); base.Controls.Add(this.chkConfirmDeleteReadOnlyFile); base.Controls.Add(this.chkConfirmDeleteNonEmptyFolder); base.Name = "ConfirmationOptionControl"; ((ISupportInitialize) this.ValuesWatcher).EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
private PropertyValue Read151_PropertyValue(bool isNullable, bool checkType) { XmlQualifiedName type = checkType ? base.GetXsiType() : null; bool flag = false; if (isNullable) { flag = base.ReadNull(); } if ((checkType && (type != null)) && ((type.Name != this.id109_PropertyValue) || (type.Namespace != this.id2_Item))) { throw base.CreateUnknownTypeException(type); } if (flag) { return null; } PropertyValue o = new PropertyValue(); bool[] flagArray = new bool[2]; while (base.Reader.MoveToNextAttribute()) { if (!base.IsXmlnsAttribute(base.Reader.Name)) { base.UnknownNode(o); } } base.Reader.MoveToElement(); if (base.Reader.IsEmptyElement) { base.Reader.Skip(); return o; } base.Reader.ReadStartElement(); base.Reader.MoveToContent(); int whileIterations = 0; int readerCount = base.ReaderCount; while ((base.Reader.NodeType != XmlNodeType.EndElement) && (base.Reader.NodeType != XmlNodeType.None)) { if (base.Reader.NodeType == XmlNodeType.Element) { if ((!flagArray[0] && (base.Reader.LocalName == this.id263_DataObject)) && (base.Reader.NamespaceURI == this.id2_Item)) { o.DataObject = this.Read1_Object(false, true); flagArray[0] = true; } else if ((!flagArray[1] && (base.Reader.LocalName == this.id264_PropertyName)) && (base.Reader.NamespaceURI == this.id2_Item)) { o.PropertyName = base.Reader.ReadElementString(); flagArray[1] = true; } else { base.UnknownNode(o, ":DataObject, :PropertyName"); } } else { base.UnknownNode(o, ":DataObject, :PropertyName"); } base.Reader.MoveToContent(); base.CheckReaderCount(ref whileIterations, ref readerCount); } base.ReadEndElement(); return o; }
private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(ListViewOptionControl)); PropertyValue value2 = new PropertyValue(); PropertyValue value3 = new PropertyValue(); PropertyValue value4 = new PropertyValue(); PropertyValue value5 = new PropertyValue(); this.chkHideNameExtension = new CheckBox(); this.chkShowColumnLines = new CheckBox(); this.nudMinListColumnWidth = new NumericUpDown(); this.chkShowUpFolderItem = new CheckBox(); this.ValuesWatcher = new PropertyValuesWatcher(); TableLayoutPanel panel = new TableLayoutPanel(); Label control = new Label(); panel.SuspendLayout(); this.nudMinListColumnWidth.BeginInit(); ((ISupportInitialize) this.ValuesWatcher).BeginInit(); base.SuspendLayout(); manager.ApplyResources(panel, "tlpBack"); panel.Controls.Add(control, 0, 3); panel.Controls.Add(this.chkHideNameExtension, 0, 2); panel.Controls.Add(this.chkShowColumnLines, 0, 1); panel.Controls.Add(this.nudMinListColumnWidth, 1, 3); panel.Controls.Add(this.chkShowUpFolderItem, 0, 0); panel.Name = "tlpBack"; manager.ApplyResources(control, "lblMinListColumnWidth"); control.Name = "lblMinListColumnWidth"; manager.ApplyResources(this.chkHideNameExtension, "chkHideNameExtension"); panel.SetColumnSpan(this.chkHideNameExtension, 2); this.chkHideNameExtension.Name = "chkHideNameExtension"; this.chkHideNameExtension.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkShowColumnLines, "chkShowColumnLines"); panel.SetColumnSpan(this.chkShowColumnLines, 2); this.chkShowColumnLines.Name = "chkShowColumnLines"; this.chkShowColumnLines.UseVisualStyleBackColor = true; int[] bits = new int[4]; bits[0] = 5; this.nudMinListColumnWidth.Increment = new decimal(bits); manager.ApplyResources(this.nudMinListColumnWidth, "nudMinListColumnWidth"); bits = new int[4]; bits[0] = 500; this.nudMinListColumnWidth.Maximum = new decimal(bits); bits = new int[4]; bits[0] = 50; this.nudMinListColumnWidth.Minimum = new decimal(bits); this.nudMinListColumnWidth.Name = "nudMinListColumnWidth"; bits = new int[4]; bits[0] = 100; this.nudMinListColumnWidth.Value = new decimal(bits); manager.ApplyResources(this.chkShowUpFolderItem, "chkShowUpFolderItem"); panel.SetColumnSpan(this.chkShowUpFolderItem, 2); this.chkShowUpFolderItem.Name = "chkShowUpFolderItem"; this.chkShowUpFolderItem.UseVisualStyleBackColor = true; value2.DataObject = this.chkHideNameExtension; value2.PropertyName = "Checked"; value3.DataObject = this.chkShowColumnLines; value3.PropertyName = "Checked"; value4.DataObject = this.nudMinListColumnWidth; value4.PropertyName = "Value"; value5.DataObject = this.chkShowUpFolderItem; value5.PropertyName = "Checked"; this.ValuesWatcher.Items.AddRange(new PropertyValue[] { value2, value3, value4, value5 }); manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.Controls.Add(panel); base.Name = "ListViewOptionControl"; panel.ResumeLayout(false); panel.PerformLayout(); this.nudMinListColumnWidth.EndInit(); ((ISupportInitialize) this.ValuesWatcher).EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(AppAppearanceOptionControl)); PropertyValue value2 = new PropertyValue(); PropertyValue value3 = new PropertyValue(); PropertyValue value4 = new PropertyValue(); PropertyValue value5 = new PropertyValue(); this.chkUseVisualStyles = new System.Windows.Forms.CheckBox(); this.lblLanguage = new Label(); this.lblThemeFamily = new Label(); this.lblThemeColor = new Label(); this.lblLanguageFile = new Label(); this.chkExplorerTheme = new System.Windows.Forms.CheckBox(); this.cmbLanguage = new ComboBoxEx(); this.cmbThemeFamily = new ComboBoxEx(); this.cmbThemeColor = new ComboBoxEx(); this.ValuesWatcher = new PropertyValuesWatcher(); TableLayoutPanel panel = new TableLayoutPanel(); panel.SuspendLayout(); ((ISupportInitialize) this.ValuesWatcher).BeginInit(); base.SuspendLayout(); manager.ApplyResources(panel, "tlpBack"); panel.Controls.Add(this.chkUseVisualStyles, 0, 0); panel.Controls.Add(this.cmbLanguage, 1, 3); panel.Controls.Add(this.lblLanguage, 0, 3); panel.Controls.Add(this.cmbThemeFamily, 1, 2); panel.Controls.Add(this.lblThemeFamily, 0, 2); panel.Controls.Add(this.lblThemeColor, 2, 2); panel.Controls.Add(this.cmbThemeColor, 3, 2); panel.Controls.Add(this.lblLanguageFile, 2, 3); panel.Controls.Add(this.chkExplorerTheme, 0, 1); panel.Name = "tlpBack"; manager.ApplyResources(this.chkUseVisualStyles, "chkUseVisualStyles"); panel.SetColumnSpan(this.chkUseVisualStyles, 4); this.chkUseVisualStyles.Name = "chkUseVisualStyles"; this.chkUseVisualStyles.UseVisualStyleBackColor = true; this.chkUseVisualStyles.CheckedChanged += new EventHandler(this.chkUseVisualStyles_CheckedChanged); manager.ApplyResources(this.lblLanguage, "lblLanguage"); this.lblLanguage.Name = "lblLanguage"; manager.ApplyResources(this.lblThemeFamily, "lblThemeFamily"); this.lblThemeFamily.Name = "lblThemeFamily"; manager.ApplyResources(this.lblThemeColor, "lblThemeColor"); this.lblThemeColor.Name = "lblThemeColor"; manager.ApplyResources(this.lblLanguageFile, "lblLanguageFile"); this.lblLanguageFile.Name = "lblLanguageFile"; manager.ApplyResources(this.chkExplorerTheme, "chkExplorerTheme"); panel.SetColumnSpan(this.chkExplorerTheme, 4); this.chkExplorerTheme.Name = "chkExplorerTheme"; this.chkExplorerTheme.UseVisualStyleBackColor = true; manager.ApplyResources(this.cmbLanguage, "cmbLanguage"); this.cmbLanguage.DisplayMember = "DisplayName"; this.cmbLanguage.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbLanguage.FormattingEnabled = true; this.cmbLanguage.MinimumSize = new Size(120, 0); this.cmbLanguage.Name = "cmbLanguage"; this.cmbLanguage.ValueMember = "Name"; manager.ApplyResources(this.cmbThemeFamily, "cmbThemeFamily"); this.cmbThemeFamily.DisplayMember = "ThemeFamilyName"; this.cmbThemeFamily.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbThemeFamily.MinimumSize = new Size(120, 0); this.cmbThemeFamily.Name = "cmbThemeFamily"; this.cmbThemeFamily.Sorted = true; this.cmbThemeFamily.SelectedIndexChanged += new EventHandler(this.cmbThemeFamily_SelectedIndexChanged); manager.ApplyResources(this.cmbThemeColor, "cmbThemeColor"); this.cmbThemeColor.DisplayMember = "ThemeColorName"; this.cmbThemeColor.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbThemeColor.FormattingEnabled = true; this.cmbThemeColor.MinimumSize = new Size(110, 0); this.cmbThemeColor.Name = "cmbThemeColor"; this.cmbThemeColor.Sorted = true; value2.DataObject = this.chkUseVisualStyles; value2.PropertyName = "Checked"; value3.DataObject = this; value3.PropertyName = "SelectedTheme"; value4.DataObject = this.cmbLanguage; value4.PropertyName = "SelectedValue"; value5.DataObject = this.chkExplorerTheme; value5.PropertyName = "Checked"; this.ValuesWatcher.Items.AddRange(new PropertyValue[] { value2, value3, value4, value5 }); manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.Controls.Add(panel); base.Name = "AppAppearanceOptionControl"; panel.ResumeLayout(false); panel.PerformLayout(); ((ISupportInitialize) this.ValuesWatcher).EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.components = new Container(); ComponentResourceManager manager = new ComponentResourceManager(typeof(FormatsOptionControl)); PropertyValue value2 = new PropertyValue(); PropertyValue value3 = new PropertyValue(); PropertyValue value4 = new PropertyValue(); PropertyValue value5 = new PropertyValue(); PropertyValue value6 = new PropertyValue(); this.lblDateTimeFormat = new Label(); this.lblSizeFormat = new Label(); this.lblFolderNameSample = new Label(); this.lblDateTimeSample = new Label(); this.lblFileNameSample = new Label(); this.btnDateTimeFormat = new Button(); this.lblSizeSample = new Label(); this.lblFileNameCasing = new Label(); this.lblFolderNameCasing = new Label(); this.txtDateTimeFormat = new TextBox(); this.cmbFolderNameCasing = new ComboBoxEx(); this.cmbSizeFormat = new ComboBoxEx(); this.cmbFileNameCasing = new ComboBoxEx(); this.lblFolderNameTemplate = new Label(); this.cmbFolderNameTemplate = new ComboBoxEx(); this.cmsDateTimeFormat = new ContextMenuStrip(this.components); this.ValuesWatcher = new PropertyValuesWatcher(); ToolStripMenuItem item = new ToolStripMenuItem(); ToolStripMenuItem item2 = new ToolStripMenuItem(); ToolStripSeparator separator = new ToolStripSeparator(); ToolStripMenuItem item3 = new ToolStripMenuItem(); ToolStripMenuItem item4 = new ToolStripMenuItem(); ToolStripSeparator separator2 = new ToolStripSeparator(); ToolStripMenuItem item5 = new ToolStripMenuItem(); ToolStripMenuItem item6 = new ToolStripMenuItem(); ToolStripSeparator separator3 = new ToolStripSeparator(); ToolStripMenuItem item7 = new ToolStripMenuItem(); ToolStripMenuItem item8 = new ToolStripMenuItem(); ToolStripSeparator separator4 = new ToolStripSeparator(); ToolStripMenuItem item9 = new ToolStripMenuItem(); ToolStripMenuItem item10 = new ToolStripMenuItem(); ToolStripMenuItem item11 = new ToolStripMenuItem(); ToolStripMenuItem item12 = new ToolStripMenuItem(); ToolStripSeparator separator5 = new ToolStripSeparator(); ToolStripMenuItem item13 = new ToolStripMenuItem(); ToolStripMenuItem item14 = new ToolStripMenuItem(); ToolStripMenuItem item15 = new ToolStripMenuItem(); ToolStripMenuItem item16 = new ToolStripMenuItem(); ToolStripSeparator separator6 = new ToolStripSeparator(); ToolStripMenuItem item17 = new ToolStripMenuItem(); ToolStripMenuItem item18 = new ToolStripMenuItem(); ToolStripMenuItem item19 = new ToolStripMenuItem(); ToolStripMenuItem item20 = new ToolStripMenuItem(); ToolStripMenuItem item21 = new ToolStripMenuItem(); ToolStripSeparator separator7 = new ToolStripSeparator(); ToolStripMenuItem item22 = new ToolStripMenuItem(); ToolStripMenuItem item23 = new ToolStripMenuItem(); ToolStripMenuItem item24 = new ToolStripMenuItem(); ToolStripMenuItem item25 = new ToolStripMenuItem(); ToolStripSeparator separator8 = new ToolStripSeparator(); ToolStripMenuItem item26 = new ToolStripMenuItem(); ToolStripMenuItem item27 = new ToolStripMenuItem(); ToolStripSeparator separator9 = new ToolStripSeparator(); ToolStripMenuItem item28 = new ToolStripMenuItem(); ToolStripMenuItem item29 = new ToolStripMenuItem(); ToolStripSeparator separator10 = new ToolStripSeparator(); ToolStripMenuItem item30 = new ToolStripMenuItem(); ToolStripMenuItem item31 = new ToolStripMenuItem(); TableLayoutPanel panel = new TableLayoutPanel(); panel.SuspendLayout(); this.cmsDateTimeFormat.SuspendLayout(); ((ISupportInitialize) this.ValuesWatcher).BeginInit(); base.SuspendLayout(); item.Name = "tsmiPatternGeneralDateShortTime"; manager.ApplyResources(item, "tsmiPatternGeneralDateShortTime"); item.Tag = "g"; item.Paint += new PaintEventHandler(this.tsmiStandardDatePattern_Paint); item.Click += new EventHandler(this.tsmiStandardDatePattern_Click); item2.Name = "tsmiPatternGeneralDateLongTime"; manager.ApplyResources(item2, "tsmiPatternGeneralDateLongTime"); item2.Tag = "G"; item2.Paint += new PaintEventHandler(this.tsmiStandardDatePattern_Paint); item2.Click += new EventHandler(this.tsmiStandardDatePattern_Click); separator.Name = "tssStandardPattern1"; manager.ApplyResources(separator, "tssStandardPattern1"); separator.Click += new EventHandler(this.tsmiStandardDatePattern_Click); item3.Name = "tsmiPatternFullDateShortTime"; manager.ApplyResources(item3, "tsmiPatternFullDateShortTime"); item3.Tag = "f"; item3.Paint += new PaintEventHandler(this.tsmiStandardDatePattern_Paint); item3.Click += new EventHandler(this.tsmiStandardDatePattern_Click); item4.Name = "tsmiPatternFullDateLongTime"; manager.ApplyResources(item4, "tsmiPatternFullDateLongTime"); item4.Tag = "F"; item4.Paint += new PaintEventHandler(this.tsmiStandardDatePattern_Paint); item4.Click += new EventHandler(this.tsmiStandardDatePattern_Click); separator2.Name = "tssStandardPattern2"; manager.ApplyResources(separator2, "tssStandardPattern2"); separator2.Click += new EventHandler(this.tsmiStandardDatePattern_Click); item5.Name = "tsmiPatternShortDate"; manager.ApplyResources(item5, "tsmiPatternShortDate"); item5.Tag = "d"; item5.Paint += new PaintEventHandler(this.tsmiStandardDatePattern_Paint); item5.Click += new EventHandler(this.tsmiStandardDatePattern_Click); item6.Name = "tsmiPatternLongDate"; manager.ApplyResources(item6, "tsmiPatternLongDate"); item6.Tag = "D"; item6.Paint += new PaintEventHandler(this.tsmiStandardDatePattern_Paint); item6.Click += new EventHandler(this.tsmiStandardDatePattern_Click); separator3.Name = "tssStandardPattern3"; manager.ApplyResources(separator3, "tssStandardPattern3"); item7.DropDownItems.AddRange(new ToolStripItem[] { item8, separator4, item9, item10, item11, item12, separator5, item13, item14, item15, item16, separator6, item17, item18, item19 }); item7.Name = "tsmiCustomDateFormat"; manager.ApplyResources(item7, "tsmiCustomDateFormat"); item8.Name = "tsmiPatternDateSeparator"; manager.ApplyResources(item8, "tsmiPatternDateSeparator"); item8.Tag = "/"; item8.Paint += new PaintEventHandler(this.tsmiStandardDatePattern_Paint); item8.Click += new EventHandler(this.tsmiCustomDatePattern_Click); separator4.Name = "tssCustomDatePattern1"; manager.ApplyResources(separator4, "tssCustomDatePattern1"); item9.Name = "tsmiPatternDay1"; manager.ApplyResources(item9, "tsmiPatternDay1"); item9.Tag = "d"; item9.Paint += new PaintEventHandler(this.tsmiStandardDatePattern_Paint); item9.Click += new EventHandler(this.tsmiCustomDatePattern_Click); item10.Name = "tsmiPatternDay2"; manager.ApplyResources(item10, "tsmiPatternDay2"); item10.Tag = "dd"; item10.Paint += new PaintEventHandler(this.tsmiStandardDatePattern_Paint); item10.Click += new EventHandler(this.tsmiCustomDatePattern_Click); item11.Name = "tsmiPatternAbbreviatedDayName"; manager.ApplyResources(item11, "tsmiPatternAbbreviatedDayName"); item11.Tag = "ddd"; item11.Paint += new PaintEventHandler(this.tsmiStandardDatePattern_Paint); item11.Click += new EventHandler(this.tsmiCustomDatePattern_Click); item12.Name = "tsmiPatternFullDayName"; manager.ApplyResources(item12, "tsmiPatternFullDayName"); item12.Tag = "dddd"; item12.Paint += new PaintEventHandler(this.tsmiStandardDatePattern_Paint); item12.Click += new EventHandler(this.tsmiCustomDatePattern_Click); separator5.Name = "tssCustomDatePattern2"; manager.ApplyResources(separator5, "tssCustomDatePattern2"); item13.Name = "tsmiPatternMonth1"; manager.ApplyResources(item13, "tsmiPatternMonth1"); item13.Tag = "M"; item13.Paint += new PaintEventHandler(this.tsmiStandardDatePattern_Paint); item13.Click += new EventHandler(this.tsmiCustomDatePattern_Click); item14.Name = "tsmiPatternMonth2"; manager.ApplyResources(item14, "tsmiPatternMonth2"); item14.Tag = "MM"; item14.Paint += new PaintEventHandler(this.tsmiStandardDatePattern_Paint); item14.Click += new EventHandler(this.tsmiCustomDatePattern_Click); item15.Name = "tsmiPatternAbbreviatedMonthName"; manager.ApplyResources(item15, "tsmiPatternAbbreviatedMonthName"); item15.Tag = "MMM"; item15.Paint += new PaintEventHandler(this.tsmiStandardDatePattern_Paint); item15.Click += new EventHandler(this.tsmiCustomDatePattern_Click); item16.Name = "tsmiPatternFullMonthName"; manager.ApplyResources(item16, "tsmiPatternFullMonthName"); item16.Tag = "MMMM"; item16.Paint += new PaintEventHandler(this.tsmiStandardDatePattern_Paint); item16.Click += new EventHandler(this.tsmiCustomDatePattern_Click); separator6.Name = "tssCustomDatePattern3"; manager.ApplyResources(separator6, "tssCustomDatePattern3"); item17.Name = "tsmiPatternYear1"; manager.ApplyResources(item17, "tsmiPatternYear1"); item17.Tag = "y"; item17.Paint += new PaintEventHandler(this.tsmiStandardDatePattern_Paint); item17.Click += new EventHandler(this.tsmiCustomDatePattern_Click); item18.Name = "tsmiPatternYear2"; manager.ApplyResources(item18, "tsmiPatternYear2"); item18.Tag = "yy"; item18.Paint += new PaintEventHandler(this.tsmiStandardDatePattern_Paint); item18.Click += new EventHandler(this.tsmiCustomDatePattern_Click); item19.Name = "tsmiPatternYear3"; manager.ApplyResources(item19, "tsmiPatternYear3"); item19.Tag = "yyyy"; item19.Paint += new PaintEventHandler(this.tsmiStandardDatePattern_Paint); item19.Click += new EventHandler(this.tsmiCustomDatePattern_Click); item20.DropDownItems.AddRange(new ToolStripItem[] { item21, separator7, item22, item23, item24, item25, separator8, item26, item27, separator9, item28, item29, separator10, item30, item31 }); item20.Name = "tsmiCustomTimeFormat"; manager.ApplyResources(item20, "tsmiCustomTimeFormat"); item21.Name = "tsmiPatternTimeSeparator"; manager.ApplyResources(item21, "tsmiPatternTimeSeparator"); item21.Tag = ":"; item21.Paint += new PaintEventHandler(this.tsmiStandardDatePattern_Paint); item21.Click += new EventHandler(this.tsmiCustomDatePattern_Click); separator7.Name = "tssCustomTimePattern1"; manager.ApplyResources(separator7, "tssCustomTimePattern1"); item22.Name = "tsmiPatternHour1"; manager.ApplyResources(item22, "tsmiPatternHour1"); item22.Tag = "h"; item22.Paint += new PaintEventHandler(this.tsmiStandardDatePattern_Paint); item22.Click += new EventHandler(this.tsmiCustomDatePattern_Click); item23.Name = "tsmiPatternHour2"; manager.ApplyResources(item23, "tsmiPatternHour2"); item23.Tag = "hh"; item23.Paint += new PaintEventHandler(this.tsmiStandardDatePattern_Paint); item23.Click += new EventHandler(this.tsmiCustomDatePattern_Click); item24.Name = "tsmiPatternHour3"; manager.ApplyResources(item24, "tsmiPatternHour3"); item24.Tag = "H"; item24.Paint += new PaintEventHandler(this.tsmiStandardDatePattern_Paint); item24.Click += new EventHandler(this.tsmiCustomDatePattern_Click); item25.Name = "tsmiPatternHour4"; manager.ApplyResources(item25, "tsmiPatternHour4"); item25.Tag = "HH"; item25.Paint += new PaintEventHandler(this.tsmiStandardDatePattern_Paint); item25.Click += new EventHandler(this.tsmiCustomDatePattern_Click); separator8.Name = "tssCustomTimePattern2"; manager.ApplyResources(separator8, "tssCustomTimePattern2"); item26.Name = "tsmiPatternAMPM"; manager.ApplyResources(item26, "tsmiPatternAMPM"); item26.Tag = "tt"; item26.Paint += new PaintEventHandler(this.tsmiStandardDatePattern_Paint); item26.Click += new EventHandler(this.tsmiCustomDatePattern_Click); item27.Name = "tsmiPatternShortAMPM"; manager.ApplyResources(item27, "tsmiPatternShortAMPM"); item27.Tag = "t"; item27.Paint += new PaintEventHandler(this.tsmiStandardDatePattern_Paint); item27.Click += new EventHandler(this.tsmiCustomDatePattern_Click); separator9.Name = "tssCustomTimePattern3"; manager.ApplyResources(separator9, "tssCustomTimePattern3"); item28.Name = "tsmiPatternMinute1"; manager.ApplyResources(item28, "tsmiPatternMinute1"); item28.Tag = "m"; item28.Paint += new PaintEventHandler(this.tsmiStandardDatePattern_Paint); item28.Click += new EventHandler(this.tsmiCustomDatePattern_Click); item29.Name = "tsmiPatternMinute2"; manager.ApplyResources(item29, "tsmiPatternMinute2"); item29.Tag = "mm"; item29.Paint += new PaintEventHandler(this.tsmiStandardDatePattern_Paint); item29.Click += new EventHandler(this.tsmiCustomDatePattern_Click); separator10.Name = "tssCustomTimePattern4"; manager.ApplyResources(separator10, "tssCustomTimePattern4"); item30.Name = "tsmiPatternSeconds1"; manager.ApplyResources(item30, "tsmiPatternSeconds1"); item30.Tag = "s"; item30.Paint += new PaintEventHandler(this.tsmiStandardDatePattern_Paint); item30.Click += new EventHandler(this.tsmiCustomDatePattern_Click); item31.Name = "tsmiPatternSeconds2"; manager.ApplyResources(item31, "tsmiPatternSeconds2"); item31.Tag = "ss"; item31.Paint += new PaintEventHandler(this.tsmiStandardDatePattern_Paint); item31.Click += new EventHandler(this.tsmiCustomDatePattern_Click); manager.ApplyResources(panel, "tlpBack"); panel.Controls.Add(this.lblDateTimeFormat, 0, 0); panel.Controls.Add(this.lblSizeFormat, 0, 1); panel.Controls.Add(this.lblFolderNameSample, 2, 3); panel.Controls.Add(this.lblDateTimeSample, 3, 0); panel.Controls.Add(this.lblFileNameSample, 2, 2); panel.Controls.Add(this.btnDateTimeFormat, 2, 0); panel.Controls.Add(this.lblSizeSample, 2, 1); panel.Controls.Add(this.lblFileNameCasing, 0, 2); panel.Controls.Add(this.lblFolderNameCasing, 0, 3); panel.Controls.Add(this.txtDateTimeFormat, 1, 0); panel.Controls.Add(this.cmbFolderNameCasing, 1, 3); panel.Controls.Add(this.cmbSizeFormat, 1, 1); panel.Controls.Add(this.cmbFileNameCasing, 1, 2); panel.Controls.Add(this.lblFolderNameTemplate, 0, 4); panel.Controls.Add(this.cmbFolderNameTemplate, 1, 4); panel.Name = "tlpBack"; manager.ApplyResources(this.lblDateTimeFormat, "lblDateTimeFormat"); this.lblDateTimeFormat.Name = "lblDateTimeFormat"; manager.ApplyResources(this.lblSizeFormat, "lblSizeFormat"); this.lblSizeFormat.Name = "lblSizeFormat"; manager.ApplyResources(this.lblFolderNameSample, "lblFolderNameSample"); panel.SetColumnSpan(this.lblFolderNameSample, 2); this.lblFolderNameSample.Name = "lblFolderNameSample"; panel.SetRowSpan(this.lblFolderNameSample, 2); manager.ApplyResources(this.lblDateTimeSample, "lblDateTimeSample"); this.lblDateTimeSample.Name = "lblDateTimeSample"; manager.ApplyResources(this.lblFileNameSample, "lblFileNameSample"); panel.SetColumnSpan(this.lblFileNameSample, 2); this.lblFileNameSample.Name = "lblFileNameSample"; this.btnDateTimeFormat.Image = Resources.SmallDownArrow; manager.ApplyResources(this.btnDateTimeFormat, "btnDateTimeFormat"); this.btnDateTimeFormat.Name = "btnDateTimeFormat"; this.btnDateTimeFormat.UseVisualStyleBackColor = true; this.btnDateTimeFormat.Click += new EventHandler(this.btnDateTimeFormat_Click); manager.ApplyResources(this.lblSizeSample, "lblSizeSample"); panel.SetColumnSpan(this.lblSizeSample, 2); this.lblSizeSample.Name = "lblSizeSample"; manager.ApplyResources(this.lblFileNameCasing, "lblFileNameCasing"); this.lblFileNameCasing.Name = "lblFileNameCasing"; manager.ApplyResources(this.lblFolderNameCasing, "lblFolderNameCasing"); this.lblFolderNameCasing.Name = "lblFolderNameCasing"; manager.ApplyResources(this.txtDateTimeFormat, "txtDateTimeFormat"); this.txtDateTimeFormat.Name = "txtDateTimeFormat"; this.txtDateTimeFormat.TextChanged += new EventHandler(this.txtDateTimeFormat_TextChanged); manager.ApplyResources(this.cmbFolderNameCasing, "cmbFolderNameCasing"); this.cmbFolderNameCasing.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbFolderNameCasing.FormattingEnabled = true; this.cmbFolderNameCasing.Name = "cmbFolderNameCasing"; this.cmbFolderNameCasing.SelectedIndexChanged += new EventHandler(this.cmbFolderNameCasing_SelectedIndexChanged); manager.ApplyResources(this.cmbSizeFormat, "cmbSizeFormat"); this.cmbSizeFormat.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbSizeFormat.FormattingEnabled = true; this.cmbSizeFormat.Name = "cmbSizeFormat"; this.cmbSizeFormat.SelectedIndexChanged += new EventHandler(this.cmbSizeFormat_SelectedIndexChanged); manager.ApplyResources(this.cmbFileNameCasing, "cmbFileNameCasing"); this.cmbFileNameCasing.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbFileNameCasing.FormattingEnabled = true; this.cmbFileNameCasing.Name = "cmbFileNameCasing"; this.cmbFileNameCasing.SelectedIndexChanged += new EventHandler(this.cmbFileNameCasing_SelectedIndexChanged); manager.ApplyResources(this.lblFolderNameTemplate, "lblFolderNameTemplate"); this.lblFolderNameTemplate.Name = "lblFolderNameTemplate"; manager.ApplyResources(this.cmbFolderNameTemplate, "cmbFolderNameTemplate"); this.cmbFolderNameTemplate.DisplayMember = "Key"; this.cmbFolderNameTemplate.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbFolderNameTemplate.FormattingEnabled = true; this.cmbFolderNameTemplate.Items.AddRange(new object[] { manager.GetString("cmbFolderNameTemplate.Items") }); this.cmbFolderNameTemplate.Name = "cmbFolderNameTemplate"; this.cmbFolderNameTemplate.ValueMember = "Value"; this.cmbFolderNameTemplate.SelectedIndexChanged += new EventHandler(this.cmbFolderNameCasing_SelectedIndexChanged); this.cmsDateTimeFormat.Items.AddRange(new ToolStripItem[] { item, item2, separator, item3, item4, separator2, item5, item6, separator3, item7, item20 }); this.cmsDateTimeFormat.Name = "cmsDateTimeFormat"; manager.ApplyResources(this.cmsDateTimeFormat, "cmsDateTimeFormat"); value2.DataObject = this.txtDateTimeFormat; value2.PropertyName = "Text"; value3.DataObject = this.cmbSizeFormat; value3.PropertyName = "SelectedItem"; value4.DataObject = this.cmbFileNameCasing; value4.PropertyName = "SelectedItem"; value5.DataObject = this.cmbFolderNameCasing; value5.PropertyName = "SelectedItem"; value6.DataObject = this.cmbFolderNameTemplate; value6.PropertyName = "SelectedIndex"; this.ValuesWatcher.Items.AddRange(new PropertyValue[] { value2, value3, value4, value5, value6 }); manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.Controls.Add(panel); base.Name = "FormatsOptionControl"; panel.ResumeLayout(false); panel.PerformLayout(); this.cmsDateTimeFormat.ResumeLayout(false); ((ISupportInitialize) this.ValuesWatcher).EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.components = new Container(); ComponentResourceManager manager = new ComponentResourceManager(typeof(CustomizeFolderDialog)); PropertyValue value2 = new PropertyValue(); PropertyValue value3 = new PropertyValue(); PropertyValue value4 = new PropertyValue(); PropertyValue value5 = new PropertyValue(); PropertyValue value6 = new PropertyValue(); PropertyValue value7 = new PropertyValue(); PropertyValue value8 = new PropertyValue(); PropertyValue value9 = new PropertyValue(); this.btnCustomizeFilter = new Button(); this.btnCustomizeColumns = new Button(); this.cmbView = new ComboBox(); this.chkCustomizeColumns = new CheckBox(); this.chkCustomizeView = new CheckBox(); this.chkCustomizeFilter = new CheckBox(); this.chkCustomizeSort = new CheckBox(); this.btnCustomizeSort = new Button(); this.chkCustomizeIcon = new CheckBox(); this.btnBrowseIcon = new Button(); this.txtIconLocation = new TextBox(); this.pnlIcon = new PanelEx(); this.picIcon = new PictureBox(); this.btnListForeColor = new ColorButton(); this.btnListBackColor = new ColorButton(); this.chkApplyToChildren = new CheckBox(); this.btnOk = new Button(); this.btnCancel = new Button(); this.imgViews = new ImageList(this.components); this.CheckWatcher = new PropertyValuesWatcher(); this.BrowseIconDialog = new OpenFileDialog(); this.btnClear = new Button(); this.tlpBack = new TableLayoutPanel(); this.lblFolder = new Label(); this.tsFolder = new VirtualItemToolStrip(this.components); this.tlpButtons = new TableLayoutPanel(); this.bvlButtons = new Bevel(); GroupBox box = new GroupBox(); TableLayoutPanel panel = new TableLayoutPanel(); GroupBox box2 = new GroupBox(); TableLayoutPanel panel2 = new TableLayoutPanel(); GroupBox box3 = new GroupBox(); TableLayoutPanel panel3 = new TableLayoutPanel(); Label control = new Label(); Label label2 = new Label(); box.SuspendLayout(); panel.SuspendLayout(); box2.SuspendLayout(); panel2.SuspendLayout(); this.pnlIcon.SuspendLayout(); ((ISupportInitialize) this.picIcon).BeginInit(); box3.SuspendLayout(); panel3.SuspendLayout(); ((ISupportInitialize) this.CheckWatcher).BeginInit(); this.tlpBack.SuspendLayout(); this.tlpButtons.SuspendLayout(); base.SuspendLayout(); manager.ApplyResources(box, "grpOptions"); box.Controls.Add(panel); box.Name = "grpOptions"; box.TabStop = false; manager.ApplyResources(panel, "tlpOptions"); panel.Controls.Add(this.btnCustomizeFilter, 1, 0); panel.Controls.Add(this.btnCustomizeColumns, 1, 3); panel.Controls.Add(this.cmbView, 1, 2); panel.Controls.Add(this.chkCustomizeColumns, 0, 3); panel.Controls.Add(this.chkCustomizeView, 0, 2); panel.Controls.Add(this.chkCustomizeFilter, 0, 0); panel.Controls.Add(this.chkCustomizeSort, 0, 1); panel.Controls.Add(this.btnCustomizeSort, 1, 1); panel.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel.Name = "tlpOptions"; manager.ApplyResources(this.btnCustomizeFilter, "btnCustomizeFilter"); this.btnCustomizeFilter.Name = "btnCustomizeFilter"; this.btnCustomizeFilter.UseVisualStyleBackColor = true; this.btnCustomizeFilter.Click += new EventHandler(this.btnCustomizeFilter_Click); manager.ApplyResources(this.btnCustomizeColumns, "btnCustomizeColumns"); this.btnCustomizeColumns.Name = "btnCustomizeColumns"; this.btnCustomizeColumns.UseVisualStyleBackColor = true; this.btnCustomizeColumns.Click += new EventHandler(this.btnCustomizeColumns_Click); this.cmbView.DrawMode = DrawMode.OwnerDrawFixed; this.cmbView.DropDownStyle = ComboBoxStyle.DropDownList; manager.ApplyResources(this.cmbView, "cmbView"); this.cmbView.FormattingEnabled = true; this.cmbView.Name = "cmbView"; this.cmbView.DrawItem += new DrawItemEventHandler(this.cmbView_DrawItem); this.cmbView.SelectedIndexChanged += new EventHandler(this.UpdateButtons); manager.ApplyResources(this.chkCustomizeColumns, "chkCustomizeColumns"); this.chkCustomizeColumns.Name = "chkCustomizeColumns"; this.chkCustomizeColumns.UseVisualStyleBackColor = true; this.chkCustomizeColumns.CheckedChanged += new EventHandler(this.UpdateButtons); manager.ApplyResources(this.chkCustomizeView, "chkCustomizeView"); this.chkCustomizeView.Name = "chkCustomizeView"; this.chkCustomizeView.UseVisualStyleBackColor = true; this.chkCustomizeView.CheckedChanged += new EventHandler(this.UpdateButtons); manager.ApplyResources(this.chkCustomizeFilter, "chkCustomizeFilter"); this.chkCustomizeFilter.Name = "chkCustomizeFilter"; this.chkCustomizeFilter.UseVisualStyleBackColor = true; this.chkCustomizeFilter.CheckedChanged += new EventHandler(this.UpdateButtons); manager.ApplyResources(this.chkCustomizeSort, "chkCustomizeSort"); this.chkCustomizeSort.Name = "chkCustomizeSort"; this.chkCustomizeSort.UseVisualStyleBackColor = true; this.chkCustomizeSort.CheckedChanged += new EventHandler(this.UpdateButtons); manager.ApplyResources(this.btnCustomizeSort, "btnCustomizeSort"); this.btnCustomizeSort.Name = "btnCustomizeSort"; this.btnCustomizeSort.UseVisualStyleBackColor = true; this.btnCustomizeSort.Click += new EventHandler(this.btnCustomizeSort_Click); manager.ApplyResources(box2, "grpIcon"); box2.Controls.Add(panel2); box2.Name = "grpIcon"; box2.TabStop = false; manager.ApplyResources(panel2, "tlpIcon"); panel2.Controls.Add(this.chkCustomizeIcon, 0, 0); panel2.Controls.Add(this.btnBrowseIcon, 2, 2); panel2.Controls.Add(this.txtIconLocation, 1, 1); panel2.Controls.Add(this.pnlIcon, 0, 1); panel2.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel2.Name = "tlpIcon"; manager.ApplyResources(this.chkCustomizeIcon, "chkCustomizeIcon"); panel2.SetColumnSpan(this.chkCustomizeIcon, 3); this.chkCustomizeIcon.Name = "chkCustomizeIcon"; this.chkCustomizeIcon.UseVisualStyleBackColor = true; this.chkCustomizeIcon.CheckedChanged += new EventHandler(this.chkCustomizeIcon_CheckedChanged); manager.ApplyResources(this.btnBrowseIcon, "btnBrowseIcon"); this.btnBrowseIcon.Name = "btnBrowseIcon"; this.btnBrowseIcon.UseVisualStyleBackColor = true; this.btnBrowseIcon.Click += new EventHandler(this.btnBrowseIcon_Click); this.btnBrowseIcon.SizeChanged += new EventHandler(this.btnBrowseIcon_SizeChanged); panel2.SetColumnSpan(this.txtIconLocation, 2); manager.ApplyResources(this.txtIconLocation, "txtIconLocation"); this.txtIconLocation.Name = "txtIconLocation"; this.txtIconLocation.Validated += new EventHandler(this.txtIconLocation_Validated); this.txtIconLocation.Enter += new EventHandler(this.txtIconLocation_Enter); this.pnlIcon.BorderColor = Color.FromArgb(0xa7, 0xa6, 170); this.pnlIcon.Controls.Add(this.picIcon); manager.ApplyResources(this.pnlIcon, "pnlIcon"); this.pnlIcon.Name = "pnlIcon"; panel2.SetRowSpan(this.pnlIcon, 2); manager.ApplyResources(this.picIcon, "picIcon"); this.picIcon.Name = "picIcon"; this.picIcon.TabStop = false; manager.ApplyResources(box3, "grpListColors"); box3.Controls.Add(panel3); box3.Name = "grpListColors"; box3.TabStop = false; manager.ApplyResources(panel3, "tlpListColors"); panel3.Controls.Add(control, 0, 0); panel3.Controls.Add(this.btnListForeColor, 1, 1); panel3.Controls.Add(label2, 0, 1); panel3.Controls.Add(this.btnListBackColor, 1, 0); panel3.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel3.Name = "tlpListColors"; manager.ApplyResources(control, "lblListBackColor"); control.Name = "lblListBackColor"; this.btnListForeColor.Image = null; manager.ApplyResources(this.btnListForeColor, "btnListForeColor"); this.btnListForeColor.Name = "btnListForeColor"; this.btnListForeColor.UseVisualStyleBackColor = true; this.btnListForeColor.ColorChanged += new EventHandler(this.UpdateButtons); manager.ApplyResources(label2, "lblListForeColor"); label2.Name = "lblListForeColor"; this.btnListBackColor.Image = null; manager.ApplyResources(this.btnListBackColor, "btnListBackColor"); this.btnListBackColor.Name = "btnListBackColor"; this.btnListBackColor.UseVisualStyleBackColor = true; this.btnListBackColor.ColorChanged += new EventHandler(this.UpdateButtons); manager.ApplyResources(this.chkApplyToChildren, "chkApplyToChildren"); this.chkApplyToChildren.Name = "chkApplyToChildren"; this.chkApplyToChildren.UseVisualStyleBackColor = true; this.chkApplyToChildren.CheckedChanged += new EventHandler(this.UpdateButtons); manager.ApplyResources(this.btnOk, "btnOk"); this.btnOk.DialogResult = DialogResult.OK; this.btnOk.Name = "btnOk"; this.btnOk.UseVisualStyleBackColor = true; manager.ApplyResources(this.btnCancel, "btnCancel"); this.btnCancel.DialogResult = DialogResult.Cancel; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseVisualStyleBackColor = true; this.imgViews.ColorDepth = ColorDepth.Depth32Bit; manager.ApplyResources(this.imgViews, "imgViews"); this.imgViews.TransparentColor = Color.Transparent; value2.DataObject = this.chkCustomizeFilter; value2.PropertyName = "Checked"; value3.DataObject = this.chkCustomizeSort; value3.PropertyName = "Checked"; value4.DataObject = this.chkCustomizeView; value4.PropertyName = "Checked"; value5.DataObject = this.chkCustomizeColumns; value5.PropertyName = "Checked"; value6.DataObject = this.chkCustomizeIcon; value6.PropertyName = "Checked"; value7.DataObject = this.btnListBackColor; value7.PropertyName = "Color"; value8.DataObject = this.btnListForeColor; value8.PropertyName = "Color"; value9.DataObject = this.chkApplyToChildren; value9.PropertyName = "Checked"; this.CheckWatcher.Items.AddRange(new PropertyValue[] { value2, value3, value4, value5, value6, value7, value8, value9 }); this.BrowseIconDialog.AddExtension = false; manager.ApplyResources(this.BrowseIconDialog, "BrowseIconDialog"); manager.ApplyResources(this.btnClear, "btnClear"); this.btnClear.Name = "btnClear"; this.btnClear.UseVisualStyleBackColor = true; this.btnClear.Click += new EventHandler(this.btnClear_Click); manager.ApplyResources(this.tlpBack, "tlpBack"); this.tlpBack.Controls.Add(this.lblFolder, 0, 0); this.tlpBack.Controls.Add(this.chkApplyToChildren, 0, 5); this.tlpBack.Controls.Add(box2, 0, 2); this.tlpBack.Controls.Add(this.tsFolder, 0, 1); this.tlpBack.Controls.Add(box, 0, 4); this.tlpBack.Controls.Add(box3, 0, 3); this.tlpBack.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; this.tlpBack.Name = "tlpBack"; manager.ApplyResources(this.lblFolder, "lblFolder"); this.lblFolder.Name = "lblFolder"; this.tsFolder.BackColor = SystemColors.ButtonFace; manager.ApplyResources(this.tsFolder, "tsFolder"); this.tsFolder.GripStyle = ToolStripGripStyle.Hidden; this.tsFolder.MinimumSize = new Size(0, 0x19); this.tsFolder.Name = "tsFolder"; manager.ApplyResources(this.tlpButtons, "tlpButtons"); this.tlpButtons.Controls.Add(this.btnOk, 1, 0); this.tlpButtons.Controls.Add(this.btnClear, 2, 0); this.tlpButtons.Controls.Add(this.btnCancel, 3, 0); this.tlpButtons.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; this.tlpButtons.Name = "tlpButtons"; manager.ApplyResources(this.bvlButtons, "bvlButtons"); this.bvlButtons.ForeColor = SystemColors.ControlDarkDark; this.bvlButtons.Name = "bvlButtons"; this.bvlButtons.Sides = Border3DSide.Top; this.bvlButtons.Style = Border3DStyle.Flat; base.AcceptButton = this.btnOk; manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.CancelButton = this.btnCancel; base.Controls.Add(this.tlpButtons); base.Controls.Add(this.bvlButtons); base.Controls.Add(this.tlpBack); base.FixMouseWheel = Settings.Default.FixMouseWheel; base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "CustomizeFolderDialog"; base.ShowInTaskbar = false; base.Shown += new EventHandler(this.UpdateButtons); box.ResumeLayout(false); box.PerformLayout(); panel.ResumeLayout(false); panel.PerformLayout(); box2.ResumeLayout(false); box2.PerformLayout(); panel2.ResumeLayout(false); panel2.PerformLayout(); this.pnlIcon.ResumeLayout(false); ((ISupportInitialize) this.picIcon).EndInit(); box3.ResumeLayout(false); box3.PerformLayout(); panel3.ResumeLayout(false); panel3.PerformLayout(); ((ISupportInitialize) this.CheckWatcher).EndInit(); this.tlpBack.ResumeLayout(false); this.tlpBack.PerformLayout(); this.tlpButtons.ResumeLayout(false); this.tlpButtons.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(AutoCompleteOptionControl)); PropertyValue value2 = new PropertyValue(); PropertyValue value3 = new PropertyValue(); PropertyValue value4 = new PropertyValue(); PropertyValue value5 = new PropertyValue(); PropertyValue value6 = new PropertyValue(); this.cmbAutoCompleteMode = new ComboBoxEx(); this.chkSourceFileSystem = new CheckBox(); this.chkSourceEnvironmentVariables = new CheckBox(); this.chkSourceKnownShellFolders = new CheckBox(); this.chkSourceRecentItems = new CheckBox(); this.ValuesWatcher = new PropertyValuesWatcher(); TableLayoutPanel panel = new TableLayoutPanel(); Label control = new Label(); panel.SuspendLayout(); ((ISupportInitialize) this.ValuesWatcher).BeginInit(); base.SuspendLayout(); manager.ApplyResources(panel, "tlpBack"); panel.Controls.Add(control, 0, 0); panel.Controls.Add(this.cmbAutoCompleteMode, 1, 0); panel.Controls.Add(this.chkSourceFileSystem, 0, 1); panel.Controls.Add(this.chkSourceEnvironmentVariables, 0, 2); panel.Controls.Add(this.chkSourceKnownShellFolders, 0, 3); panel.Controls.Add(this.chkSourceRecentItems, 0, 4); panel.Name = "tlpBack"; manager.ApplyResources(control, "lblAutoCompleteMode"); control.Name = "lblAutoCompleteMode"; manager.ApplyResources(this.cmbAutoCompleteMode, "cmbAutoCompleteMode"); this.cmbAutoCompleteMode.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbAutoCompleteMode.FormattingEnabled = true; this.cmbAutoCompleteMode.MinimumSize = new Size(120, 0); this.cmbAutoCompleteMode.Name = "cmbAutoCompleteMode"; this.cmbAutoCompleteMode.SelectedIndexChanged += new EventHandler(this.cmbAutoCompleteMode_SelectedIndexChanged); manager.ApplyResources(this.chkSourceFileSystem, "chkSourceFileSystem"); panel.SetColumnSpan(this.chkSourceFileSystem, 2); this.chkSourceFileSystem.Name = "chkSourceFileSystem"; this.chkSourceFileSystem.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkSourceEnvironmentVariables, "chkSourceEnvironmentVariables"); panel.SetColumnSpan(this.chkSourceEnvironmentVariables, 2); this.chkSourceEnvironmentVariables.Name = "chkSourceEnvironmentVariables"; this.chkSourceEnvironmentVariables.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkSourceKnownShellFolders, "chkSourceKnownShellFolders"); panel.SetColumnSpan(this.chkSourceKnownShellFolders, 2); this.chkSourceKnownShellFolders.Name = "chkSourceKnownShellFolders"; this.chkSourceKnownShellFolders.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkSourceRecentItems, "chkSourceRecentItems"); panel.SetColumnSpan(this.chkSourceRecentItems, 2); this.chkSourceRecentItems.Name = "chkSourceRecentItems"; this.chkSourceRecentItems.UseVisualStyleBackColor = true; value2.DataObject = this.cmbAutoCompleteMode; value2.PropertyName = "SelectedItem"; value3.DataObject = this.chkSourceFileSystem; value3.PropertyName = "Checked"; value4.DataObject = this.chkSourceEnvironmentVariables; value4.PropertyName = "Checked"; value5.DataObject = this.chkSourceKnownShellFolders; value5.PropertyName = "Checked"; value6.DataObject = this.chkSourceRecentItems; value6.PropertyName = "Checked"; this.ValuesWatcher.Items.AddRange(new PropertyValue[] { value2, value3, value4, value5, value6 }); manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.Controls.Add(panel); base.Name = "AutoCompleteOptionControl"; panel.ResumeLayout(false); panel.PerformLayout(); ((ISupportInitialize) this.ValuesWatcher).EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(BehaviorOptionControl)); PropertyValue value2 = new PropertyValue(); PropertyValue value3 = new PropertyValue(); PropertyValue value4 = new PropertyValue(); PropertyValue value5 = new PropertyValue(); PropertyValue value6 = new PropertyValue(); PropertyValue value7 = new PropertyValue(); PropertyValue value8 = new PropertyValue(); PropertyValue value9 = new PropertyValue(); PropertyValue value10 = new PropertyValue(); this.chkRightClickSelect = new CheckBox(); this.chkRunInThread = new CheckBox(); this.chkClearSelectionBeforeWork = new CheckBox(); this.chkShowKeyboardCues = new CheckBox(); this.chkDeleteToBin = new CheckBox(); this.chkHideNotReadyDrives = new CheckBox(); this.chkProcessFolderShortcuts = new CheckBox(); this.cmbEmptySpaceDoubleClickAction = new ComboBoxEx(); this.ValuesWatcher = new PropertyValuesWatcher(); this.chkMinimizeToTray = new CheckBox(); TableLayoutPanel panel = new TableLayoutPanel(); Label control = new Label(); panel.SuspendLayout(); ((ISupportInitialize) this.ValuesWatcher).BeginInit(); base.SuspendLayout(); manager.ApplyResources(panel, "tlpBack"); panel.Controls.Add(this.chkRightClickSelect, 0, 0); panel.Controls.Add(this.chkRunInThread, 0, 6); panel.Controls.Add(this.chkClearSelectionBeforeWork, 0, 1); panel.Controls.Add(this.chkShowKeyboardCues, 0, 5); panel.Controls.Add(this.chkDeleteToBin, 0, 2); panel.Controls.Add(this.chkHideNotReadyDrives, 0, 4); panel.Controls.Add(this.chkProcessFolderShortcuts, 0, 3); panel.Controls.Add(control, 0, 8); panel.Controls.Add(this.cmbEmptySpaceDoubleClickAction, 1, 8); panel.Controls.Add(this.chkMinimizeToTray, 0, 7); panel.Name = "tlpBack"; manager.ApplyResources(this.chkRightClickSelect, "chkRightClickSelect"); panel.SetColumnSpan(this.chkRightClickSelect, 2); this.chkRightClickSelect.Name = "chkRightClickSelect"; this.chkRightClickSelect.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkRunInThread, "chkRunInThread"); panel.SetColumnSpan(this.chkRunInThread, 2); this.chkRunInThread.Name = "chkRunInThread"; this.chkRunInThread.ThreeState = true; this.chkRunInThread.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkClearSelectionBeforeWork, "chkClearSelectionBeforeWork"); panel.SetColumnSpan(this.chkClearSelectionBeforeWork, 2); this.chkClearSelectionBeforeWork.Name = "chkClearSelectionBeforeWork"; this.chkClearSelectionBeforeWork.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkShowKeyboardCues, "chkShowKeyboardCues"); panel.SetColumnSpan(this.chkShowKeyboardCues, 2); this.chkShowKeyboardCues.Name = "chkShowKeyboardCues"; this.chkShowKeyboardCues.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkDeleteToBin, "chkDeleteToBin"); panel.SetColumnSpan(this.chkDeleteToBin, 2); this.chkDeleteToBin.Name = "chkDeleteToBin"; this.chkDeleteToBin.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkHideNotReadyDrives, "chkHideNotReadyDrives"); panel.SetColumnSpan(this.chkHideNotReadyDrives, 2); this.chkHideNotReadyDrives.Name = "chkHideNotReadyDrives"; this.chkHideNotReadyDrives.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkProcessFolderShortcuts, "chkProcessFolderShortcuts"); panel.SetColumnSpan(this.chkProcessFolderShortcuts, 2); this.chkProcessFolderShortcuts.Name = "chkProcessFolderShortcuts"; this.chkProcessFolderShortcuts.UseVisualStyleBackColor = true; manager.ApplyResources(control, "lblEmptySpaceDoubleClickAction"); control.Name = "lblEmptySpaceDoubleClickAction"; manager.ApplyResources(this.cmbEmptySpaceDoubleClickAction, "cmbEmptySpaceDoubleClickAction"); this.cmbEmptySpaceDoubleClickAction.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbEmptySpaceDoubleClickAction.FormattingEnabled = true; this.cmbEmptySpaceDoubleClickAction.MinimumSize = new Size(120, 0); this.cmbEmptySpaceDoubleClickAction.Name = "cmbEmptySpaceDoubleClickAction"; value2.DataObject = this.chkDeleteToBin; value2.PropertyName = "Checked"; value3.DataObject = this.chkHideNotReadyDrives; value3.PropertyName = "Checked"; value4.DataObject = this.chkProcessFolderShortcuts; value4.PropertyName = "Checked"; value5.DataObject = this.chkShowKeyboardCues; value5.PropertyName = "Checked"; value6.DataObject = this.chkRightClickSelect; value6.PropertyName = "Checked"; value7.DataObject = this.chkRunInThread; value7.PropertyName = "CheckState"; value8.DataObject = this.chkClearSelectionBeforeWork; value8.PropertyName = "Checked"; value9.DataObject = this.cmbEmptySpaceDoubleClickAction; value9.PropertyName = "SelectedItem"; value10.DataObject = this.chkMinimizeToTray; value10.PropertyName = "Checked"; this.ValuesWatcher.Items.AddRange(new PropertyValue[] { value2, value3, value4, value5, value6, value7, value8, value9, value10 }); manager.ApplyResources(this.chkMinimizeToTray, "chkMinimizeToTray"); panel.SetColumnSpan(this.chkMinimizeToTray, 2); this.chkMinimizeToTray.Name = "chkMinimizeToTray"; this.chkMinimizeToTray.UseVisualStyleBackColor = true; manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.Controls.Add(panel); base.Name = "BehaviorOptionControl"; panel.ResumeLayout(false); panel.PerformLayout(); ((ISupportInitialize) this.ValuesWatcher).EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
private void Write151_PropertyValue(string n, string ns, PropertyValue o, bool isNullable, bool needType) { if (o == null) { if (isNullable) { base.WriteNullTagLiteral(n, ns); } } else { if (!needType && (o.GetType() != typeof(PropertyValue))) { throw base.CreateUnknownTypeException(o); } base.WriteStartElement(n, ns, o, false, null); if (needType) { base.WriteXsiType("PropertyValue", ""); } this.Write1_Object("DataObject", "", o.DataObject, false, false); base.WriteElementString("PropertyName", "", o.PropertyName); base.WriteEndElement(o); } }
private void InitializeComponent() { this.components = new Container(); ComponentResourceManager manager = new ComponentResourceManager(typeof(EditorViewerOptionControl)); PropertyValue value2 = new PropertyValue(); PropertyValue value3 = new PropertyValue(); this.txtViewer = new TextBox(); this.txtEditor = new TextBox(); this.btnBrowseViewer = new Button(); this.btnBrowseEditor = new Button(); this.lblEditor = new Label(); this.btnClearViewer = new Button(); this.btnClearEditor = new Button(); this.FindExeFileDialog = new OpenFileDialog(); this.tlpBack = new TableLayoutPanel(); this.cmsEdit = new ContextMenuStrip(this.components); this.tsmiCopy = new ToolStripMenuItem(); this.tssEdit1 = new ToolStripSeparator(); this.tsmiSelectAll = new ToolStripMenuItem(); this.ValuesWatcher = new PropertyValuesWatcher(); Label label = new Label(); this.tlpBack.SuspendLayout(); this.cmsEdit.SuspendLayout(); ((ISupportInitialize) this.ValuesWatcher).BeginInit(); base.SuspendLayout(); manager.ApplyResources(label, "lblViewer"); label.Name = "lblViewer"; this.txtViewer.ContextMenuStrip = this.cmsEdit; manager.ApplyResources(this.txtViewer, "txtViewer"); this.txtViewer.Name = "txtViewer"; this.txtViewer.ReadOnly = true; this.txtViewer.TabStop = false; this.txtEditor.ContextMenuStrip = this.cmsEdit; manager.ApplyResources(this.txtEditor, "txtEditor"); this.txtEditor.Name = "txtEditor"; this.txtEditor.ReadOnly = true; this.txtEditor.TabStop = false; manager.ApplyResources(this.btnBrowseViewer, "btnBrowseViewer"); this.btnBrowseViewer.Name = "btnBrowseViewer"; this.btnBrowseViewer.UseVisualStyleBackColor = true; this.btnBrowseViewer.Click += new EventHandler(this.btnBrowseViewer_Click); manager.ApplyResources(this.btnBrowseEditor, "btnBrowseEditor"); this.btnBrowseEditor.Name = "btnBrowseEditor"; this.btnBrowseEditor.UseVisualStyleBackColor = true; this.btnBrowseEditor.Click += new EventHandler(this.btnBrowseViewer_Click); manager.ApplyResources(this.lblEditor, "lblEditor"); this.lblEditor.Name = "lblEditor"; manager.ApplyResources(this.btnClearViewer, "btnClearViewer"); this.btnClearViewer.Name = "btnClearViewer"; this.btnClearViewer.UseVisualStyleBackColor = true; this.btnClearViewer.Click += new EventHandler(this.btnClearViewer_Click); manager.ApplyResources(this.btnClearEditor, "btnClearEditor"); this.btnClearEditor.Name = "btnClearEditor"; this.btnClearEditor.UseVisualStyleBackColor = true; this.btnClearEditor.Click += new EventHandler(this.btnClearViewer_Click); this.FindExeFileDialog.AddExtension = false; manager.ApplyResources(this.FindExeFileDialog, "FindExeFileDialog"); manager.ApplyResources(this.tlpBack, "tlpBack"); this.tlpBack.Controls.Add(this.btnClearViewer, 3, 0); this.tlpBack.Controls.Add(this.txtEditor, 1, 1); this.tlpBack.Controls.Add(this.lblEditor, 0, 1); this.tlpBack.Controls.Add(this.txtViewer, 1, 0); this.tlpBack.Controls.Add(this.btnClearEditor, 3, 1); this.tlpBack.Controls.Add(this.btnBrowseViewer, 2, 0); this.tlpBack.Controls.Add(label, 0, 0); this.tlpBack.Controls.Add(this.btnBrowseEditor, 2, 1); this.tlpBack.Name = "tlpBack"; this.cmsEdit.Items.AddRange(new ToolStripItem[] { this.tsmiCopy, this.tssEdit1, this.tsmiSelectAll }); this.cmsEdit.Name = "cmsEdit"; manager.ApplyResources(this.cmsEdit, "cmsEdit"); this.tsmiCopy.Name = "tsmiCopy"; manager.ApplyResources(this.tsmiCopy, "tsmiCopy"); this.tssEdit1.Name = "tssEdit1"; manager.ApplyResources(this.tssEdit1, "tssEdit1"); this.tsmiSelectAll.Name = "tsmiSelectAll"; manager.ApplyResources(this.tsmiSelectAll, "tsmiSelectAll"); value2.DataObject = this.txtViewer; value2.PropertyName = "Text"; value3.DataObject = this.txtEditor; value3.PropertyName = "Text"; this.ValuesWatcher.Items.AddRange(new PropertyValue[] { value2, value3 }); manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.Controls.Add(this.tlpBack); base.Name = "EditorViewerOptionControl"; this.tlpBack.ResumeLayout(false); this.tlpBack.PerformLayout(); this.cmsEdit.ResumeLayout(false); ((ISupportInitialize) this.ValuesWatcher).EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(ToolTipOptionControl)); PropertyValue value2 = new PropertyValue(); PropertyValue value3 = new PropertyValue(); PropertyValue value4 = new PropertyValue(); PropertyValue value5 = new PropertyValue(); this.chkShowItemTooltips = new CheckBox(); this.chkShowItemTooltipsKbd = new CheckBox(); this.cmbToolTipImage = new ComboBoxEx(); this.cmbTooltipOpacityDelay = new ComboBoxEx(); this.tlpBack = new TableLayoutPanel(); this.lblToolTipImage = new Label(); this.lblTooltipOpacityDelay = new Label(); this.ValuesWatcher = new PropertyValuesWatcher(); this.tlpBack.SuspendLayout(); ((ISupportInitialize) this.ValuesWatcher).BeginInit(); base.SuspendLayout(); manager.ApplyResources(this.chkShowItemTooltips, "chkShowItemTooltips"); this.tlpBack.SetColumnSpan(this.chkShowItemTooltips, 2); this.chkShowItemTooltips.Name = "chkShowItemTooltips"; this.chkShowItemTooltips.UseVisualStyleBackColor = true; this.chkShowItemTooltips.CheckedChanged += new EventHandler(this.chkShowItemTooltips_CheckedChanged); manager.ApplyResources(this.chkShowItemTooltipsKbd, "chkShowItemTooltipsKbd"); this.tlpBack.SetColumnSpan(this.chkShowItemTooltipsKbd, 2); this.chkShowItemTooltipsKbd.Name = "chkShowItemTooltipsKbd"; this.chkShowItemTooltipsKbd.UseVisualStyleBackColor = true; manager.ApplyResources(this.cmbToolTipImage, "cmbToolTipImage"); this.cmbToolTipImage.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbToolTipImage.FormattingEnabled = true; this.cmbToolTipImage.Items.AddRange(new object[] { manager.GetString("cmbToolTipImage.Items"), manager.GetString("cmbToolTipImage.Items1"), manager.GetString("cmbToolTipImage.Items2") }); this.cmbToolTipImage.MinimumSize = new Size(110, 0); this.cmbToolTipImage.Name = "cmbToolTipImage"; manager.ApplyResources(this.cmbTooltipOpacityDelay, "cmbTooltipOpacityDelay"); this.cmbTooltipOpacityDelay.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbTooltipOpacityDelay.FormattingEnabled = true; this.cmbTooltipOpacityDelay.Items.AddRange(new object[] { manager.GetString("cmbTooltipOpacityDelay.Items"), manager.GetString("cmbTooltipOpacityDelay.Items1"), manager.GetString("cmbTooltipOpacityDelay.Items2"), manager.GetString("cmbTooltipOpacityDelay.Items3"), manager.GetString("cmbTooltipOpacityDelay.Items4") }); this.cmbTooltipOpacityDelay.MinimumSize = new Size(110, 0); this.cmbTooltipOpacityDelay.Name = "cmbTooltipOpacityDelay"; manager.ApplyResources(this.tlpBack, "tlpBack"); this.tlpBack.Controls.Add(this.chkShowItemTooltips, 0, 0); this.tlpBack.Controls.Add(this.chkShowItemTooltipsKbd, 0, 1); this.tlpBack.Controls.Add(this.lblToolTipImage, 0, 2); this.tlpBack.Controls.Add(this.cmbToolTipImage, 1, 2); this.tlpBack.Controls.Add(this.lblTooltipOpacityDelay, 0, 3); this.tlpBack.Controls.Add(this.cmbTooltipOpacityDelay, 1, 3); this.tlpBack.Name = "tlpBack"; manager.ApplyResources(this.lblToolTipImage, "lblToolTipImage"); this.lblToolTipImage.Name = "lblToolTipImage"; manager.ApplyResources(this.lblTooltipOpacityDelay, "lblTooltipOpacityDelay"); this.lblTooltipOpacityDelay.Name = "lblTooltipOpacityDelay"; value2.DataObject = this.chkShowItemTooltips; value2.PropertyName = "Checked"; value3.DataObject = this.chkShowItemTooltipsKbd; value3.PropertyName = "Checked"; value4.DataObject = this.cmbToolTipImage; value4.PropertyName = "SelectedIndex"; value5.DataObject = this.cmbTooltipOpacityDelay; value5.PropertyName = "SelectedIndex"; this.ValuesWatcher.Items.AddRange(new PropertyValue[] { value2, value3, value4, value5 }); manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.Controls.Add(this.tlpBack); base.Name = "ToolTipOptionControl"; this.tlpBack.ResumeLayout(false); this.tlpBack.PerformLayout(); ((ISupportInitialize) this.ValuesWatcher).EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(IconOptionControl)); PropertyValue value2 = new PropertyValue(); PropertyValue value3 = new PropertyValue(); PropertyValue value4 = new PropertyValue(); PropertyValue value5 = new PropertyValue(); PropertyValue value6 = new PropertyValue(); PropertyValue value7 = new PropertyValue(); this.chkShowIcons = new CheckBox(); this.chkExtractIcons = new CheckBox(); this.lblDelayedExtractIcons = new Label(); this.chkDisableExtractSlowIcons = new CheckBox(); this.chkShowOverlayIcons = new CheckBox(); this.lblImageProvider = new Label(); this.cmbImageProvider = new ComboBoxEx(); this.lblGetMorePacks = new LinkLabel(); this.cmbDelayedExtractIcons = new ComboBoxEx(); this.ValuesWatcher = new PropertyValuesWatcher(); TableLayoutPanel panel = new TableLayoutPanel(); panel.SuspendLayout(); ((ISupportInitialize) this.ValuesWatcher).BeginInit(); base.SuspendLayout(); manager.ApplyResources(panel, "tlpBack"); panel.Controls.Add(this.chkShowIcons, 0, 0); panel.Controls.Add(this.chkExtractIcons, 0, 2); panel.Controls.Add(this.lblDelayedExtractIcons, 0, 5); panel.Controls.Add(this.chkDisableExtractSlowIcons, 0, 3); panel.Controls.Add(this.chkShowOverlayIcons, 0, 4); panel.Controls.Add(this.lblImageProvider, 0, 1); panel.Controls.Add(this.cmbImageProvider, 1, 1); panel.Controls.Add(this.lblGetMorePacks, 4, 1); panel.Controls.Add(this.cmbDelayedExtractIcons, 2, 5); panel.Name = "tlpBack"; manager.ApplyResources(this.chkShowIcons, "chkShowIcons"); this.chkShowIcons.Checked = true; this.chkShowIcons.CheckState = CheckState.Checked; panel.SetColumnSpan(this.chkShowIcons, 5); this.chkShowIcons.Name = "chkShowIcons"; this.chkShowIcons.UseVisualStyleBackColor = true; this.chkShowIcons.CheckedChanged += new EventHandler(this.chkShowIcons_CheckedChanged); manager.ApplyResources(this.chkExtractIcons, "chkExtractIcons"); panel.SetColumnSpan(this.chkExtractIcons, 5); this.chkExtractIcons.Name = "chkExtractIcons"; this.chkExtractIcons.UseVisualStyleBackColor = true; this.chkExtractIcons.CheckedChanged += new EventHandler(this.chkExtractIcons_CheckedChanged); manager.ApplyResources(this.lblDelayedExtractIcons, "lblDelayedExtractIcons"); panel.SetColumnSpan(this.lblDelayedExtractIcons, 2); this.lblDelayedExtractIcons.Name = "lblDelayedExtractIcons"; manager.ApplyResources(this.chkDisableExtractSlowIcons, "chkDisableExtractSlowIcons"); panel.SetColumnSpan(this.chkDisableExtractSlowIcons, 5); this.chkDisableExtractSlowIcons.Name = "chkDisableExtractSlowIcons"; this.chkDisableExtractSlowIcons.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkShowOverlayIcons, "chkShowOverlayIcons"); panel.SetColumnSpan(this.chkShowOverlayIcons, 5); this.chkShowOverlayIcons.Name = "chkShowOverlayIcons"; this.chkShowOverlayIcons.UseVisualStyleBackColor = true; manager.ApplyResources(this.lblImageProvider, "lblImageProvider"); this.lblImageProvider.Name = "lblImageProvider"; manager.ApplyResources(this.cmbImageProvider, "cmbImageProvider"); panel.SetColumnSpan(this.cmbImageProvider, 3); this.cmbImageProvider.DisplayMember = "Value"; this.cmbImageProvider.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbImageProvider.FormattingEnabled = true; this.cmbImageProvider.Items.AddRange(new object[] { manager.GetString("cmbImageProvider.Items"), manager.GetString("cmbImageProvider.Items1") }); this.cmbImageProvider.MinimumSize = new Size(140, 0); this.cmbImageProvider.Name = "cmbImageProvider"; this.cmbImageProvider.ValueMember = "Key"; manager.ApplyResources(this.lblGetMorePacks, "lblGetMorePacks"); this.lblGetMorePacks.Name = "lblGetMorePacks"; this.lblGetMorePacks.TabStop = true; this.lblGetMorePacks.Tag = "http://www.nomad-net.info/iconpack"; this.lblGetMorePacks.LinkClicked += new LinkLabelLinkClickedEventHandler(this.lblGetMorePacks_LinkClicked); manager.ApplyResources(this.cmbDelayedExtractIcons, "cmbDelayedExtractIcons"); panel.SetColumnSpan(this.cmbDelayedExtractIcons, 3); this.cmbDelayedExtractIcons.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbDelayedExtractIcons.FormattingEnabled = true; this.cmbDelayedExtractIcons.Items.AddRange(new object[] { manager.GetString("cmbDelayedExtractIcons.Items"), manager.GetString("cmbDelayedExtractIcons.Items1"), manager.GetString("cmbDelayedExtractIcons.Items2") }); this.cmbDelayedExtractIcons.MinimumSize = new Size(150, 0); this.cmbDelayedExtractIcons.Name = "cmbDelayedExtractIcons"; value2.DataObject = this.chkShowIcons; value2.PropertyName = "Checked"; value3.DataObject = this.chkExtractIcons; value3.PropertyName = "Checked"; value4.DataObject = this.chkDisableExtractSlowIcons; value4.PropertyName = "Checked"; value5.DataObject = this.chkShowOverlayIcons; value5.PropertyName = "Checked"; value6.DataObject = this.cmbDelayedExtractIcons; value6.PropertyName = "SelectedIndex"; value7.DataObject = this.cmbImageProvider; value7.PropertyName = "SelectedIndex"; this.ValuesWatcher.Items.AddRange(new PropertyValue[] { value2, value3, value4, value5, value6, value7 }); manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.Controls.Add(panel); base.Name = "IconOptionControl"; panel.ResumeLayout(false); panel.PerformLayout(); ((ISupportInitialize) this.ValuesWatcher).EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(BreadcrumbOptionControl)); PropertyValue value2 = new PropertyValue(); PropertyValue value3 = new PropertyValue(); PropertyValue value4 = new PropertyValue(); PropertyValue value5 = new PropertyValue(); PropertyValue value6 = new PropertyValue(); PropertyValue value7 = new PropertyValue(); PropertyValue value8 = new PropertyValue(); this.chkShowShortRootName = new CheckBox(); this.chkShowIconForEveryFolder = new CheckBox(); this.cmbDriveProperty = new ComboBoxEx(); this.chkShowActiveState = new CheckBox(); this.chkShowDriveMenuOnHover = new CheckBox(); this.chkShowFolderIcon = new CheckBox(); this.cmbBreadcrumbStyle = new ComboBoxEx(); this.ValuesWatcher = new PropertyValuesWatcher(); Label label = new Label(); TableLayoutPanel panel = new TableLayoutPanel(); Label control = new Label(); panel.SuspendLayout(); ((ISupportInitialize) this.ValuesWatcher).BeginInit(); base.SuspendLayout(); manager.ApplyResources(label, "lblDriveProperty"); panel.SetColumnSpan(label, 2); label.Name = "lblDriveProperty"; manager.ApplyResources(panel, "tlpBack"); panel.Controls.Add(this.chkShowShortRootName, 0, 2); panel.Controls.Add(this.chkShowIconForEveryFolder, 0, 4); panel.Controls.Add(label, 0, 6); panel.Controls.Add(this.cmbDriveProperty, 2, 6); panel.Controls.Add(this.chkShowActiveState, 0, 1); panel.Controls.Add(this.chkShowDriveMenuOnHover, 0, 5); panel.Controls.Add(control, 0, 0); panel.Controls.Add(this.chkShowFolderIcon, 0, 3); panel.Controls.Add(this.cmbBreadcrumbStyle, 1, 0); panel.Name = "tlpBack"; manager.ApplyResources(this.chkShowShortRootName, "chkShowShortRootName"); panel.SetColumnSpan(this.chkShowShortRootName, 3); this.chkShowShortRootName.Name = "chkShowShortRootName"; this.chkShowShortRootName.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkShowIconForEveryFolder, "chkShowIconForEveryFolder"); panel.SetColumnSpan(this.chkShowIconForEveryFolder, 3); this.chkShowIconForEveryFolder.DataBindings.Add(new Binding("Enabled", Settings.Default, "ShowIcons", true, DataSourceUpdateMode.Never)); this.chkShowIconForEveryFolder.Enabled = Settings.Default.ShowIcons; this.chkShowIconForEveryFolder.Name = "chkShowIconForEveryFolder"; this.chkShowIconForEveryFolder.UseVisualStyleBackColor = true; manager.ApplyResources(this.cmbDriveProperty, "cmbDriveProperty"); this.cmbDriveProperty.DisplayMember = "LocalizedName"; this.cmbDriveProperty.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbDriveProperty.FormattingEnabled = true; this.cmbDriveProperty.Items.AddRange(new object[] { manager.GetString("cmbDriveProperty.Items") }); this.cmbDriveProperty.MinimumSize = new Size(120, 0); this.cmbDriveProperty.Name = "cmbDriveProperty"; manager.ApplyResources(this.chkShowActiveState, "chkShowActiveState"); panel.SetColumnSpan(this.chkShowActiveState, 3); this.chkShowActiveState.Name = "chkShowActiveState"; this.chkShowActiveState.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkShowDriveMenuOnHover, "chkShowDriveMenuOnHover"); panel.SetColumnSpan(this.chkShowDriveMenuOnHover, 3); this.chkShowDriveMenuOnHover.Name = "chkShowDriveMenuOnHover"; this.chkShowDriveMenuOnHover.UseVisualStyleBackColor = true; manager.ApplyResources(control, "lblBreadcrumbStyle"); control.Name = "lblBreadcrumbStyle"; manager.ApplyResources(this.chkShowFolderIcon, "chkShowFolderIcon"); panel.SetColumnSpan(this.chkShowFolderIcon, 3); this.chkShowFolderIcon.Name = "chkShowFolderIcon"; this.chkShowFolderIcon.UseVisualStyleBackColor = true; manager.ApplyResources(this.cmbBreadcrumbStyle, "cmbBreadcrumbStyle"); panel.SetColumnSpan(this.cmbBreadcrumbStyle, 2); this.cmbBreadcrumbStyle.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbBreadcrumbStyle.FormattingEnabled = true; this.cmbBreadcrumbStyle.Items.AddRange(new object[] { manager.GetString("cmbBreadcrumbStyle.Items"), manager.GetString("cmbBreadcrumbStyle.Items1") }); this.cmbBreadcrumbStyle.MinimumSize = new Size(120, 0); this.cmbBreadcrumbStyle.Name = "cmbBreadcrumbStyle"; this.cmbBreadcrumbStyle.SelectedIndexChanged += new EventHandler(this.cmbBreadcrumbStyle_SelectedIndexChanged); value2.DataObject = this.chkShowShortRootName; value2.PropertyName = "Checked"; value3.DataObject = this.chkShowIconForEveryFolder; value3.PropertyName = "Checked"; value4.DataObject = this.cmbDriveProperty; value4.PropertyName = "SelectedIndex"; value5.DataObject = this.chkShowActiveState; value5.PropertyName = "Checked"; value6.DataObject = this.chkShowDriveMenuOnHover; value6.PropertyName = "Checked"; value7.DataObject = this.chkShowFolderIcon; value7.PropertyName = "Checked"; value8.DataObject = this.cmbBreadcrumbStyle; value8.PropertyName = "SelectedIndex"; this.ValuesWatcher.Items.AddRange(new PropertyValue[] { value2, value3, value4, value5, value6, value7, value8 }); manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.Controls.Add(panel); base.Name = "BreadcrumbOptionControl"; panel.ResumeLayout(false); panel.PerformLayout(); ((ISupportInitialize) this.ValuesWatcher).EndInit(); base.ResumeLayout(false); base.PerformLayout(); }