public ThreadsUI(PluginMain pluginMain, ImageList imageList) { this.AutoKeyHandling = true; this.pluginMain = pluginMain; lv = new ListViewEx(); lv.ShowItemToolTips = true; this.imageColumnHeader = new ColumnHeader(); this.imageColumnHeader.Text = string.Empty; this.imageColumnHeader.Width = 20; this.frameColumnHeader = new ColumnHeader(); this.frameColumnHeader.Text = string.Empty; lv.Columns.AddRange(new ColumnHeader[] { this.imageColumnHeader, this.frameColumnHeader}); lv.FullRowSelect = true; lv.BorderStyle = BorderStyle.None; lv.Dock = System.Windows.Forms.DockStyle.Fill; lv.SmallImageList = imageList; runningImageIndex = imageList.Images.IndexOfKey("StartContinue"); suspendedImageIndex = imageList.Images.IndexOfKey("Pause"); lv.View = System.Windows.Forms.View.Details; lv.MouseDoubleClick += new MouseEventHandler(lv_MouseDoubleClick); lv.KeyDown += new KeyEventHandler(lv_KeyDown); lv.SizeChanged += new EventHandler(lv_SizeChanged); this.Controls.Add(lv); }
public ListViewHeader(ListViewEx parent, IntPtr headerWnd) { this.Parent = parent; base.AssignHandle(headerWnd); this.TooltipWnd = Windows.SendMessage(this.Parent.Handle, 0x104e, IntPtr.Zero, IntPtr.Zero); this.AddTool(); }
public void NewLvEx(int width, int height) { lvEx = new ListViewEx(); lvEx.FullRowSelect = true; lvEx.GridLines = true; lvEx.Location = new System.Drawing.Point(3, 3); lvEx.MultiSelect = false; lvEx.Name = "lvEx"; lvEx.Size = new System.Drawing.Size(width, height); lvEx.TabIndex = 0; lvEx.UseCompatibleStateImageBehavior = false; lvEx.View = System.Windows.Forms.View.Details; }
public FormExportExcel(string typeExport, string sheetName, string fileName, ListViewEx lvEx, DateTime date) { InitializeComponent(); this.typeExport = typeExport; this.sheetName = sheetName; this.fileName = fileName; this.lvEx = lvEx; this.date = date; pnInfo.Controls.Add(this.lvEx); }
public FormExportExcel(string typeExport, string sheetName, string fileName, ListViewEx lvEx, int soSP, int tongSoLuong, int soSPHetHan, int tongSoLuongHetHan) { InitializeComponent(); this.typeExport = typeExport; this.sheetName = sheetName; this.fileName = fileName; this.lvEx = lvEx; this.soSP = soSP; this.tongSoLuong = tongSoLuong; this.soSPHetHan = soSPHetHan; this.tongSoLuongHetHan = tongSoLuongHetHan; pnInfo.Controls.Add(this.lvEx); }
internal ListViewGroupCollectionEx(ListViewEx listView) : base() { this.listView = listView; }
private void BuildDiskListItems(ListViewEx owner, List<DiskUsage> disks) { if (owner.InvokeRequired) { if (owner.IsHandleCreated) { try { owner.BeginInvoke(new BuildDiskListItemsDelegate(BuildDiskListItems), owner, disks); } catch { } } return; } else { if (!owner.IsDisposed) { try { owner.RemoveAllEmbeddedControls(); owner.Items.Clear(); if (disks != null) { lock (disks) { int curRow = 0; foreach (DiskUsage disk in disks) { Logger.LogMessage("Adding Disk Usage: " + disk.Name, LogType.Debug); ListViewItem listViewItem = new ListViewItem("Item" + curRow.ToString()); owner.AddListViewItem(listViewItem); Label item1 = new Label() { Name = "Label_Name" + curRow.ToString(), TextAlign = ContentAlignment.MiddleLeft, Padding = new System.Windows.Forms.Padding(0,0,0,0), Margin = new System.Windows.Forms.Padding(0,0,0,0), Width = owner.Columns[0].Width, FlatStyle = System.Windows.Forms.FlatStyle.System, AutoSize = false, Text = disk.Name }; item1.Font = new Font(item1.Font, FontStyle.Bold); FitToWidth(item1, 3.0F); owner.AddEmbeddedControl(item1, 0, curRow); owner.AddEmbeddedControl(new ProgressBar() { Name = "Progress_Usage" + curRow.ToString(), Size = new System.Drawing.Size(owner.Columns[1].Width, 11), Step = 1, Minimum = 0, Maximum = 100, Value = disk.PercentUsed }, 1, curRow, DockStyle.None); owner.AddEmbeddedControl(new Label() { Name = "Label_Usage" + curRow.ToString(), TextAlign = ContentAlignment.MiddleLeft, Padding = new System.Windows.Forms.Padding(0,0,0,0), Margin = new System.Windows.Forms.Padding(0,0,0,0), AutoSize = true, Text = String.Format("{0}% of {2}; {1} Free{3}", disk.PercentUsed, disk.FreeSpace, disk.TotalSpace, (String.IsNullOrEmpty(disk.PoolStatus) ? String.Empty : ", " + disk.PoolStatus)) }, 2, curRow); curRow++; } } } owner.Columns[2].Width = -2; } catch { } } } }
private void InitializeComponent() { btnOK = new Button(); btnApply = new Button(); btnCancel = new Button(); lblVer = new LinkLabel(); tabControl1 = new TabControl(); tabPage1_Gnrl = new TabPage(); tabPage2_Tabs = new TabPage(); tabPage3_Wndw = new TabPage(); tabPage4_View = new TabPage(); tabPage5_Grps = new TabPage(); tabPage6_Apps = new TabPage(); tabPage7_Plug = new TabPage(); tabPage8_Keys = new TabPage(); tabPage9_Misc = new TabPage(); tabPageA_Path = new TabPage(); chbActivateNew = new CheckBox(); chbDontOpenSame = new CheckBox(); chbCloseWhenGroup = new CheckBox(); chbShowTooltip = new CheckBox(); chbX1X2 = new CheckBox(); chbNavBtn = new CheckBox(); chbNoHistory = new CheckBox(); chbSaveExecuted = new CheckBox(); chbDD = new CheckBox(); chbAutoUpdate = new CheckBox(); chbPlaySound = new CheckBox(); cmbNavBtn = new ComboBox(); btnHistoryClear = new Button(); btnClearRecentFile = new Button(); nudMaxUndo = new NumericUpDown(); nudMaxRecentFile = new NumericUpDown(); lblLang = new Label(); lblNetworkTimeOut = new Label(); textBoxLang = new TextBox(); btnLangBrowse = new Button(); btnCheckUpdates = new Button(); btnExportSettings = new Button(); nudNetworkTimeOut = new NumericUpDown(); lblNewTabLoc = new Label(); lblActvClose = new Label(); lblTabDblClk = new Label(); lblBGDblClik = new Label(); lblTabWhlClk = new Label(); lblAction_BarDblClick = new Label(); lblMultiRows = new Label(); cmbNewTabLoc = new ComboBox(); cmbActvClose = new ComboBox(); cmbTabDblClck = new ComboBox(); cmbBGDblClick = new ComboBox(); cmbTabWhlClck = new ComboBox(); cmbMultiRow = new ComboBox(); textBoxAction_BarDblClck = new TextBox(); btnBrowseAction_BarDblClck = new Button(); chbAutoSubText = new CheckBox(); chbTabCloseButton = new CheckBox(); chbTabCloseBtnAlt = new CheckBox(); chbTabCloseBtnHover = new CheckBox(); chbSubDirTipOnTab = new CheckBox(); chbTreeShftWhlTab = new CheckBox(); chbTabSwitcher = new CheckBox(); chbRemoveOnSeparate = new CheckBox(); chbDriveLetter = new CheckBox(); chbWhlClick = new CheckBox(); chbNCADblClck = new CheckBox(); chbBlockProcess = new CheckBox(); chbFoldrTree = new CheckBox(); chbWndUnresizable = new CheckBox(); chbWndRestrAlpha = new CheckBox(); chbNoTabFromOuteside = new CheckBox(); chbHolizontalScroll = new CheckBox(); chbWhlChangeView = new CheckBox(); chbNeverCloseWindow = new CheckBox(); chbNeverCloseWndLocked = new CheckBox(); chbRestoreClosed = new CheckBox(); chbRestoreLocked = new CheckBox(); chbSendToTray = new CheckBox(); chbSendToTrayOnMinimize = new CheckBox(); cmbWhlClick = new ComboBox(); lblSep = new Label(); chbUseTabSkin = new CheckBox(); chbToolbarBGClr = new CheckBox(); chbFolderIcon = new CheckBox(); chbBoldActv = new CheckBox(); chbRebarBGImage = new CheckBox(); chbTabTitleShadow = new CheckBox(); propertyGrid1 = new PropertyGrid(); nudTabWidth = new NumericUpDown(); nudTabHeight = new NumericUpDown(); nudTabWidthMax = new NumericUpDown(); nudTabWidthMin = new NumericUpDown(); lblTabSizeTitle = new Label(); lblTabWidth = new Label(); lblTabHeight = new Label(); lblTabWMin = new Label(); lblTabWMax = new Label(); lblTabWFix = new Label(); lblTabFont = new Label(); lblMenuRenderer = new Label(); lblTabTextAlignment = new Label(); lblTabTxtClr = new Label(); cmbTabSizeMode = new ComboBox(); cmbTabTextAlignment = new ComboBox(); cmbRebarBGImageMode = new ComboBox(); cmbMenuRenderer = new ComboBox(); btnHiliteClsc = new Button(); btnTabFont = new Button(); btnActTxtClr = new Button(); btnInactTxtClr = new Button(); btnDefTxtClr = new Button(); btnToolBarBGClr = new Button(); btnRebarImage = new Button(); btnShadowAct = new Button(); btnShadowIna = new Button(); btnTabImage = new Button(); tbRebarImagePath = new TextBox(); tbTabImagePath = new TextBox(); treeViewGroup = new TreeView(); btnUp_Grp = new Button(); btnDown_Grp = new Button(); btnMinus_Grp = new Button(); btnPlus_Grp = new Button(); btnStartUpGrp = new Button(); btnAddSep_Grp = new Button(); cmbSpclFol_Grp = new ComboBox(); btnAddSpcFol_Grp = new Button(); lblGroupKey = new Label(); tbGroupKey = new TextBox(); chbGroupKey = new CheckBox(); treeViewUserApps = new TreeView(); btnUp_app = new Button(); btnDown_app = new Button(); btnAddSep_app = new Button(); btnAddVFolder_app = new Button(); btnPlus_app = new Button(); btnMinus_app = new Button(); lblUserApps_Path = new Label(); lblUserApps_Args = new Label(); lblUserApps_Working = new Label(); tbPath = new TextBox(); tbArgs = new TextBox(); tbWorking = new TextBox(); tbUserAppKey = new TextBox(); chbUserAppKey = new CheckBox(); lblUserApps_Key = new Label(); btnOFD_app = new Button(); btnBFD_app = new Button(); btnAddToken_Arg = new Button(); btnAddToken_Wrk = new Button(); cmsAddToken = new ContextMenuStrip(); chbHideMenu = new CheckBox(); chbAlwaysShowHeader = new CheckBox(); chbForceSysListView = new CheckBox(); chbBSUpOneLvl = new CheckBox(); chbNoFulRowSelect = new CheckBox(); chbGridLine = new CheckBox(); chbAlternateColor = new CheckBox(); chbShowPreview = new CheckBox(); chbPreviewMode = new CheckBox(); chbPreviewInfo = new CheckBox(); chbSubDirTip = new CheckBox(); chbSubDirTipMode = new CheckBox(); chbSubDirTipModeHidden = new CheckBox(); chbSubDirTipModeSystem = new CheckBox(); chbSubDirTipModeFile = new CheckBox(); chbSubDirTipPreview = new CheckBox(); chbSelectWithoutExt = new CheckBox(); chbF2Selection = new CheckBox(); chbCursorLoop = new CheckBox(); btnAlternateColor = new Button(); btnAlternateColor_Text = new Button(); btnAlternate_Default = new Button(); btnAddTextExt = new Button(); btnDelTextExt = new Button(); btnDefaultTextExt = new Button(); btnAddImgExt = new Button(); btnDelImgExt = new Button(); btnDefaultImgExt = new Button(); btnPreviewFont = new Button(); btnPreviewFontDefault = new Button(); btnPayPal = new Button(); nudPreviewMaxHeight = new NumericUpDown(); nudPreviewMaxWidth = new NumericUpDown(); lblPreviewHeight = new Label(); lblPreviewWidth = new Label(); cmbTextExts = new ComboBox(); cmbImgExts = new ComboBox(); pluginView = new PluginView(); btnBrowsePlugin = new Button(); lblPluginLang = new Label(); textBoxPluginLang = new TextBox(); btnBrowsePluginLang = new Button(); listViewKeyboard = new ListViewEx(); clmKeys_Action = new ColumnHeader(); clmKeys_Key = new ColumnHeader(); btnCopyKeys = new Button(); listView_NoCapture = new ListView(); btnOFD_NoCapture = new Button(); btnAdd_NoCapture = new Button(); btnRemove_NoCapture = new Button(); clmnHeader_NoCapture = new ColumnHeader(); cmbSpclFol_NoCapture = new ComboBox(); btnAddSpcFol_NoCapture = new Button(); tabControl1.SuspendLayout(); tabPage1_Gnrl.SuspendLayout(); tabPage2_Tabs.SuspendLayout(); tabPage3_Wndw.SuspendLayout(); tabPage4_View.SuspendLayout(); tabPage5_Grps.SuspendLayout(); tabPage6_Apps.SuspendLayout(); tabPage7_Plug.SuspendLayout(); tabPage8_Keys.SuspendLayout(); tabPage9_Misc.SuspendLayout(); tabPageA_Path.SuspendLayout(); nudMaxUndo.BeginInit(); nudMaxRecentFile.BeginInit(); nudNetworkTimeOut.BeginInit(); nudTabWidthMin.BeginInit(); nudTabWidthMax.BeginInit(); nudTabHeight.BeginInit(); nudTabWidth.BeginInit(); nudPreviewMaxWidth.BeginInit(); nudPreviewMaxHeight.BeginInit(); SuspendLayout(); btnOK.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; btnOK.Location = new Point(0xf1, 0x246); btnOK.Size = new Size(0x58, 0x17); btnOK.TabIndex = 4; btnOK.Click += buttonOK_Click; btnApply.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; btnApply.Location = new Point(0x1ad, 0x246); btnApply.Size = new Size(0x58, 0x17); btnApply.TabIndex = 6; btnApply.Click += buttonApply_Click; btnCancel.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; btnCancel.Location = new Point(0x14f, 0x246); btnCancel.Size = new Size(0x58, 0x17); btnCancel.TabIndex = 5; btnCancel.Click += btnCancel_Click; lblVer.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; lblVer.AutoSize = true; lblVer.LinkColor = Color.Blue; lblVer.ActiveLinkColor = Color.Red; lblVer.VisitedLinkColor = Color.Purple; lblVer.Location = new Point(12, 0x24b); lblVer.Click += lblVer_Click; tabControl1.Controls.Add(tabPage1_Gnrl); tabControl1.Controls.Add(tabPage2_Tabs); tabControl1.Controls.Add(tabPage3_Wndw); tabControl1.Controls.Add(tabPage4_View); tabControl1.Controls.Add(tabPage5_Grps); tabControl1.Controls.Add(tabPage6_Apps); tabControl1.Controls.Add(tabPage7_Plug); tabControl1.Controls.Add(tabPage8_Keys); tabControl1.Controls.Add(tabPage9_Misc); tabControl1.Controls.Add(tabPageA_Path); tabControl1.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; tabControl1.Location = new Point(9, 9); tabControl1.Margin = new Padding(0); tabControl1.Multiline = true; tabControl1.SelectedIndex = 0; tabControl1.Size = new Size(0x207, 0x238); tabControl1.TabIndex = 0; tabControl1.SelectedIndexChanged += tabControl1_SelectedIndexChanged; tabPage1_Gnrl.Controls.Add(chbActivateNew); tabPage1_Gnrl.Controls.Add(chbDontOpenSame); tabPage1_Gnrl.Controls.Add(chbCloseWhenGroup); tabPage1_Gnrl.Controls.Add(chbShowTooltip); tabPage1_Gnrl.Controls.Add(chbX1X2); tabPage1_Gnrl.Controls.Add(chbNavBtn); tabPage1_Gnrl.Controls.Add(chbNoHistory); tabPage1_Gnrl.Controls.Add(chbSaveExecuted); tabPage1_Gnrl.Controls.Add(chbDD); tabPage1_Gnrl.Controls.Add(chbPlaySound); tabPage1_Gnrl.Controls.Add(cmbNavBtn); tabPage1_Gnrl.Controls.Add(btnHistoryClear); tabPage1_Gnrl.Controls.Add(nudMaxUndo); tabPage1_Gnrl.Controls.Add(nudMaxRecentFile); tabPage1_Gnrl.Controls.Add(btnClearRecentFile); tabPage1_Gnrl.Controls.Add(lblLang); tabPage1_Gnrl.Controls.Add(textBoxLang); tabPage1_Gnrl.Controls.Add(btnLangBrowse); tabPage1_Gnrl.Controls.Add(btnExportSettings); tabPage1_Gnrl.Controls.Add(btnCheckUpdates); tabPage1_Gnrl.Controls.Add(lblNetworkTimeOut); tabPage1_Gnrl.Controls.Add(nudNetworkTimeOut); tabPage1_Gnrl.Controls.Add(chbAutoUpdate); tabPage1_Gnrl.Location = new Point(4, 0x16); tabPage1_Gnrl.Padding = new Padding(3); tabPage1_Gnrl.Size = new Size(0x1ff, 0x1d7); tabPage1_Gnrl.TabIndex = 0; tabPage1_Gnrl.UseVisualStyleBackColor = true; btnCheckUpdates.AutoSize = true; btnCheckUpdates.Anchor = AnchorStyles.Left | AnchorStyles.Top; btnCheckUpdates.Location = new Point(0x12a, 0x1f1); btnCheckUpdates.TabIndex = 20; btnCheckUpdates.Click += btnCheckUpdates_Click; chbAutoUpdate.AutoSize = true; chbAutoUpdate.Location = new Point(0x1b, 0x1f3); chbAutoUpdate.TabIndex = 0x13; btnExportSettings.AutoSize = true; btnExportSettings.Anchor = AnchorStyles.Left | AnchorStyles.Top; btnExportSettings.Location = new Point(0x1b, 0x1c7); btnExportSettings.TabIndex = 0x12; btnExportSettings.Click += btnExportSettings_Click; lblNetworkTimeOut.AutoSize = true; lblNetworkTimeOut.Anchor = AnchorStyles.Left | AnchorStyles.Top; lblNetworkTimeOut.Location = new Point(0x1b, 0x1a5); nudNetworkTimeOut.Location = new Point(0x194, 420); int[] bits = new int[4]; bits[0] = 60; nudNetworkTimeOut.Maximum = new decimal(bits); int[] numArray2 = new int[4]; nudNetworkTimeOut.Minimum = new decimal(numArray2); nudNetworkTimeOut.Size = new Size(0x33, 0x15); nudNetworkTimeOut.TabIndex = 0x11; nudNetworkTimeOut.TextAlign = HorizontalAlignment.Right; int[] numArray3 = new int[4]; numArray3[0] = 6; nudNetworkTimeOut.Value = new decimal(numArray3); btnLangBrowse.Anchor = AnchorStyles.Right | AnchorStyles.Top; btnLangBrowse.Location = new Point(0x1a7, 0x175); btnLangBrowse.Size = new Size(0x22, 0x19); btnLangBrowse.TabIndex = 0x10; btnLangBrowse.Text = "..."; btnLangBrowse.Click += btnLangBrowse_Click; textBoxLang.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; textBoxLang.Location = new Point(0x2d, 0x178); textBoxLang.Size = new Size(0x174, 0x15); textBoxLang.MaxLength = 260; textBoxLang.TabIndex = 15; textBoxLang.KeyPress += textBoxesPath_KeyPress; lblLang.Anchor = AnchorStyles.Left | AnchorStyles.Top; lblLang.AutoSize = true; lblLang.Location = new Point(0x1b, 0x160); chbPlaySound.AutoSize = true; chbPlaySound.Location = new Point(0x1b, 0x111); chbPlaySound.TabIndex = 14; chbDD.AutoSize = true; chbDD.Location = new Point(0x1b, 0xf5); chbDD.TabIndex = 13; btnClearRecentFile.Location = new Point(0x163, 0xd7); btnClearRecentFile.Size = new Size(100, 0x17); btnClearRecentFile.TabIndex = 12; btnClearRecentFile.Text = "Clear"; btnClearRecentFile.Click += btnClearRecentFile_Click; nudMaxRecentFile.Location = new Point(0x12a, 0xd8); int[] numArray4 = new int[4]; numArray4[0] = 0x40; nudMaxRecentFile.Maximum = new decimal(numArray4); int[] numArray5 = new int[4]; numArray5[0] = 1; nudMaxRecentFile.Minimum = new decimal(numArray5); nudMaxRecentFile.Size = new Size(0x33, 0x15); nudMaxRecentFile.TabIndex = 11; nudMaxRecentFile.TextAlign = HorizontalAlignment.Right; int[] numArray6 = new int[4]; numArray6[0] = 1; nudMaxRecentFile.Value = new decimal(numArray6); chbSaveExecuted.AutoSize = true; chbSaveExecuted.Location = new Point(0x1b, 0xd9); chbSaveExecuted.ThreeState = true; chbSaveExecuted.TabIndex = 10; btnHistoryClear.Location = new Point(0x163, 0xbb); btnHistoryClear.Size = new Size(100, 0x17); btnHistoryClear.TabIndex = 9; btnHistoryClear.Text = "Clear"; btnHistoryClear.Click += buttonHistoryClear_Click; nudMaxUndo.Location = new Point(0x12a, 0xbc); int[] numArray7 = new int[4]; numArray7[0] = 0x40; nudMaxUndo.Maximum = new decimal(numArray7); int[] numArray8 = new int[4]; numArray8[0] = 1; nudMaxUndo.Minimum = new decimal(numArray8); nudMaxUndo.Size = new Size(0x33, 0x15); nudMaxUndo.TabIndex = 8; nudMaxUndo.TextAlign = HorizontalAlignment.Right; int[] numArray9 = new int[4]; numArray9[0] = 1; nudMaxUndo.Value = new decimal(numArray9); chbNoHistory.AutoSize = true; chbNoHistory.Location = new Point(0x1b, 0xbd); chbNoHistory.TabIndex = 7; cmbNavBtn.DropDownStyle = ComboBoxStyle.DropDownList; cmbNavBtn.Location = new Point(0x176, 0x9f); cmbNavBtn.Size = new Size(0x51, 0x15); cmbNavBtn.TabIndex = 6; chbNavBtn.AutoSize = true; chbNavBtn.Location = new Point(0x1b, 0xa1); chbNavBtn.TabIndex = 5; chbNavBtn.CheckedChanged += chbNavBtn_CheckedChanged; chbX1X2.AutoSize = true; chbX1X2.Location = new Point(0x1b, 0x85); chbX1X2.TabIndex = 4; chbShowTooltip.AutoSize = true; chbShowTooltip.Location = new Point(0x1b, 0x69); chbShowTooltip.TabIndex = 3; chbCloseWhenGroup.AutoSize = true; chbCloseWhenGroup.Location = new Point(0x1b, 0x4d); chbCloseWhenGroup.TabIndex = 2; chbDontOpenSame.AutoSize = true; chbDontOpenSame.Location = new Point(0x1b, 0x31); chbDontOpenSame.TabIndex = 1; chbActivateNew.AutoSize = true; chbActivateNew.Location = new Point(0x1b, 0x15); chbActivateNew.TabIndex = 0; tabPage2_Tabs.Controls.Add(lblNewTabLoc); tabPage2_Tabs.Controls.Add(lblActvClose); tabPage2_Tabs.Controls.Add(lblTabDblClk); tabPage2_Tabs.Controls.Add(lblBGDblClik); tabPage2_Tabs.Controls.Add(lblTabWhlClk); tabPage2_Tabs.Controls.Add(lblAction_BarDblClick); tabPage2_Tabs.Controls.Add(lblMultiRows); tabPage2_Tabs.Controls.Add(cmbNewTabLoc); tabPage2_Tabs.Controls.Add(cmbActvClose); tabPage2_Tabs.Controls.Add(cmbTabDblClck); tabPage2_Tabs.Controls.Add(cmbBGDblClick); tabPage2_Tabs.Controls.Add(cmbTabWhlClck); tabPage2_Tabs.Controls.Add(cmbMultiRow); tabPage2_Tabs.Controls.Add(textBoxAction_BarDblClck); tabPage2_Tabs.Controls.Add(btnBrowseAction_BarDblClck); tabPage2_Tabs.Controls.Add(chbAutoSubText); tabPage2_Tabs.Controls.Add(chbTabCloseButton); tabPage2_Tabs.Controls.Add(chbTabCloseBtnAlt); tabPage2_Tabs.Controls.Add(chbTabCloseBtnHover); tabPage2_Tabs.Controls.Add(chbFolderIcon); tabPage2_Tabs.Controls.Add(chbSubDirTipOnTab); tabPage2_Tabs.Controls.Add(chbDriveLetter); tabPage2_Tabs.Controls.Add(chbTabSwitcher); tabPage2_Tabs.Controls.Add(chbTreeShftWhlTab); tabPage2_Tabs.Controls.Add(chbRemoveOnSeparate); tabPage2_Tabs.Location = new Point(4, 0x16); tabPage2_Tabs.Padding = new Padding(3); tabPage2_Tabs.Size = new Size(0x1ff, 0x1d7); tabPage2_Tabs.TabIndex = 1; tabPage2_Tabs.UseVisualStyleBackColor = true; chbRemoveOnSeparate.AutoSize = true; chbRemoveOnSeparate.Location = new Point(0x1b, 0x1f2); chbRemoveOnSeparate.TabIndex = 0x11; chbTreeShftWhlTab.AutoSize = true; chbTreeShftWhlTab.Location = new Point(0x1b, 0x1da); chbTreeShftWhlTab.TabIndex = 0x10; chbTabSwitcher.AutoSize = true; chbTabSwitcher.Location = new Point(0x1b, 450); chbTabSwitcher.TabIndex = 15; chbDriveLetter.AutoSize = true; chbDriveLetter.Location = new Point(0x36, 0x1aa); chbDriveLetter.TabIndex = 14; chbSubDirTipOnTab.AutoSize = true; chbSubDirTipOnTab.Location = new Point(0x36, 0x196); chbSubDirTipOnTab.TabIndex = 13; chbFolderIcon.AutoSize = true; chbFolderIcon.Location = new Point(0x1b, 0x182); chbFolderIcon.TabIndex = 12; chbFolderIcon.CheckedChanged += chbFolderIcon_CheckedChanged; chbTabCloseBtnHover.AutoSize = true; chbTabCloseBtnHover.Location = new Point(0x36, 0x16a); chbTabCloseBtnHover.TabIndex = 11; chbTabCloseBtnHover.CheckedChanged += chbTabCloseBtns_CheckedChanged; chbTabCloseBtnAlt.AutoSize = true; chbTabCloseBtnAlt.Location = new Point(0x36, 0x156); chbTabCloseBtnAlt.TabIndex = 10; chbTabCloseBtnAlt.CheckedChanged += chbTabCloseBtns_CheckedChanged; chbTabCloseButton.AutoSize = true; chbTabCloseButton.Location = new Point(0x1b, 0x142); chbTabCloseButton.TabIndex = 9; chbTabCloseButton.CheckedChanged += chbTabCloseButton_CheckedChanged; chbAutoSubText.AutoSize = true; chbAutoSubText.Location = new Point(0x1b, 0x12a); chbAutoSubText.TabIndex = 8; cmbMultiRow.DropDownStyle = ComboBoxStyle.DropDownList; cmbMultiRow.Location = new Point(0x11d, 0x102); cmbMultiRow.Size = new Size(0xa8, 0x15); cmbMultiRow.TabIndex = 7; lblMultiRows.AutoSize = true; lblMultiRows.Location = new Point(0x19, 0x105); btnBrowseAction_BarDblClck.Location = new Point(0x1a3, 0xd5); btnBrowseAction_BarDblClck.Size = new Size(0x22, 0x19); btnBrowseAction_BarDblClck.TabIndex = 6; btnBrowseAction_BarDblClck.Text = "..."; btnBrowseAction_BarDblClck.Click += btnBrowseAction_Click; textBoxAction_BarDblClck.Location = new Point(0x97, 0xd7); textBoxAction_BarDblClck.Size = new Size(0x107, 0x15); textBoxAction_BarDblClck.MaxLength = 260; textBoxAction_BarDblClck.TabIndex = 5; lblAction_BarDblClick.AutoSize = true; lblAction_BarDblClick.Location = new Point(0x2e, 0xda); cmbBGDblClick.DropDownStyle = ComboBoxStyle.DropDownList; cmbBGDblClick.Location = new Point(0x11d, 0xb1); cmbBGDblClick.Size = new Size(0xa8, 0x15); cmbBGDblClick.TabIndex = 4; cmbBGDblClick.SelectedIndexChanged += comboBoxes_SelectedIndexChanged; lblBGDblClik.AutoSize = true; lblBGDblClik.Location = new Point(0x19, 0xb5); cmbTabWhlClck.DropDownStyle = ComboBoxStyle.DropDownList; cmbTabWhlClck.Location = new Point(0x11d, 0x89); cmbTabWhlClck.Size = new Size(0xa8, 0x15); cmbTabWhlClck.TabIndex = 3; lblTabWhlClk.AutoSize = true; lblTabWhlClk.Location = new Point(0x19, 0x8d); cmbTabDblClck.DropDownStyle = ComboBoxStyle.DropDownList; cmbTabDblClck.Location = new Point(0x11d, 0x61); cmbTabDblClck.Size = new Size(0xa8, 0x15); cmbTabDblClck.TabIndex = 2; lblTabDblClk.AutoSize = true; lblTabDblClk.Location = new Point(0x19, 0x65); cmbActvClose.DropDownStyle = ComboBoxStyle.DropDownList; cmbActvClose.Location = new Point(0x11d, 0x39); cmbActvClose.Size = new Size(0xa8, 0x15); cmbActvClose.TabIndex = 1; lblActvClose.AutoSize = true; lblActvClose.Location = new Point(0x19, 0x3d); cmbNewTabLoc.DropDownStyle = ComboBoxStyle.DropDownList; cmbNewTabLoc.Location = new Point(0x11d, 0x11); cmbNewTabLoc.Size = new Size(0xa8, 0x15); cmbNewTabLoc.TabIndex = 0; lblNewTabLoc.AutoSize = true; lblNewTabLoc.Location = new Point(0x19, 0x15); tabPage3_Wndw.Controls.Add(chbWhlClick); tabPage3_Wndw.Controls.Add(chbNCADblClck); tabPage3_Wndw.Controls.Add(chbBlockProcess); tabPage3_Wndw.Controls.Add(chbFoldrTree); tabPage3_Wndw.Controls.Add(chbWndUnresizable); tabPage3_Wndw.Controls.Add(chbWndRestrAlpha); tabPage3_Wndw.Controls.Add(chbNoTabFromOuteside); tabPage3_Wndw.Controls.Add(chbHolizontalScroll); tabPage3_Wndw.Controls.Add(chbWhlChangeView); tabPage3_Wndw.Controls.Add(chbNeverCloseWindow); tabPage3_Wndw.Controls.Add(chbNeverCloseWndLocked); tabPage3_Wndw.Controls.Add(chbRestoreClosed); tabPage3_Wndw.Controls.Add(chbRestoreLocked); tabPage3_Wndw.Controls.Add(chbSendToTray); tabPage3_Wndw.Controls.Add(chbSendToTrayOnMinimize); tabPage3_Wndw.Controls.Add(cmbWhlClick); tabPage3_Wndw.Controls.Add(lblSep); tabPage3_Wndw.Location = new Point(4, 0x16); tabPage3_Wndw.Padding = new Padding(3); tabPage3_Wndw.Size = new Size(0x1ff, 0x1d7); tabPage3_Wndw.TabIndex = 4; tabPage3_Wndw.UseVisualStyleBackColor = true; lblSep.BorderStyle = BorderStyle.Fixed3D; lblSep.Location = new Point(0x1a, 0x115); lblSep.Margin = new Padding(0); lblSep.Size = new Size(0x149, 2); cmbWhlClick.DropDownStyle = ComboBoxStyle.DropDownList; cmbWhlClick.Location = new Point(0x11d, 0x11); cmbWhlClick.Size = new Size(0x6f, 0x15); cmbWhlClick.TabIndex = 1; chbSendToTrayOnMinimize.AutoSize = true; chbSendToTrayOnMinimize.Location = new Point(0x1b, 0x1b3); chbSendToTrayOnMinimize.TabIndex = 13; chbSendToTray.AutoSize = true; chbSendToTray.Location = new Point(0x1b, 0x197); chbSendToTray.TabIndex = 12; chbRestoreLocked.AutoSize = true; chbRestoreLocked.Location = new Point(0x1b, 0x17b); chbRestoreLocked.TabIndex = 11; chbRestoreLocked.CheckedChanged += chbsCloseWindow_CheckedChanged; chbRestoreClosed.AutoSize = true; chbRestoreClosed.Location = new Point(0x1b, 0x15f); chbRestoreClosed.TabIndex = 10; chbRestoreClosed.CheckedChanged += chbsCloseWindow_CheckedChanged; chbNeverCloseWndLocked.AutoSize = true; chbNeverCloseWndLocked.Location = new Point(0x1b, 0x143); chbNeverCloseWndLocked.TabIndex = 9; chbNeverCloseWndLocked.CheckedChanged += chbsCloseWindow_CheckedChanged; chbNeverCloseWindow.AutoSize = true; chbNeverCloseWindow.Location = new Point(0x1b, 0x127); chbNeverCloseWindow.TabIndex = 8; chbWhlChangeView.AutoSize = true; chbWhlChangeView.Location = new Point(0x1b, 0xf5); chbWhlChangeView.TabIndex = 9; chbHolizontalScroll.AutoSize = true; chbHolizontalScroll.Location = new Point(0x1b, 0xd9); chbHolizontalScroll.TabIndex = 8; chbNoTabFromOuteside.AutoSize = true; chbNoTabFromOuteside.Location = new Point(0x1b, 0xbd); chbNoTabFromOuteside.TabIndex = 7; chbFoldrTree.AutoSize = true; chbFoldrTree.Location = new Point(0x1b, 0xa1); chbFoldrTree.TabIndex = 6; chbBlockProcess.AutoSize = true; chbBlockProcess.Location = new Point(0x1b, 0x85); chbBlockProcess.TabIndex = 5; chbWndRestrAlpha.AutoSize = true; chbWndRestrAlpha.Location = new Point(0x1b, 0x69); chbWndRestrAlpha.TabIndex = 4; chbWndUnresizable.AutoSize = true; chbWndUnresizable.Location = new Point(0x1b, 0x4d); chbWndUnresizable.TabIndex = 3; chbNCADblClck.AutoSize = true; chbNCADblClck.Location = new Point(0x1b, 0x31); chbNCADblClck.TabIndex = 2; chbWhlClick.AutoSize = true; chbWhlClick.Location = new Point(0x1b, 0x15); chbWhlClick.TabIndex = 0; chbWhlClick.CheckedChanged += chbMMButton_CheckedChanged; tabPage4_View.Controls.Add(chbUseTabSkin); tabPage4_View.Controls.Add(chbBoldActv); tabPage4_View.Controls.Add(chbToolbarBGClr); tabPage4_View.Controls.Add(chbRebarBGImage); tabPage4_View.Controls.Add(chbTabTitleShadow); tabPage4_View.Controls.Add(propertyGrid1); tabPage4_View.Controls.Add(nudTabWidth); tabPage4_View.Controls.Add(nudTabHeight); tabPage4_View.Controls.Add(nudTabWidthMax); tabPage4_View.Controls.Add(nudTabWidthMin); tabPage4_View.Controls.Add(lblTabSizeTitle); tabPage4_View.Controls.Add(lblTabWidth); tabPage4_View.Controls.Add(lblTabHeight); tabPage4_View.Controls.Add(lblTabWFix); tabPage4_View.Controls.Add(lblTabWMax); tabPage4_View.Controls.Add(lblTabWMin); tabPage4_View.Controls.Add(lblTabFont); tabPage4_View.Controls.Add(lblTabTxtClr); tabPage4_View.Controls.Add(lblTabTextAlignment); tabPage4_View.Controls.Add(lblMenuRenderer); tabPage4_View.Controls.Add(cmbTabSizeMode); tabPage4_View.Controls.Add(cmbTabTextAlignment); tabPage4_View.Controls.Add(cmbRebarBGImageMode); tabPage4_View.Controls.Add(cmbMenuRenderer); tabPage4_View.Controls.Add(btnHiliteClsc); tabPage4_View.Controls.Add(btnTabFont); tabPage4_View.Controls.Add(btnActTxtClr); tabPage4_View.Controls.Add(btnInactTxtClr); tabPage4_View.Controls.Add(btnDefTxtClr); tabPage4_View.Controls.Add(btnToolBarBGClr); tabPage4_View.Controls.Add(btnRebarImage); tabPage4_View.Controls.Add(btnShadowAct); tabPage4_View.Controls.Add(btnShadowIna); tabPage4_View.Controls.Add(btnTabImage); tabPage4_View.Controls.Add(tbRebarImagePath); tabPage4_View.Controls.Add(tbTabImagePath); tabPage4_View.Location = new Point(4, 0x16); tabPage4_View.Size = new Size(0x1ff, 0x1d7); tabPage4_View.TabIndex = 3; tabPage4_View.UseVisualStyleBackColor = true; cmbMenuRenderer.DropDownStyle = ComboBoxStyle.DropDownList; cmbMenuRenderer.Location = new Point(0x99, 0x1df); cmbMenuRenderer.Size = new Size(100, 0x15); cmbMenuRenderer.TabIndex = 0x19; lblMenuRenderer.AutoSize = true; lblMenuRenderer.Location = new Point(13, 0x1e1); cmbRebarBGImageMode.DropDownStyle = ComboBoxStyle.DropDownList; cmbRebarBGImageMode.Location = new Point(0xdf, 0x1c0); cmbRebarBGImageMode.Size = new Size(180, 0x15); cmbRebarBGImageMode.TabIndex = 0x18; btnRebarImage.Location = new Point(440, 0x1a6); btnRebarImage.Size = new Size(0x22, 0x19); btnRebarImage.TabIndex = 0x17; btnRebarImage.Text = "..."; btnRebarImage.Click += btnRebarImage_Click; tbRebarImagePath.Location = new Point(0xdf, 0x1a7); tbRebarImagePath.Size = new Size(0xd5, 0x15); tbRebarImagePath.MaxLength = 260; tbRebarImagePath.TabIndex = 0x16; tbRebarImagePath.KeyPress += textBoxesPath_KeyPress; chbRebarBGImage.AutoSize = true; chbRebarBGImage.Location = new Point(0x10, 0x1a9); chbRebarBGImage.TabIndex = 0x15; chbRebarBGImage.CheckedChanged += chbRebarBGImage_CheckedChanged; btnToolBarBGClr.Location = new Point(0xdf, 0x18b); btnToolBarBGClr.Size = new Size(180, 0x17); btnToolBarBGClr.TabIndex = 20; btnToolBarBGClr.Click += buttonToolBarBGClr_Click; chbToolbarBGClr.AutoSize = true; chbToolbarBGClr.Location = new Point(0x10, 400); chbToolbarBGClr.TabIndex = 0x13; chbToolbarBGClr.CheckedChanged += chbToolbarBGClr_CheckedChanged; btnShadowIna.AutoSize = true; btnShadowIna.Location = new Point(0x107, 0x160); btnShadowIna.Size = new Size(100, 0x17); btnShadowIna.TabIndex = 0x12; btnShadowIna.Click += btnShadowClrs_Click; btnShadowAct.AutoSize = true; btnShadowAct.Location = new Point(0x99, 0x160); btnShadowAct.Size = new Size(100, 0x17); btnShadowAct.TabIndex = 0x11; btnShadowAct.Click += btnShadowClrs_Click; chbTabTitleShadow.AutoSize = true; chbTabTitleShadow.Location = new Point(0x10, 0x165); chbTabTitleShadow.TabIndex = 0x10; chbTabTitleShadow.CheckedChanged += chbTabTitleShadow_CheckedChanged; btnDefTxtClr.AutoSize = true; btnDefTxtClr.Location = new Point(0x175, 0x13f); btnDefTxtClr.Size = new Size(100, 0x17); btnDefTxtClr.TabIndex = 15; btnDefTxtClr.Click += buttonRstClr_Click; btnInactTxtClr.AutoSize = true; btnInactTxtClr.Location = new Point(0x107, 0x13f); btnInactTxtClr.Size = new Size(100, 0x17); btnInactTxtClr.TabIndex = 14; btnInactTxtClr.Click += buttonInactClr_Click; btnActTxtClr.AutoSize = true; btnActTxtClr.Location = new Point(0x99, 0x13f); btnActTxtClr.Size = new Size(100, 0x17); btnActTxtClr.TabIndex = 13; btnActTxtClr.Click += buttonActClr_Click; lblTabTxtClr.AutoSize = true; lblTabTxtClr.Location = new Point(13, 0x144); chbBoldActv.AutoSize = true; chbBoldActv.Location = new Point(0x109, 0x121); chbBoldActv.TabIndex = 12; btnTabFont.Location = new Point(0x99, 0x11c); btnTabFont.Size = new Size(100, 0x19); btnTabFont.TabIndex = 11; btnTabFont.Click += btnFont_Click; lblTabFont.AutoSize = true; lblTabFont.Location = new Point(13, 290); cmbTabTextAlignment.DropDownStyle = ComboBoxStyle.DropDownList; cmbTabTextAlignment.Location = new Point(0x99, 0xfe); cmbTabTextAlignment.Size = new Size(100, 0x15); cmbTabTextAlignment.TabIndex = 10; lblTabTextAlignment.Location = new Point(13, 0x100); lblTabTextAlignment.AutoSize = true; nudTabWidthMin.Location = new Point(0x152, 0xdf); int[] numArray10 = new int[4]; numArray10[0] = 0x200; nudTabWidthMin.Maximum = new decimal(numArray10); int[] numArray11 = new int[4]; numArray11[0] = 10; nudTabWidthMin.Minimum = new decimal(numArray11); nudTabWidthMin.Size = new Size(0x33, 0x15); nudTabWidthMin.TabIndex = 9; nudTabWidthMin.TextAlign = HorizontalAlignment.Center; int[] numArray12 = new int[4]; numArray12[0] = 0x19; nudTabWidthMin.Value = new decimal(numArray12); nudTabWidthMin.ValueChanged += numericUpDownMax_ValueChanged; lblTabWMin.Location = new Point(0xfc, 0xdf); lblTabWMin.Size = new Size(0x4c, 0x15); lblTabWMin.TextAlign = ContentAlignment.MiddleRight; nudTabWidthMax.Location = new Point(0x152, 0xc5); int[] numArray13 = new int[4]; numArray13[0] = 0x200; nudTabWidthMax.Maximum = new decimal(numArray13); int[] numArray14 = new int[4]; numArray14[0] = 10; nudTabWidthMax.Minimum = new decimal(numArray14); nudTabWidthMax.Size = new Size(0x33, 0x15); nudTabWidthMax.TabIndex = 8; nudTabWidthMax.TextAlign = HorizontalAlignment.Center; int[] numArray15 = new int[4]; numArray15[0] = 0x19; nudTabWidthMax.Value = new decimal(numArray15); nudTabWidthMax.ValueChanged += numericUpDownMax_ValueChanged; lblTabWMax.Location = new Point(0xfc, 0xc5); lblTabWMax.Size = new Size(0x4c, 0x15); lblTabWMax.TextAlign = ContentAlignment.MiddleRight; nudTabWidth.Location = new Point(0x152, 0xab); int[] numArray16 = new int[4]; numArray16[0] = 0x200; nudTabWidth.Maximum = new decimal(numArray16); int[] numArray17 = new int[4]; numArray17[0] = 10; nudTabWidth.Minimum = new decimal(numArray17); nudTabWidth.Size = new Size(0x33, 0x15); nudTabWidth.TabIndex = 7; nudTabWidth.TextAlign = HorizontalAlignment.Center; int[] numArray18 = new int[4]; numArray18[0] = 0x18; nudTabWidth.Value = new decimal(numArray18); lblTabWFix.Location = new Point(0x102, 0xab); lblTabWFix.Size = new Size(70, 0x15); lblTabWFix.TextAlign = ContentAlignment.MiddleRight; cmbTabSizeMode.DropDownStyle = ComboBoxStyle.DropDownList; cmbTabSizeMode.Location = new Point(0x99, 170); cmbTabSizeMode.Size = new Size(100, 0x15); cmbTabSizeMode.TabIndex = 6; cmbTabSizeMode.SelectedIndexChanged += comboBoxes_SelectedIndexChanged; nudTabHeight.Location = new Point(0x99, 140); int[] numArray19 = new int[4]; numArray19[0] = 50; nudTabHeight.Maximum = new decimal(numArray19); int[] numArray20 = new int[4]; numArray20[0] = 10; nudTabHeight.Minimum = new decimal(numArray20); nudTabHeight.Size = new Size(0x33, 0x15); nudTabHeight.TabIndex = 5; nudTabHeight.TextAlign = HorizontalAlignment.Center; int[] numArray21 = new int[4]; numArray21[0] = 0x18; nudTabHeight.Value = new decimal(numArray21); lblTabWidth.AutoSize = true; lblTabWidth.Location = new Point(0x4a, 0xac); lblTabHeight.AutoSize = true; lblTabHeight.Location = new Point(0x4a, 0x8f); lblTabSizeTitle.AutoSize = true; lblTabSizeTitle.Location = new Point(13, 0x79); propertyGrid1.HelpVisible = false; propertyGrid1.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; propertyGrid1.Location = new Point(15, 0x26); propertyGrid1.PropertySort = PropertySort.NoSort; propertyGrid1.Size = new Size(0x176, 0x48); propertyGrid1.TabIndex = 3; propertyGrid1.ToolbarVisible = false; btnHiliteClsc.Anchor = AnchorStyles.Right | AnchorStyles.Top; btnHiliteClsc.AutoSize = true; btnHiliteClsc.Location = new Point(0x1a3, 0x26); btnHiliteClsc.Size = new Size(0x4b, 0x17); btnHiliteClsc.TabIndex = 4; btnHiliteClsc.Click += buttonHL_Click; btnTabImage.Location = new Point(440, 11); btnTabImage.Size = new Size(0x22, 0x19); btnTabImage.TabIndex = 2; btnTabImage.Text = "..."; btnTabImage.Click += btnTabImage_Click; tbTabImagePath.Location = new Point(0xdf, 12); tbTabImagePath.Size = new Size(0xd5, 0x15); tbTabImagePath.MaxLength = 260; tbTabImagePath.TabIndex = 1; tbTabImagePath.KeyPress += textBoxesPath_KeyPress; chbUseTabSkin.AutoSize = true; chbUseTabSkin.Location = new Point(15, 14); chbUseTabSkin.TabIndex = 0; chbUseTabSkin.CheckedChanged += chbDrawMode_CheckedChanged; tabPage5_Grps.Controls.Add(btnUp_Grp); tabPage5_Grps.Controls.Add(btnDown_Grp); tabPage5_Grps.Controls.Add(btnAddSep_Grp); tabPage5_Grps.Controls.Add(btnStartUpGrp); tabPage5_Grps.Controls.Add(btnPlus_Grp); tabPage5_Grps.Controls.Add(btnMinus_Grp); tabPage5_Grps.Controls.Add(treeViewGroup); tabPage5_Grps.Controls.Add(cmbSpclFol_Grp); tabPage5_Grps.Controls.Add(btnAddSpcFol_Grp); tabPage5_Grps.Controls.Add(lblGroupKey); tabPage5_Grps.Controls.Add(tbGroupKey); tabPage5_Grps.Controls.Add(chbGroupKey); tabPage5_Grps.Location = new Point(4, 0x16); tabPage5_Grps.Padding = new Padding(3); tabPage5_Grps.Size = new Size(0x1ff, 0x1d7); tabPage5_Grps.TabIndex = 2; tabPage5_Grps.UseVisualStyleBackColor = true; treeViewGroup.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; treeViewGroup.HideSelection = false; treeViewGroup.ImageKey = "noimage"; treeViewGroup.SelectedImageKey = "noimage"; treeViewGroup.ImageList = QTUtility.ImageListGlobal; treeViewGroup.LabelEdit = true; treeViewGroup.Location = new Point(5, 0x2d); treeViewGroup.ShowNodeToolTips = true; treeViewGroup.Size = new Size(0x1ed, 0x156); treeViewGroup.TabIndex = 6; treeViewGroup.AfterSelect += treeViewGroup_AfterSelect; treeViewGroup.BeforeLabelEdit += treeViewGroup_BeforeLabelEdit; treeViewGroup.AfterLabelEdit += treeViewGroup_AfterLabelEdit; treeViewGroup.KeyDown += treeViewGroup_KeyDown; btnUp_Grp.Enabled = false; btnUp_Grp.Location = new Point(5, 0x10); btnUp_Grp.Size = new Size(50, 0x17); btnUp_Grp.TabIndex = 0; btnUp_Grp.Click += UpDownButtons_Click; btnDown_Grp.Enabled = false; btnDown_Grp.Location = new Point(0x3d, 0x10); btnDown_Grp.Size = new Size(50, 0x17); btnDown_Grp.TabIndex = 1; btnDown_Grp.Click += UpDownButtons_Click; btnAddSep_Grp.Location = new Point(0x75, 0x10); btnAddSep_Grp.Size = new Size(120, 0x17); btnAddSep_Grp.TabIndex = 2; btnAddSep_Grp.Click += btnAddSep_Click; btnStartUpGrp.Anchor = AnchorStyles.Right | AnchorStyles.Top; btnStartUpGrp.Location = new Point(0x150, 0x10); btnStartUpGrp.Size = new Size(100, 0x17); btnStartUpGrp.TabIndex = 3; btnStartUpGrp.Click += btnStartUpGrp_Click; btnPlus_Grp.Anchor = AnchorStyles.Right | AnchorStyles.Top; btnPlus_Grp.Location = new Point(0x1ba, 0x10); btnPlus_Grp.Size = new Size(0x19, 0x17); btnPlus_Grp.TabIndex = 4; btnPlus_Grp.Text = "+"; btnPlus_Grp.Click += btnPlus_Click; btnMinus_Grp.Anchor = AnchorStyles.Right | AnchorStyles.Top; btnMinus_Grp.Location = new Point(0x1d9, 0x10); btnMinus_Grp.Size = new Size(0x19, 0x17); btnMinus_Grp.TabIndex = 5; btnMinus_Grp.Text = "-"; btnMinus_Grp.Click += btnMinus_Click; cmbSpclFol_Grp.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; cmbSpclFol_Grp.Enabled = false; cmbSpclFol_Grp.DropDownStyle = ComboBoxStyle.DropDownList; cmbSpclFol_Grp.Location = new Point(5, 0x187); cmbSpclFol_Grp.Size = new Size(150, 0x15); cmbSpclFol_Grp.TabIndex = 7; btnAddSpcFol_Grp.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; btnAddSpcFol_Grp.Enabled = false; btnAddSpcFol_Grp.Location = new Point(0x9e, 390); btnAddSpcFol_Grp.Size = new Size(0x19, 0x17); btnAddSpcFol_Grp.TabIndex = 8; btnAddSpcFol_Grp.Text = "+"; btnAddSpcFol_Grp.Click += btnAddSpcFol_Grp_Click; lblGroupKey.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; lblGroupKey.AutoSize = true; lblGroupKey.Location = new Point(6, 0x1ac); lblGroupKey.Size = new Size(0x61, 13); chbGroupKey.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; chbGroupKey.AutoSize = true; chbGroupKey.Enabled = false; chbGroupKey.Location = new Point(0x6b, 420); chbGroupKey.TabIndex = 9; chbGroupKey.CheckedChanged += chbGroupKey_CheckedChanged; tbGroupKey.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom; tbGroupKey.Enabled = false; tbGroupKey.Location = new Point(0x7f, 0x1a9); tbGroupKey.Size = new Size(340, 0x15); tbGroupKey.TextAlign = HorizontalAlignment.Center; tbGroupKey.TabIndex = 10; tbGroupKey.PreviewKeyDown += tbGroupKey_PreviewKeyDown; tbGroupKey.KeyPress += tbGroupKey_KeyPress; tabPage6_Apps.Controls.Add(treeViewUserApps); tabPage6_Apps.Controls.Add(btnUp_app); tabPage6_Apps.Controls.Add(btnDown_app); tabPage6_Apps.Controls.Add(btnAddSep_app); tabPage6_Apps.Controls.Add(btnAddVFolder_app); tabPage6_Apps.Controls.Add(btnPlus_app); tabPage6_Apps.Controls.Add(btnMinus_app); tabPage6_Apps.Controls.Add(lblUserApps_Path); tabPage6_Apps.Controls.Add(lblUserApps_Args); tabPage6_Apps.Controls.Add(lblUserApps_Working); tabPage6_Apps.Controls.Add(lblUserApps_Key); tabPage6_Apps.Controls.Add(tbPath); tabPage6_Apps.Controls.Add(tbArgs); tabPage6_Apps.Controls.Add(tbWorking); tabPage6_Apps.Controls.Add(chbUserAppKey); tabPage6_Apps.Controls.Add(tbUserAppKey); tabPage6_Apps.Controls.Add(btnOFD_app); tabPage6_Apps.Controls.Add(btnBFD_app); tabPage6_Apps.Controls.Add(btnAddToken_Arg); tabPage6_Apps.Controls.Add(btnAddToken_Wrk); tabPage6_Apps.Location = new Point(4, 0x16); tabPage6_Apps.Padding = new Padding(3); tabPage6_Apps.Size = new Size(0x1ff, 0x1d7); tabPage6_Apps.TabIndex = 5; tabPage6_Apps.UseVisualStyleBackColor = true; treeViewUserApps.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; treeViewUserApps.HideSelection = false; treeViewUserApps.ImageKey = "noimage"; treeViewUserApps.SelectedImageKey = "noimage"; treeViewUserApps.ImageList = QTUtility.ImageListGlobal; treeViewUserApps.LabelEdit = true; treeViewUserApps.Location = new Point(5, 0x2d); treeViewUserApps.Size = new Size(0x1ed, 0x12e); treeViewUserApps.TabIndex = 6; treeViewUserApps.AfterLabelEdit += treeViewUserApps_AfterLabelEdit; treeViewUserApps.AfterSelect += treeViewUserApps_AfterSelect; treeViewUserApps.BeforeLabelEdit += treeViewUserApps_BeforeLabelEdit; treeViewUserApps.KeyDown += treeViewUserApps_KeyDown; btnUp_app.Enabled = false; btnUp_app.Location = new Point(5, 0x10); btnUp_app.Size = new Size(50, 0x17); btnUp_app.TabIndex = 0; btnUp_app.Click += btnUpDown_app_Click; btnDown_app.Enabled = false; btnDown_app.Location = new Point(0x3d, 0x10); btnDown_app.Size = new Size(50, 0x17); btnDown_app.TabIndex = 1; btnDown_app.Click += btnUpDown_app_Click; btnAddSep_app.Location = new Point(0x75, 0x10); btnAddSep_app.Size = new Size(120, 0x17); btnAddSep_app.TabIndex = 2; btnAddSep_app.Click += btnAddSep_app_Click; btnAddVFolder_app.Anchor = AnchorStyles.Right | AnchorStyles.Top; btnAddVFolder_app.Location = new Point(0x182, 0x10); btnAddVFolder_app.Size = new Size(50, 0x18); btnAddVFolder_app.TabIndex = 3; btnAddVFolder_app.Text = "+"; btnAddVFolder_app.TextImageRelation = TextImageRelation.ImageBeforeText; btnAddVFolder_app.ImageAlign = ContentAlignment.TopLeft; btnAddVFolder_app.Click += btnAddVirtualFolder_app_Click; btnPlus_app.Anchor = AnchorStyles.Right | AnchorStyles.Top; btnPlus_app.Location = new Point(0x1ba, 0x10); btnPlus_app.Size = new Size(0x19, 0x17); btnPlus_app.TabIndex = 4; btnPlus_app.Text = "+"; btnPlus_app.Click += btnPlus_app_Click; btnMinus_app.Anchor = AnchorStyles.Right | AnchorStyles.Top; btnMinus_app.Location = new Point(0x1d9, 0x10); btnMinus_app.Size = new Size(0x19, 0x17); btnMinus_app.TabIndex = 5; btnMinus_app.Text = "-"; btnMinus_app.Click += btnMinus_app_Click; lblUserApps_Path.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; lblUserApps_Path.AutoSize = true; lblUserApps_Path.Location = new Point(6, 0x164); lblUserApps_Path.Size = new Size(0x21, 13); lblUserApps_Args.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; lblUserApps_Args.AutoSize = true; lblUserApps_Args.Location = new Point(6, 380); lblUserApps_Args.Size = new Size(0x3f, 13); lblUserApps_Working.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; lblUserApps_Working.AutoSize = true; lblUserApps_Working.Location = new Point(6, 0x194); lblUserApps_Working.Size = new Size(0x61, 13); lblUserApps_Key.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; lblUserApps_Key.AutoSize = true; lblUserApps_Key.Location = new Point(6, 0x1ac); lblUserApps_Key.Size = new Size(0x61, 13); tbPath.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom; tbPath.Enabled = false; tbPath.Location = new Point(0x6b, 0x161); tbPath.Size = new Size(0x149, 0x15); tbPath.MaxLength = 260; tbPath.TabIndex = 7; tbPath.TextChanged += tbsUserApps_TextChanged; tbPath.KeyPress += textBoxesPath_KeyPress; tbArgs.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom; tbArgs.Enabled = false; tbArgs.Location = new Point(0x6b, 0x179); tbArgs.Size = new Size(360, 0x15); tbArgs.MaxLength = 260; tbArgs.TabIndex = 10; tbArgs.TextChanged += tbsUserApps_TextChanged; tbWorking.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom; tbWorking.Enabled = false; tbWorking.Location = new Point(0x6b, 0x191); tbWorking.Size = new Size(360, 0x15); tbWorking.MaxLength = 260; tbWorking.TabIndex = 12; tbWorking.TextChanged += tbsUserApps_TextChanged; tbWorking.KeyPress += textBoxesPath_KeyPress; chbUserAppKey.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; chbUserAppKey.AutoSize = true; chbUserAppKey.Enabled = false; chbUserAppKey.Location = new Point(0x6b, 420); chbUserAppKey.TabIndex = 14; chbUserAppKey.CheckedChanged += chbUserAppKey_CheckedChanged; tbUserAppKey.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom; tbUserAppKey.Enabled = false; tbUserAppKey.Location = new Point(0x7f, 0x1a9); tbUserAppKey.Size = new Size(340, 0x15); tbUserAppKey.TextAlign = HorizontalAlignment.Center; tbUserAppKey.TabIndex = 15; tbUserAppKey.PreviewKeyDown += tbUserAppKey_PreviewKeyDown; tbUserAppKey.KeyPress += tbUserAppKey_KeyPress; btnOFD_app.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; btnOFD_app.Enabled = false; btnOFD_app.Location = new Point(0x1ba, 0x161); btnOFD_app.Size = new Size(0x19, 0x15); btnOFD_app.TabIndex = 8; btnOFD_app.Text = "..."; btnOFD_app.UseVisualStyleBackColor = true; btnOFD_app.Click += btnOFD_app_Click; btnBFD_app.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; btnBFD_app.Enabled = false; btnBFD_app.Location = new Point(0x1d9, 0x161); btnBFD_app.Size = new Size(0x19, 0x15); btnBFD_app.TabIndex = 9; btnBFD_app.Text = "."; btnBFD_app.UseVisualStyleBackColor = true; btnBFD_app.Click += btnBFD_app_Click; btnAddToken_Arg.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; btnAddToken_Arg.Location = new Point(0x1d9, 0x179); btnAddToken_Arg.Enabled = false; btnAddToken_Arg.Size = new Size(0x19, 0x15); btnAddToken_Arg.TabIndex = 11; btnAddToken_Arg.Text = "%"; btnAddToken_Arg.UseVisualStyleBackColor = true; btnAddToken_Arg.Click += btnAddToken_Arg_Click; btnAddToken_Wrk.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; btnAddToken_Wrk.Enabled = false; btnAddToken_Wrk.Location = new Point(0x1d9, 0x191); btnAddToken_Wrk.Size = new Size(0x19, 0x15); btnAddToken_Wrk.TabIndex = 13; btnAddToken_Wrk.Text = "%"; btnAddToken_Wrk.UseVisualStyleBackColor = true; btnAddToken_Wrk.Click += btnAddToken_Wrk_Click; cmsAddToken.ShowImageMargin = false; cmsAddToken.ItemClicked += cmsAddToken_ItemClicked; tabPage9_Misc.Controls.Add(chbForceSysListView); tabPage9_Misc.Controls.Add(chbAlwaysShowHeader); tabPage9_Misc.Controls.Add(chbHideMenu); tabPage9_Misc.Controls.Add(chbBSUpOneLvl); tabPage9_Misc.Controls.Add(chbNoFulRowSelect); tabPage9_Misc.Controls.Add(chbGridLine); tabPage9_Misc.Controls.Add(chbAlternateColor); tabPage9_Misc.Controls.Add(chbShowPreview); tabPage9_Misc.Controls.Add(chbPreviewMode); tabPage9_Misc.Controls.Add(chbPreviewInfo); tabPage9_Misc.Controls.Add(chbSubDirTip); tabPage9_Misc.Controls.Add(chbSubDirTipMode); tabPage9_Misc.Controls.Add(chbSubDirTipModeHidden); tabPage9_Misc.Controls.Add(chbSubDirTipModeSystem); tabPage9_Misc.Controls.Add(chbSubDirTipModeFile); tabPage9_Misc.Controls.Add(chbSubDirTipPreview); tabPage9_Misc.Controls.Add(chbSelectWithoutExt); tabPage9_Misc.Controls.Add(chbF2Selection); tabPage9_Misc.Controls.Add(chbCursorLoop); tabPage9_Misc.Controls.Add(btnAlternateColor); tabPage9_Misc.Controls.Add(btnAlternateColor_Text); tabPage9_Misc.Controls.Add(btnAlternate_Default); tabPage9_Misc.Controls.Add(btnAddImgExt); tabPage9_Misc.Controls.Add(btnDelImgExt); tabPage9_Misc.Controls.Add(btnDefaultImgExt); tabPage9_Misc.Controls.Add(btnPreviewFont); tabPage9_Misc.Controls.Add(btnPreviewFontDefault); tabPage9_Misc.Controls.Add(cmbImgExts); tabPage9_Misc.Controls.Add(btnAddTextExt); tabPage9_Misc.Controls.Add(btnDelTextExt); tabPage9_Misc.Controls.Add(btnDefaultTextExt); tabPage9_Misc.Controls.Add(cmbTextExts); tabPage9_Misc.Controls.Add(btnPayPal); tabPage9_Misc.Controls.Add(nudPreviewMaxHeight); tabPage9_Misc.Controls.Add(nudPreviewMaxWidth); tabPage9_Misc.Controls.Add(lblPreviewHeight); tabPage9_Misc.Controls.Add(lblPreviewWidth); tabPage9_Misc.Location = new Point(4, 0x16); tabPage9_Misc.Padding = new Padding(3); tabPage9_Misc.Size = new Size(0x1ff, 0x1d7); tabPage9_Misc.TabIndex = 6; tabPage9_Misc.UseVisualStyleBackColor = true; btnPayPal.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; btnPayPal.BackgroundImage = Resources_String.paypalBtn; btnPayPal.BackgroundImageLayout = ImageLayout.Center; btnPayPal.Location = new Point(0x1a8, 0x17b); btnPayPal.Size = new Size(0x47, 0x4c); btnPayPal.Cursor = Cursors.Hand; btnPayPal.TabIndex = 0x20; btnPayPal.UseVisualStyleBackColor = false; btnPayPal.Click += btnPayPal_Click; chbCursorLoop.AutoSize = true; chbCursorLoop.Location = new Point(0x1b, 0x1e1); chbCursorLoop.TabIndex = 0x1f; chbF2Selection.AutoSize = true; chbF2Selection.Location = new Point(0x1b, 0x1c9); chbF2Selection.TabIndex = 30; chbSelectWithoutExt.AutoSize = true; chbSelectWithoutExt.Location = new Point(0x1b, 0x1b1); chbSelectWithoutExt.TabIndex = 0x1d; chbSubDirTipModeSystem.AutoSize = true; chbSubDirTipModeSystem.Location = new Point(0x2d, 0x193); chbSubDirTipModeSystem.TabIndex = 0x1c; chbSubDirTipModeFile.AutoSize = true; chbSubDirTipModeFile.Location = new Point(0xd7, 0x179); chbSubDirTipModeFile.TabIndex = 0x1b; chbSubDirTipModeHidden.AutoSize = true; chbSubDirTipModeHidden.Location = new Point(0x2d, 0x179); chbSubDirTipModeHidden.TabIndex = 0x1a; chbSubDirTipPreview.AutoSize = true; chbSubDirTipPreview.Location = new Point(0xd7, 0x15f); chbSubDirTipPreview.TabIndex = 0x19; chbSubDirTipMode.AutoSize = true; chbSubDirTipMode.Location = new Point(0x2d, 0x15f); chbSubDirTipMode.TabIndex = 0x18; chbSubDirTip.AutoSize = true; chbSubDirTip.Location = new Point(0x1b, 330); chbSubDirTip.TabIndex = 0x17; chbSubDirTip.CheckedChanged += chbSubDirTip_CheckedChanged; btnPreviewFontDefault.Location = new Point(0x191, 0x127); btnPreviewFontDefault.Size = new Size(100, 0x17); btnPreviewFontDefault.TabIndex = 0x16; btnPreviewFontDefault.Click += btnPreviewFont_Click; btnPreviewFont.Location = new Point(0x123, 0x127); btnPreviewFont.Size = new Size(100, 0x17); btnPreviewFont.TabIndex = 0x15; btnPreviewFont.Click += btnPreviewFont_Click; btnDefaultTextExt.Location = new Point(0x191, 0x10d); btnDefaultTextExt.Size = new Size(100, 0x17); btnDefaultTextExt.TabIndex = 20; btnDefaultTextExt.Click += btnDefaultTextExt_Click; btnDelTextExt.Location = new Point(0x123, 0x10d); btnDelTextExt.Size = new Size(100, 0x17); btnDelTextExt.TabIndex = 0x13; btnDelTextExt.Click += btnDelPreiviewExt_Click; btnAddTextExt.Location = new Point(0xb5, 0x10d); btnAddTextExt.Size = new Size(100, 0x17); btnAddTextExt.TabIndex = 0x12; btnAddTextExt.Click += btnAddPreviewExt_Click; cmbTextExts.Location = new Point(0x2d, 0x10d); cmbTextExts.Size = new Size(130, 0x17); cmbTextExts.TabIndex = 0x11; cmbTextExts.SelectedIndexChanged += comboBoxes_SelectedIndexChanged; cmbTextExts.KeyPress += comboBoxPreviewExts_KeyPress; btnDefaultImgExt.Location = new Point(0x191, 0xf3); btnDefaultImgExt.Size = new Size(100, 0x17); btnDefaultImgExt.TabIndex = 0x10; btnDefaultImgExt.Click += btnDefaultImgExt_Click; btnDelImgExt.Location = new Point(0x123, 0xf3); btnDelImgExt.Size = new Size(100, 0x17); btnDelImgExt.TabIndex = 15; btnDelImgExt.Click += btnDelPreiviewExt_Click; btnAddImgExt.Location = new Point(0xb5, 0xf3); btnAddImgExt.Size = new Size(100, 0x17); btnAddImgExt.TabIndex = 14; btnAddImgExt.Click += btnAddPreviewExt_Click; cmbImgExts.Location = new Point(0x2d, 0xf3); cmbImgExts.Size = new Size(130, 0x17); cmbImgExts.TabIndex = 13; cmbImgExts.SelectedIndexChanged += comboBoxes_SelectedIndexChanged; cmbImgExts.KeyPress += comboBoxPreviewExts_KeyPress; lblPreviewWidth.Location = new Point(0x129, 0xbf); lblPreviewWidth.Size = new Size(0x62, 0x15); lblPreviewWidth.TextAlign = ContentAlignment.MiddleRight; lblPreviewHeight.Location = new Point(0x129, 0xd9); lblPreviewHeight.Size = new Size(0x62, 0x15); lblPreviewHeight.TextAlign = ContentAlignment.MiddleRight; nudPreviewMaxWidth.Location = new Point(0x191, 0xbf); int[] numArray22 = new int[4]; numArray22[0] = 0x780; nudPreviewMaxWidth.Maximum = new decimal(numArray22); int[] numArray23 = new int[4]; numArray23[0] = 0x80; nudPreviewMaxWidth.Minimum = new decimal(numArray23); nudPreviewMaxWidth.Size = new Size(0x3e, 0x15); nudPreviewMaxWidth.TabIndex = 11; nudPreviewMaxWidth.TextAlign = HorizontalAlignment.Center; int[] numArray24 = new int[4]; numArray24[0] = 0x200; nudPreviewMaxWidth.Value = new decimal(numArray24); nudPreviewMaxHeight.Location = new Point(0x191, 0xd9); int[] numArray25 = new int[4]; numArray25[0] = 0x4b0; nudPreviewMaxHeight.Maximum = new decimal(numArray25); int[] numArray26 = new int[4]; numArray26[0] = 0x60; nudPreviewMaxHeight.Minimum = new decimal(numArray26); nudPreviewMaxHeight.Size = new Size(0x3e, 0x15); nudPreviewMaxHeight.TabIndex = 12; nudPreviewMaxHeight.TextAlign = HorizontalAlignment.Center; int[] numArray27 = new int[4]; numArray27[0] = 0x100; nudPreviewMaxHeight.Value = new decimal(numArray27); chbPreviewInfo.AutoSize = true; chbPreviewInfo.Location = new Point(0x2d, 0xd7); chbPreviewInfo.TabIndex = 10; chbPreviewMode.AutoSize = true; chbPreviewMode.Location = new Point(0x2d, 0xbf); chbPreviewMode.TabIndex = 9; chbShowPreview.AutoSize = true; chbShowPreview.Location = new Point(0x1b, 170); chbShowPreview.TabIndex = 8; chbShowPreview.CheckedChanged += chbShowPreviewTooltip_CheckedChanged; btnAlternate_Default.Enabled = false; btnAlternate_Default.Location = new Point(0x191, 0x87); btnAlternate_Default.Size = new Size(100, 0x17); btnAlternate_Default.TabIndex = 7; btnAlternate_Default.Click += btnAlternateColor_Click; btnAlternateColor_Text.Enabled = false; btnAlternateColor_Text.Location = new Point(0x123, 0x87); btnAlternateColor_Text.Size = new Size(100, 0x17); btnAlternateColor_Text.TabIndex = 6; btnAlternateColor_Text.Click += btnAlternateColor_Click; btnAlternateColor.Enabled = false; btnAlternateColor.Location = new Point(0xb5, 0x87); btnAlternateColor.Size = new Size(100, 0x17); btnAlternateColor.TabIndex = 5; btnAlternateColor.Click += btnAlternateColor_Click; chbAlternateColor.AutoSize = true; chbAlternateColor.Location = new Point(0x1b, 0x70); chbAlternateColor.TabIndex = 4; chbAlternateColor.CheckedChanged += chbAlternateColor_CheckedChanged; chbGridLine.AutoSize = true; chbGridLine.Location = new Point(0x1b, 0x58); chbGridLine.TabIndex = 3; chbNoFulRowSelect.AutoSize = true; chbNoFulRowSelect.Location = new Point(0x1b, 0x40); chbNoFulRowSelect.TabIndex = 2; chbBSUpOneLvl.AutoSize = true; chbBSUpOneLvl.Location = new Point(0x1b, 40); chbBSUpOneLvl.TabIndex = 1; chbHideMenu.AutoSize = true; chbHideMenu.Location = new Point(0x1b, 0x10); chbHideMenu.TabIndex = 0; chbForceSysListView.AutoSize = true; chbForceSysListView.Location = new Point(240, 16); chbForceSysListView.TabIndex = 0; chbAlwaysShowHeader.AutoSize = true; chbAlwaysShowHeader.Location = new Point(240, 40); chbAlwaysShowHeader.TabIndex = 0; tabPage7_Plug.Controls.Add(btnBrowsePlugin); tabPage7_Plug.Controls.Add(pluginView); tabPage7_Plug.Controls.Add(lblPluginLang); tabPage7_Plug.Controls.Add(textBoxPluginLang); tabPage7_Plug.Controls.Add(btnBrowsePluginLang); tabPage7_Plug.Location = new Point(4, 0x16); tabPage7_Plug.Padding = new Padding(3); tabPage7_Plug.Size = new Size(0x1ff, 0x1d7); tabPage7_Plug.TabIndex = 2; tabPage7_Plug.UseVisualStyleBackColor = true; btnBrowsePlugin.AutoSize = true; btnBrowsePlugin.Location = new Point(5, 0x10); btnBrowsePlugin.TabIndex = 0; btnBrowsePlugin.UseVisualStyleBackColor = true; btnBrowsePlugin.Click += btnBrowsePlugin_Click; pluginView.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; pluginView.ColumnCount = 1; pluginView.ColumnStyles.Add(new ColumnStyle()); pluginView.Location = new Point(5, 0x2d); pluginView.Size = new Size(0x1ed, 0x156); pluginView.TabIndex = 1; lblPluginLang.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; lblPluginLang.AutoSize = true; lblPluginLang.Location = new Point(0x1b, 0x194); textBoxPluginLang.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom; textBoxPluginLang.Location = new Point(0x2d, 0x1ac); textBoxPluginLang.Size = new Size(0x174, 0x15); textBoxPluginLang.MaxLength = 260; textBoxPluginLang.TabIndex = 2; textBoxPluginLang.KeyPress += textBoxesPath_KeyPress; btnBrowsePluginLang.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; btnBrowsePluginLang.Location = new Point(0x1a7, 0x1a9); btnBrowsePluginLang.Size = new Size(0x22, 0x19); btnBrowsePluginLang.TabIndex = 3; btnBrowsePluginLang.Text = "..."; btnBrowsePluginLang.Click += btnBrowsePluginLang_Click; tabPage8_Keys.Controls.Add(btnCopyKeys); tabPage8_Keys.Controls.Add(listViewKeyboard); tabPage8_Keys.Location = new Point(4, 0x16); tabPage8_Keys.Padding = new Padding(3); tabPage8_Keys.Size = new Size(0x1ff, 0x1d7); tabPage8_Keys.TabIndex = 2; tabPage8_Keys.UseVisualStyleBackColor = true; btnCopyKeys.Anchor = AnchorStyles.Left | AnchorStyles.Top; btnCopyKeys.Location = new Point(5, 0x10); btnCopyKeys.AutoSize = true; btnCopyKeys.TabIndex = 0; btnCopyKeys.UseVisualStyleBackColor = true; btnCopyKeys.Click += btnCopyKeys_Click; listViewKeyboard.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; listViewKeyboard.CheckBoxes = true; listViewKeyboard.Columns.AddRange(new ColumnHeader[] { clmKeys_Action, clmKeys_Key }); listViewKeyboard.FullRowSelect = true; listViewKeyboard.GridLines = true; listViewKeyboard.HeaderStyle = ColumnHeaderStyle.Nonclickable; listViewKeyboard.Location = new Point(5, 0x2d); listViewKeyboard.MultiSelect = false; listViewKeyboard.Size = new Size(0x1ed, 0x191); listViewKeyboard.ShowItemToolTips = true; listViewKeyboard.TabIndex = 1; listViewKeyboard.UseCompatibleStateImageBehavior = false; listViewKeyboard.View = View.Details; listViewKeyboard.PreviewKeyDown += listViewKeyboard_PreviewKeyDown; listViewKeyboard.KeyPress += listViewKeyboard_KeyPress; clmKeys_Action.Text = "Action"; clmKeys_Action.Width = 0x15c; clmKeys_Key.Text = "Key"; clmKeys_Key.TextAlign = HorizontalAlignment.Center; clmKeys_Key.Width = 120; tabPageA_Path.Controls.Add(listView_NoCapture); tabPageA_Path.Controls.Add(btnOFD_NoCapture); tabPageA_Path.Controls.Add(btnAdd_NoCapture); tabPageA_Path.Controls.Add(btnRemove_NoCapture); tabPageA_Path.Controls.Add(cmbSpclFol_NoCapture); tabPageA_Path.Controls.Add(btnAddSpcFol_NoCapture); tabPageA_Path.Location = new Point(4, 0x16); tabPageA_Path.Padding = new Padding(3); tabPageA_Path.Size = new Size(0x1ff, 0x1d7); tabPageA_Path.TabIndex = 2; tabPageA_Path.UseVisualStyleBackColor = true; listView_NoCapture.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; listView_NoCapture.Columns.AddRange(new ColumnHeader[] { clmnHeader_NoCapture }); listView_NoCapture.HeaderStyle = ColumnHeaderStyle.Nonclickable; listView_NoCapture.HideSelection = false; listView_NoCapture.LabelEdit = true; listView_NoCapture.Location = new Point(5, 0x2d); listView_NoCapture.Size = new Size(0x1ed, 0xa3); listView_NoCapture.FullRowSelect = true; listView_NoCapture.TabIndex = 8; listView_NoCapture.UseCompatibleStateImageBehavior = false; listView_NoCapture.View = View.Details; listView_NoCapture.ItemActivate += listView_NoCapture_ItemActivate; listView_NoCapture.SelectedIndexChanged += listView_NoCapture_SelectedIndexChanged; listView_NoCapture.KeyDown += listView_NoCapture_KeyDown; listView_NoCapture.BeforeLabelEdit += listView_NoCapture_BeforeLabelEdit; listView_NoCapture.AfterLabelEdit += listView_NoCapture_AfterLabelEdit; clmnHeader_NoCapture.Width = 0x1d8; btnOFD_NoCapture.Anchor = AnchorStyles.Right | AnchorStyles.Top; btnOFD_NoCapture.Location = new Point(0x19b, 0x10); btnOFD_NoCapture.Size = new Size(0x19, 0x17); btnOFD_NoCapture.TabIndex = 0; btnOFD_NoCapture.Text = "..."; btnOFD_NoCapture.UseVisualStyleBackColor = true; btnOFD_NoCapture.Click += btnOFD_NoCapture_Click; btnAdd_NoCapture.Anchor = AnchorStyles.Right | AnchorStyles.Top; btnAdd_NoCapture.Location = new Point(0x1ba, 0x10); btnAdd_NoCapture.Size = new Size(0x19, 0x17); btnAdd_NoCapture.TabIndex = 1; btnAdd_NoCapture.Text = "+"; btnAdd_NoCapture.UseVisualStyleBackColor = true; btnAdd_NoCapture.Click += btnAdd_NoCapture_Click; btnRemove_NoCapture.Anchor = AnchorStyles.Right | AnchorStyles.Top; btnRemove_NoCapture.Enabled = false; btnRemove_NoCapture.Location = new Point(0x1d9, 0x10); btnRemove_NoCapture.Size = new Size(0x19, 0x17); btnRemove_NoCapture.TabIndex = 2; btnRemove_NoCapture.Text = "-"; btnRemove_NoCapture.UseVisualStyleBackColor = true; btnRemove_NoCapture.Click += btnRemove_NoCapture_Click; cmbSpclFol_NoCapture.Anchor = AnchorStyles.Left | AnchorStyles.Top; cmbSpclFol_NoCapture.DropDownStyle = ComboBoxStyle.DropDownList; cmbSpclFol_NoCapture.Location = new Point(5, 0xd4); cmbSpclFol_NoCapture.Size = new Size(150, 0x15); cmbSpclFol_NoCapture.TabIndex = 3; btnAddSpcFol_NoCapture.Anchor = AnchorStyles.Left | AnchorStyles.Top; btnAddSpcFol_NoCapture.Location = new Point(0x9e, 0xd3); btnAddSpcFol_NoCapture.Size = new Size(0x19, 0x17); btnAddSpcFol_NoCapture.Text = "+"; btnAddSpcFol_NoCapture.TabIndex = 4; btnAddSpcFol_NoCapture.Click += btnAddSpcFol_NoCapture_Click; AutoScaleDimensions = new SizeF(6f, 13f); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(0x211, 0x269); MinimumSize = new Size(0x221, 0x28e); Controls.Add(tabControl1); Controls.Add(lblVer); Controls.Add(btnOK); Controls.Add(btnCancel); Controls.Add(btnApply); MaximizeBox = false; ShowIcon = false; StartPosition = FormStartPosition.CenterParent; Text = "QTTabBar Options"; FormClosing += OptionsDialog_FormClosing; tabControl1.ResumeLayout(false); tabPage1_Gnrl.ResumeLayout(false); tabPage1_Gnrl.PerformLayout(); tabPage2_Tabs.ResumeLayout(false); tabPage2_Tabs.PerformLayout(); tabPage3_Wndw.ResumeLayout(false); tabPage3_Wndw.PerformLayout(); tabPage4_View.ResumeLayout(false); tabPage4_View.PerformLayout(); tabPage5_Grps.ResumeLayout(false); tabPage5_Grps.PerformLayout(); tabPage6_Apps.ResumeLayout(false); tabPage6_Apps.PerformLayout(); tabPage7_Plug.ResumeLayout(false); tabPage7_Plug.PerformLayout(); tabPage8_Keys.ResumeLayout(false); tabPage8_Keys.PerformLayout(); tabPage9_Misc.ResumeLayout(false); tabPage9_Misc.PerformLayout(); tabPageA_Path.ResumeLayout(false); tabPageA_Path.PerformLayout(); nudMaxRecentFile.EndInit(); nudMaxUndo.EndInit(); nudNetworkTimeOut.EndInit(); nudTabWidthMin.EndInit(); nudTabWidthMax.EndInit(); nudTabHeight.EndInit(); nudTabWidth.EndInit(); nudPreviewMaxHeight.EndInit(); nudPreviewMaxWidth.EndInit(); ResumeLayout(false); PerformLayout(); }
private void lv_DonViTinh_SubItemEndEditing(object sender, ListViewEx.SubItemEndEditingEventArgs e) { UpdateDVT(); }
private void listViewEx1_SubItemClicked(object sender, ListViewEx.SubItemEventArgs e) { if (e.SubItem == 1) { int line = (int)e.Item.Tag; switch (m_sfo.getType(line)) { case 0: listViewEx1.StartEditing(stringEditor, e.Item, e.SubItem); break; case 2: listViewEx1.StartEditing(stringEditor, e.Item, e.SubItem); break; case 4: listViewEx1.StartEditing(integerEditor, e.Item, e.SubItem); break; default: listViewEx1.StartEditing(stringEditor, e.Item, e.SubItem); break; } } else if (e.SubItem == 0) { listViewEx1.StartEditing(stringEditor, e.Item, e.SubItem); } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Windows.Forms.ListViewGroup listViewGroup7 = new System.Windows.Forms.ListViewGroup("First Group", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewGroup listViewGroup8 = new System.Windows.Forms.ListViewGroup("Second Group", System.Windows.Forms.HorizontalAlignment.Left); System.Windows.Forms.ListViewItem listViewItem61 = new System.Windows.Forms.ListViewItem("Hello Item 1"); System.Windows.Forms.ListViewItem listViewItem62 = new System.Windows.Forms.ListViewItem("Hello Item 2"); System.Windows.Forms.ListViewItem listViewItem63 = new System.Windows.Forms.ListViewItem("Hello Item 3"); System.Windows.Forms.ListViewItem listViewItem64 = new System.Windows.Forms.ListViewItem("Hello Item 4"); System.Windows.Forms.ListViewItem listViewItem65 = new System.Windows.Forms.ListViewItem("Hello Item 5"); System.Windows.Forms.ListViewItem listViewItem66 = new System.Windows.Forms.ListViewItem("Hello Item 6"); System.Windows.Forms.ListViewItem listViewItem67 = new System.Windows.Forms.ListViewItem("Hello Item 7"); System.Windows.Forms.ListViewItem listViewItem68 = new System.Windows.Forms.ListViewItem("Hello Item 8"); System.Windows.Forms.ListViewItem listViewItem69 = new System.Windows.Forms.ListViewItem("Hello Item 9"); System.Windows.Forms.ListViewItem listViewItem70 = new System.Windows.Forms.ListViewItem("Hello Item 10"); System.Windows.Forms.ListViewItem listViewItem71 = new System.Windows.Forms.ListViewItem("Hello Item 11"); System.Windows.Forms.ListViewItem listViewItem72 = new System.Windows.Forms.ListViewItem("Hello Item 12"); System.Windows.Forms.ListViewItem listViewItem73 = new System.Windows.Forms.ListViewItem("Hello Item 13"); System.Windows.Forms.ListViewItem listViewItem74 = new System.Windows.Forms.ListViewItem("Hello Item 14"); System.Windows.Forms.ListViewItem listViewItem75 = new System.Windows.Forms.ListViewItem("Hello Item 15"); System.Windows.Forms.ListViewItem listViewItem76 = new System.Windows.Forms.ListViewItem("Hello Item 16"); System.Windows.Forms.ListViewItem listViewItem77 = new System.Windows.Forms.ListViewItem("Hello Item 17"); System.Windows.Forms.ListViewItem listViewItem78 = new System.Windows.Forms.ListViewItem("Hello Item 18"); System.Windows.Forms.ListViewItem listViewItem79 = new System.Windows.Forms.ListViewItem("Hello Item 19"); System.Windows.Forms.ListViewItem listViewItem80 = new System.Windows.Forms.ListViewItem("Hello Item 20, Filler, Filler, Filler, Filler, Filler, Filler, Filler, Filler, Fi" + "ller, Filler, Filler, Filler, Filler, Filler, Filler, Filler"); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ControlDialog)); System.Windows.Forms.TreeNode treeNode70 = new System.Windows.Forms.TreeNode("Node1"); System.Windows.Forms.TreeNode treeNode71 = new System.Windows.Forms.TreeNode("Node2"); System.Windows.Forms.TreeNode treeNode72 = new System.Windows.Forms.TreeNode("Node3"); System.Windows.Forms.TreeNode treeNode73 = new System.Windows.Forms.TreeNode("Node4"); System.Windows.Forms.TreeNode treeNode74 = new System.Windows.Forms.TreeNode("Node5"); System.Windows.Forms.TreeNode treeNode75 = new System.Windows.Forms.TreeNode("Node0", new System.Windows.Forms.TreeNode[] { treeNode70, treeNode71, treeNode72, treeNode73, treeNode74 }); System.Windows.Forms.TreeNode treeNode76 = new System.Windows.Forms.TreeNode("Node7"); System.Windows.Forms.TreeNode treeNode77 = new System.Windows.Forms.TreeNode("Node8"); System.Windows.Forms.TreeNode treeNode78 = new System.Windows.Forms.TreeNode("Node9"); System.Windows.Forms.TreeNode treeNode79 = new System.Windows.Forms.TreeNode("Node10"); System.Windows.Forms.TreeNode treeNode80 = new System.Windows.Forms.TreeNode("Node11"); System.Windows.Forms.TreeNode treeNode81 = new System.Windows.Forms.TreeNode("Node12"); System.Windows.Forms.TreeNode treeNode82 = new System.Windows.Forms.TreeNode("Node6", new System.Windows.Forms.TreeNode[] { treeNode76, treeNode77, treeNode78, treeNode79, treeNode80, treeNode81 }); System.Windows.Forms.TreeNode treeNode83 = new System.Windows.Forms.TreeNode("Node14"); System.Windows.Forms.TreeNode treeNode84 = new System.Windows.Forms.TreeNode("Node15"); System.Windows.Forms.TreeNode treeNode85 = new System.Windows.Forms.TreeNode("Node16"); System.Windows.Forms.TreeNode treeNode86 = new System.Windows.Forms.TreeNode("Node17"); System.Windows.Forms.TreeNode treeNode87 = new System.Windows.Forms.TreeNode("Node18"); System.Windows.Forms.TreeNode treeNode88 = new System.Windows.Forms.TreeNode("Node19"); System.Windows.Forms.TreeNode treeNode89 = new System.Windows.Forms.TreeNode("Node20"); System.Windows.Forms.TreeNode treeNode90 = new System.Windows.Forms.TreeNode("Node21"); System.Windows.Forms.TreeNode treeNode91 = new System.Windows.Forms.TreeNode("Node22, Filler, Filler, Filler, Filler, Filler, Filler, Filler, Filler, Filler, F" + "iller, Filler, Filler, Filler, Filler, Filler, Filler"); System.Windows.Forms.TreeNode treeNode92 = new System.Windows.Forms.TreeNode("Node13", new System.Windows.Forms.TreeNode[] { treeNode83, treeNode84, treeNode85, treeNode86, treeNode87, treeNode88, treeNode89, treeNode90, treeNode91 }); this.statusBarEx = new System.Windows.Forms.StatusBarEx(); this.customTabControl = new System.Windows.Forms.CustomTabControl(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.dataGridViewEx = new System.Windows.Forms.DataGridViewEx(); this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.propertyGridEx = new System.Windows.Forms.PropertyGridEx(); this.groupBoxEx = new System.Windows.Forms.GroupBoxEx(); this.pictureBoxEx = new System.Windows.Forms.PictureBoxEx(); this.progressBarEx = new System.Windows.Forms.ProgressBarEx(); this.buttonEx3 = new System.Windows.Forms.ButtonEx(); this.checkBoxEx4 = new System.Windows.Forms.CheckBoxEx(); this.checkBoxEx3 = new System.Windows.Forms.CheckBoxEx(); this.checkBoxEx2 = new System.Windows.Forms.CheckBoxEx(); this.buttonEx = new System.Windows.Forms.ButtonEx(); this.checkBoxEx = new System.Windows.Forms.CheckBoxEx(); this.buttonEx2 = new System.Windows.Forms.ButtonEx(); this.listBoxEx = new System.Windows.Forms.ListBoxEx(); this.listViewEx = new System.Windows.Forms.ListViewEx(); this.columnHeader = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.textBoxEx = new System.Windows.Forms.TextBoxEx(); this.treeViewEx = new System.Windows.Forms.TreeViewEx(); this.richTextBoxEx = new System.Windows.Forms.RichTextBoxEx(); this.customTabControl.SuspendLayout(); this.tabPage2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridViewEx)).BeginInit(); this.groupBoxEx.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBoxEx)).BeginInit(); this.SuspendLayout(); // // statusBarEx // this.statusBarEx.Location = new System.Drawing.Point(0, 769); this.statusBarEx.Name = "statusBarEx"; this.statusBarEx.Size = new System.Drawing.Size(1132, 22); this.statusBarEx.TabIndex = 9; this.statusBarEx.Text = "StatusBar"; this.statusBarEx.UseTheme = true; // // customTabControl // this.customTabControl.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.customTabControl.Controls.Add(this.tabPage2); this.customTabControl.Controls.Add(this.tabPage1); // // // this.customTabControl.DisplayStyleProvider.BorderColor = System.Drawing.SystemColors.ControlDark; this.customTabControl.DisplayStyleProvider.BorderColorHot = System.Drawing.SystemColors.ControlDark; this.customTabControl.DisplayStyleProvider.BorderColorSelected = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(157)))), ((int)(((byte)(185))))); this.customTabControl.DisplayStyleProvider.CloserColor = System.Drawing.Color.DarkGray; this.customTabControl.DisplayStyleProvider.FocusTrack = true; this.customTabControl.DisplayStyleProvider.HotTrack = true; this.customTabControl.DisplayStyleProvider.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.customTabControl.DisplayStyleProvider.Opacity = 1F; this.customTabControl.DisplayStyleProvider.Overlap = 0; this.customTabControl.DisplayStyleProvider.Padding = new System.Drawing.Point(6, 3); this.customTabControl.DisplayStyleProvider.Radius = 2; this.customTabControl.DisplayStyleProvider.ShowTabCloser = false; this.customTabControl.DisplayStyleProvider.TextColor = System.Drawing.SystemColors.ControlText; this.customTabControl.DisplayStyleProvider.TextColorDisabled = System.Drawing.SystemColors.ControlDark; this.customTabControl.DisplayStyleProvider.TextColorSelected = System.Drawing.SystemColors.ControlText; this.customTabControl.HotTrack = true; this.customTabControl.Location = new System.Drawing.Point(413, 528); this.customTabControl.Name = "customTabControl"; this.customTabControl.SelectedIndex = 0; this.customTabControl.Size = new System.Drawing.Size(711, 233); this.customTabControl.TabIndex = 8; // // tabPage2 // this.tabPage2.Controls.Add(this.dataGridViewEx); this.tabPage2.Location = new System.Drawing.Point(4, 23); this.tabPage2.Name = "tabPage2"; this.tabPage2.Size = new System.Drawing.Size(703, 206); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "tabPage2"; this.tabPage2.UseVisualStyleBackColor = true; // // dataGridViewEx // this.dataGridViewEx.AllowUserToAddRows = false; this.dataGridViewEx.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; this.dataGridViewEx.BorderColor = System.Drawing.SystemColors.ControlDark; this.dataGridViewEx.BorderStyle = System.Windows.Forms.BorderStyle.None; this.dataGridViewEx.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; this.dataGridViewEx.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.Column1, this.Column2 }); this.dataGridViewEx.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGridViewEx.Location = new System.Drawing.Point(0, 0); this.dataGridViewEx.Name = "dataGridViewEx"; this.dataGridViewEx.RowHeadersVisible = false; this.dataGridViewEx.Size = new System.Drawing.Size(703, 206); this.dataGridViewEx.TabIndex = 0; this.dataGridViewEx.UseTheme = true; // // Column1 // this.Column1.HeaderText = "Column1"; this.Column1.Name = "Column1"; // // Column2 // this.Column2.HeaderText = "Column2"; this.Column2.Name = "Column2"; // // tabPage1 // this.tabPage1.Location = new System.Drawing.Point(4, 23); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(3); this.tabPage1.Size = new System.Drawing.Size(703, 206); this.tabPage1.TabIndex = 2; this.tabPage1.Text = "tabPage1"; this.tabPage1.UseVisualStyleBackColor = true; // // propertyGridEx // this.propertyGridEx.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.propertyGridEx.LineColor = System.Drawing.SystemColors.ControlDark; this.propertyGridEx.Location = new System.Drawing.Point(822, 13); this.propertyGridEx.Name = "propertyGridEx"; this.propertyGridEx.Size = new System.Drawing.Size(298, 506); this.propertyGridEx.TabIndex = 7; this.propertyGridEx.ToolbarVisible = false; this.propertyGridEx.UseTheme = true; // // groupBoxEx // this.groupBoxEx.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.groupBoxEx.BorderColor = System.Drawing.SystemColors.ControlDark; this.groupBoxEx.Controls.Add(this.pictureBoxEx); this.groupBoxEx.Controls.Add(this.progressBarEx); this.groupBoxEx.Controls.Add(this.buttonEx3); this.groupBoxEx.Controls.Add(this.checkBoxEx4); this.groupBoxEx.Controls.Add(this.checkBoxEx3); this.groupBoxEx.Controls.Add(this.checkBoxEx2); this.groupBoxEx.Controls.Add(this.buttonEx); this.groupBoxEx.Controls.Add(this.checkBoxEx); this.groupBoxEx.Controls.Add(this.buttonEx2); this.groupBoxEx.Location = new System.Drawing.Point(12, 523); this.groupBoxEx.Name = "groupBoxEx"; this.groupBoxEx.Size = new System.Drawing.Size(396, 235); this.groupBoxEx.TabIndex = 6; this.groupBoxEx.TabStop = false; this.groupBoxEx.Text = "GroupBox"; this.groupBoxEx.UseTheme = true; // // pictureBoxEx // this.pictureBoxEx.BorderColor = System.Drawing.SystemColors.ControlDark; this.pictureBoxEx.Location = new System.Drawing.Point(221, 28); this.pictureBoxEx.Name = "pictureBoxEx"; this.pictureBoxEx.Size = new System.Drawing.Size(153, 63); this.pictureBoxEx.TabIndex = 13; this.pictureBoxEx.TabStop = false; this.pictureBoxEx.UseTheme = true; // // progressBarEx // this.progressBarEx.BorderColor = System.Drawing.SystemColors.ControlDark; this.progressBarEx.Location = new System.Drawing.Point(25, 80); this.progressBarEx.Name = "progressBarEx"; this.progressBarEx.Size = new System.Drawing.Size(175, 11); this.progressBarEx.TabIndex = 12; this.progressBarEx.UseTheme = true; this.progressBarEx.Value = 40; // // buttonEx3 // this.buttonEx3.DisabledBackColor = System.Drawing.SystemColors.Control; this.buttonEx3.DisabledTextColor = System.Drawing.SystemColors.ControlDark; this.buttonEx3.Enabled = false; this.buttonEx3.Location = new System.Drawing.Point(25, 104); this.buttonEx3.Name = "buttonEx3"; this.buttonEx3.Size = new System.Drawing.Size(92, 30); this.buttonEx3.TabIndex = 11; this.buttonEx3.Text = "Button3"; this.buttonEx3.UseTheme = true; this.buttonEx3.UseVisualStyleBackColor = true; // // checkBoxEx4 // this.checkBoxEx4.AutoSize = true; this.checkBoxEx4.BorderColor = System.Drawing.SystemColors.ControlDark; this.checkBoxEx4.DisabledTextColor = System.Drawing.SystemColors.ControlDark; this.checkBoxEx4.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.checkBoxEx4.Location = new System.Drawing.Point(123, 51); this.checkBoxEx4.Name = "checkBoxEx4"; this.checkBoxEx4.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.checkBoxEx4.Size = new System.Drawing.Size(78, 17); this.checkBoxEx4.TabIndex = 10; this.checkBoxEx4.Text = "Check Me4"; this.checkBoxEx4.ThreeState = true; this.checkBoxEx4.UseTheme = true; this.checkBoxEx4.UseVisualStyleBackColor = false; // // checkBoxEx3 // this.checkBoxEx3.AutoSize = true; this.checkBoxEx3.BorderColor = System.Drawing.SystemColors.ControlDark; this.checkBoxEx3.DisabledTextColor = System.Drawing.SystemColors.ControlDark; this.checkBoxEx3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.checkBoxEx3.Location = new System.Drawing.Point(123, 28); this.checkBoxEx3.Name = "checkBoxEx3"; this.checkBoxEx3.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.checkBoxEx3.Size = new System.Drawing.Size(78, 17); this.checkBoxEx3.TabIndex = 9; this.checkBoxEx3.Text = "Check Me3"; this.checkBoxEx3.ThreeState = true; this.checkBoxEx3.UseTheme = true; this.checkBoxEx3.UseVisualStyleBackColor = false; // // checkBoxEx2 // this.checkBoxEx2.AutoSize = true; this.checkBoxEx2.BorderColor = System.Drawing.SystemColors.ControlDark; this.checkBoxEx2.DisabledTextColor = System.Drawing.SystemColors.ControlDark; this.checkBoxEx2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.checkBoxEx2.Location = new System.Drawing.Point(25, 51); this.checkBoxEx2.Name = "checkBoxEx2"; this.checkBoxEx2.Size = new System.Drawing.Size(78, 17); this.checkBoxEx2.TabIndex = 8; this.checkBoxEx2.Text = "Check Me2"; this.checkBoxEx2.ThreeState = true; this.checkBoxEx2.UseTheme = true; this.checkBoxEx2.UseVisualStyleBackColor = false; // // buttonEx // this.buttonEx.DisabledBackColor = System.Drawing.SystemColors.Control; this.buttonEx.DisabledTextColor = System.Drawing.SystemColors.ControlDark; this.buttonEx.Location = new System.Drawing.Point(25, 180); this.buttonEx.Name = "buttonEx"; this.buttonEx.Size = new System.Drawing.Size(92, 30); this.buttonEx.TabIndex = 7; this.buttonEx.Text = "Button1"; this.buttonEx.UseTheme = true; this.buttonEx.UseVisualStyleBackColor = true; // // checkBoxEx // this.checkBoxEx.AutoSize = true; this.checkBoxEx.BorderColor = System.Drawing.SystemColors.ControlDark; this.checkBoxEx.DisabledTextColor = System.Drawing.SystemColors.ControlDark; this.checkBoxEx.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.checkBoxEx.Location = new System.Drawing.Point(25, 28); this.checkBoxEx.Name = "checkBoxEx"; this.checkBoxEx.Size = new System.Drawing.Size(78, 17); this.checkBoxEx.TabIndex = 6; this.checkBoxEx.Text = "Check Me1"; this.checkBoxEx.UseTheme = true; this.checkBoxEx.UseVisualStyleBackColor = false; // // buttonEx2 // this.buttonEx2.DisabledBackColor = System.Drawing.SystemColors.Control; this.buttonEx2.DisabledTextColor = System.Drawing.SystemColors.ControlDark; this.buttonEx2.Location = new System.Drawing.Point(25, 142); this.buttonEx2.Name = "buttonEx2"; this.buttonEx2.Size = new System.Drawing.Size(92, 30); this.buttonEx2.TabIndex = 5; this.buttonEx2.Text = "Button2"; this.buttonEx2.UseTheme = true; this.buttonEx2.UseVisualStyleBackColor = true; // // listBoxEx // this.listBoxEx.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.listBoxEx.BorderColor = System.Drawing.SystemColors.ControlDark; this.listBoxEx.FormattingEnabled = true; this.listBoxEx.IntegralHeight = false; this.listBoxEx.Location = new System.Drawing.Point(553, 13); this.listBoxEx.Name = "listBoxEx"; this.listBoxEx.Size = new System.Drawing.Size(261, 280); this.listBoxEx.TabIndex = 4; this.listBoxEx.UseTheme = true; // // listViewEx // this.listViewEx.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.listViewEx.BorderColor = System.Drawing.SystemColors.ControlDark; this.listViewEx.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader, this.columnHeader1 }); this.listViewEx.GridLineColor = System.Drawing.SystemColors.Control; listViewGroup7.Header = "First Group"; listViewGroup7.Name = "listViewGroup"; listViewGroup8.Header = "Second Group"; listViewGroup8.Name = "listViewGroup2"; this.listViewEx.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] { listViewGroup7, listViewGroup8 }); listViewItem61.Group = listViewGroup7; listViewItem62.Group = listViewGroup7; listViewItem63.Group = listViewGroup7; listViewItem64.Group = listViewGroup7; listViewItem65.Group = listViewGroup7; listViewItem66.Group = listViewGroup7; listViewItem67.Group = listViewGroup7; listViewItem68.Group = listViewGroup7; listViewItem69.Group = listViewGroup7; listViewItem70.Group = listViewGroup7; listViewItem71.Group = listViewGroup8; listViewItem72.Group = listViewGroup8; listViewItem73.Group = listViewGroup8; listViewItem74.Group = listViewGroup8; listViewItem75.Group = listViewGroup8; listViewItem76.Group = listViewGroup8; listViewItem77.Group = listViewGroup8; listViewItem78.Group = listViewGroup8; listViewItem79.Group = listViewGroup8; listViewItem80.Group = listViewGroup8; this.listViewEx.Items.AddRange(new System.Windows.Forms.ListViewItem[] { listViewItem61, listViewItem62, listViewItem63, listViewItem64, listViewItem65, listViewItem66, listViewItem67, listViewItem68, listViewItem69, listViewItem70, listViewItem71, listViewItem72, listViewItem73, listViewItem74, listViewItem75, listViewItem76, listViewItem77, listViewItem78, listViewItem79, listViewItem80 }); this.listViewEx.Location = new System.Drawing.Point(12, 301); this.listViewEx.Name = "listViewEx"; this.listViewEx.OwnerDraw = true; this.listViewEx.Size = new System.Drawing.Size(396, 218); this.listViewEx.TabIndex = 3; this.listViewEx.UseCompatibleStateImageBehavior = false; this.listViewEx.UseTheme = true; this.listViewEx.View = System.Windows.Forms.View.Details; // // columnHeader // this.columnHeader.Text = "Column1"; this.columnHeader.Width = 277; // // columnHeader1 // this.columnHeader1.Text = "Column2"; this.columnHeader1.Width = 98; // // textBoxEx // this.textBoxEx.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.textBoxEx.BorderColor = System.Drawing.SystemColors.ControlDark; this.textBoxEx.Location = new System.Drawing.Point(282, 12); this.textBoxEx.Multiline = true; this.textBoxEx.Name = "textBoxEx"; this.textBoxEx.Size = new System.Drawing.Size(262, 281); this.textBoxEx.TabIndex = 2; this.textBoxEx.Text = resources.GetString("textBoxEx.Text"); this.textBoxEx.UseTheme = true; // // treeViewEx // this.treeViewEx.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.treeViewEx.BorderColor = System.Drawing.SystemColors.ControlDark; this.treeViewEx.Location = new System.Drawing.Point(416, 301); this.treeViewEx.Name = "treeViewEx"; treeNode70.Name = "Node1"; treeNode70.Text = "Node1"; treeNode71.Name = "Node2"; treeNode71.Text = "Node2"; treeNode72.Name = "Node3"; treeNode72.Text = "Node3"; treeNode73.Name = "Node4"; treeNode73.Text = "Node4"; treeNode74.Name = "Node5"; treeNode74.Text = "Node5"; treeNode75.Name = "Node0"; treeNode75.Text = "Node0"; treeNode76.Name = "Node7"; treeNode76.Text = "Node7"; treeNode77.Name = "Node8"; treeNode77.Text = "Node8"; treeNode78.Name = "Node9"; treeNode78.Text = "Node9"; treeNode79.Name = "Node10"; treeNode79.Text = "Node10"; treeNode80.Name = "Node11"; treeNode80.Text = "Node11"; treeNode81.Name = "Node12"; treeNode81.Text = "Node12"; treeNode82.Name = "Node6"; treeNode82.Text = "Node6"; treeNode83.Name = "Node14"; treeNode83.Text = "Node14"; treeNode84.Name = "Node15"; treeNode84.Text = "Node15"; treeNode85.Name = "Node16"; treeNode85.Text = "Node16"; treeNode86.Name = "Node17"; treeNode86.Text = "Node17"; treeNode87.Name = "Node18"; treeNode87.Text = "Node18"; treeNode88.Name = "Node19"; treeNode88.Text = "Node19"; treeNode89.Name = "Node20"; treeNode89.Text = "Node20"; treeNode90.Name = "Node21"; treeNode90.Text = "Node21"; treeNode91.Name = "Node22"; treeNode91.Text = "Node22, Filler, Filler, Filler, Filler, Filler, Filler, Filler, Filler, Filler, F" + "iller, Filler, Filler, Filler, Filler, Filler, Filler"; treeNode92.Name = "Node13"; treeNode92.Text = "Node13"; this.treeViewEx.Nodes.AddRange(new System.Windows.Forms.TreeNode[] { treeNode75, treeNode82, treeNode92 }); this.treeViewEx.Size = new System.Drawing.Size(398, 218); this.treeViewEx.TabIndex = 1; this.treeViewEx.UseTheme = true; // // richTextBoxEx // this.richTextBoxEx.BorderColor = System.Drawing.SystemColors.ControlDark; this.richTextBoxEx.Location = new System.Drawing.Point(12, 12); this.richTextBoxEx.Name = "richTextBoxEx"; this.richTextBoxEx.Size = new System.Drawing.Size(262, 281); this.richTextBoxEx.TabIndex = 0; this.richTextBoxEx.Text = resources.GetString("richTextBoxEx.Text"); this.richTextBoxEx.UseTheme = true; // // ControlDialog // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1132, 791); this.Controls.Add(this.statusBarEx); this.Controls.Add(this.customTabControl); this.Controls.Add(this.propertyGridEx); this.Controls.Add(this.groupBoxEx); this.Controls.Add(this.listBoxEx); this.Controls.Add(this.listViewEx); this.Controls.Add(this.textBoxEx); this.Controls.Add(this.treeViewEx); this.Controls.Add(this.richTextBoxEx); this.DoubleBuffered = true; this.MinimumSize = new System.Drawing.Size(1000, 700); this.Name = "ControlDialog"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "ControlDialog"; this.customTabControl.ResumeLayout(false); this.tabPage2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataGridViewEx)).EndInit(); this.groupBoxEx.ResumeLayout(false); this.groupBoxEx.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBoxEx)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
private void listViewEx1_SubItemClicked(object sender, ListViewEx.SubItemEventArgs e) { if (e.SubItem == 3) // Password field { // the current value (text) of the subitem is ****, so we have to provide // the control with the actual text (that's been saved in the item's Tag property) e.Item.SubItems[e.SubItem].Text = e.Item.Tag.ToString(); } listViewEx1.StartEditing(Editors[e.SubItem], e.Item, e.SubItem); }
private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(SetupAndUpgradeDialog)); this.cmbLanguage = new System.Windows.Forms.ComboBox(); this.chkPerformUserConfigSetup = new System.Windows.Forms.CheckBox(); this.chkPerformImport = new System.Windows.Forms.CheckBox(); this.lblLanguageFile = new Label(); this.chkPerformInitialInit = new System.Windows.Forms.CheckBox(); this.lblLicense = new LinkLabel(); this.chkOptimizeFiles = new System.Windows.Forms.CheckBox(); this.chkPlaceShortcut = new System.Windows.Forms.CheckBox(); this.rbImportCopy = new System.Windows.Forms.RadioButton(); this.rbImportUpgrade = new System.Windows.Forms.RadioButton(); this.chkImportBookmarks = new System.Windows.Forms.CheckBox(); this.chkImportTools = new System.Windows.Forms.CheckBox(); this.cmbPreviousVersion = new System.Windows.Forms.ComboBox(); this.rbImportSkip = new System.Windows.Forms.RadioButton(); this.lblPageCaption = new Label(); this.btnCancel = new System.Windows.Forms.Button(); this.btnNext = new System.Windows.Forms.Button(); this.btnBack = new System.Windows.Forms.Button(); this.btnFinish = new System.Windows.Forms.Button(); this.lblProgressUpgrade = new Label(); this.WizardPageSwitcher = new TabPageSwitcher(); this.TabPageWelcome = new TabStripPage(); this.TabPageProcess = new TabStripPage(); this.tlpProcess = new TableLayoutPanel(); this.lvProcessDetails = new ListViewEx(); this.clOperation = new ColumnHeader(); this.clStatus = new ColumnHeader(); this.btnHideDetails = new System.Windows.Forms.Button(); this.btnShowDetails = new System.Windows.Forms.Button(); this.ProcessProgressBar = new VistaProgressBar(); this.TabPageImport = new TabStripPage(); this.TabPageUserConfig = new TabStripPage(); this.UserConfigControl = new ConfigPlacementOptionControl(); this.bvlButtons = new Bevel(); this.bvlCaption = new Bevel(); this.SetupWorker = new BackgroundWorker(); TableLayoutPanel panel = new TableLayoutPanel(); Label control = new Label(); Label label2 = new Label(); Label label3 = new Label(); TableLayoutPanel panel2 = new TableLayoutPanel(); Label label4 = new Label(); Label label5 = new Label(); Label label6 = new Label(); Label label7 = new Label(); Panel panel3 = new Panel(); TableLayoutPanel panel4 = new TableLayoutPanel(); panel.SuspendLayout(); panel2.SuspendLayout(); panel3.SuspendLayout(); panel4.SuspendLayout(); this.WizardPageSwitcher.SuspendLayout(); this.TabPageWelcome.SuspendLayout(); this.TabPageProcess.SuspendLayout(); this.tlpProcess.SuspendLayout(); this.TabPageImport.SuspendLayout(); this.TabPageUserConfig.SuspendLayout(); base.SuspendLayout(); manager.ApplyResources(panel, "tlpBackWelcome"); panel.Controls.Add(control, 0, 0); panel.Controls.Add(label2, 0, 1); panel.Controls.Add(label3, 0, 3); panel.Controls.Add(this.cmbLanguage, 1, 2); panel.Controls.Add(this.chkPerformUserConfigSetup, 1, 4); panel.Controls.Add(this.chkPerformImport, 1, 5); panel.Controls.Add(this.lblLanguageFile, 2, 2); panel.Controls.Add(this.chkPerformInitialInit, 1, 6); panel.Controls.Add(this.lblLicense, 0, 10); panel.Controls.Add(this.chkOptimizeFiles, 1, 8); panel.Controls.Add(this.chkPlaceShortcut, 1, 7); panel.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel.Name = "tlpBackWelcome"; manager.ApplyResources(control, "lblWelcomeMsg"); panel.SetColumnSpan(control, 3); control.Name = "lblWelcomeMsg"; control.UseMnemonic = false; manager.ApplyResources(label2, "lblSelectLanguage"); panel.SetColumnSpan(label2, 3); label2.Name = "lblSelectLanguage"; manager.ApplyResources(label3, "lblSelectInitialTasks"); panel.SetColumnSpan(label3, 3); label3.Name = "lblSelectInitialTasks"; this.cmbLanguage.DisplayMember = "DisplayName"; this.cmbLanguage.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbLanguage.FormattingEnabled = true; manager.ApplyResources(this.cmbLanguage, "cmbLanguage"); this.cmbLanguage.Name = "cmbLanguage"; this.cmbLanguage.ValueMember = "Name"; this.cmbLanguage.SelectionChangeCommitted += new EventHandler(this.cmbLanguage_SelectionChangeCommitted); manager.ApplyResources(this.chkPerformUserConfigSetup, "chkPerformUserConfigSetup"); panel.SetColumnSpan(this.chkPerformUserConfigSetup, 2); this.chkPerformUserConfigSetup.Name = "chkPerformUserConfigSetup"; this.chkPerformUserConfigSetup.UseVisualStyleBackColor = true; this.chkPerformUserConfigSetup.CheckStateChanged += new EventHandler(this.chkPerformUserConfigSetup_CheckStateChanged); manager.ApplyResources(this.chkPerformImport, "chkPerformImport"); panel.SetColumnSpan(this.chkPerformImport, 2); this.chkPerformImport.Name = "chkPerformImport"; this.chkPerformImport.UseVisualStyleBackColor = true; this.chkPerformImport.CheckStateChanged += new EventHandler(this.chkPerformUserConfigSetup_CheckStateChanged); manager.ApplyResources(this.lblLanguageFile, "lblLanguageFile"); this.lblLanguageFile.Name = "lblLanguageFile"; manager.ApplyResources(this.chkPerformInitialInit, "chkPerformInitialInit"); panel.SetColumnSpan(this.chkPerformInitialInit, 2); this.chkPerformInitialInit.Name = "chkPerformInitialInit"; this.chkPerformInitialInit.UseVisualStyleBackColor = true; this.chkPerformInitialInit.CheckStateChanged += new EventHandler(this.chkPerformUserConfigSetup_CheckStateChanged); manager.ApplyResources(this.lblLicense, "lblLicense"); panel.SetColumnSpan(this.lblLicense, 3); this.lblLicense.Name = "lblLicense"; this.lblLicense.UseMnemonic = false; this.lblLicense.LinkClicked += new LinkLabelLinkClickedEventHandler(this.lblLicense_LinkClicked); manager.ApplyResources(this.chkOptimizeFiles, "chkOptimizeFiles"); panel.SetColumnSpan(this.chkOptimizeFiles, 2); this.chkOptimizeFiles.Name = "chkOptimizeFiles"; this.chkOptimizeFiles.UseVisualStyleBackColor = true; this.chkOptimizeFiles.CheckStateChanged += new EventHandler(this.chkPerformUserConfigSetup_CheckStateChanged); manager.ApplyResources(this.chkPlaceShortcut, "chkPlaceShortcut"); panel.SetColumnSpan(this.chkPlaceShortcut, 2); this.chkPlaceShortcut.Name = "chkPlaceShortcut"; this.chkPlaceShortcut.UseVisualStyleBackColor = true; this.chkPlaceShortcut.CheckStateChanged += new EventHandler(this.chkPerformUserConfigSetup_CheckStateChanged); manager.ApplyResources(panel2, "tlpBackImport"); panel2.Controls.Add(label4, 0, 0); panel2.Controls.Add(this.rbImportCopy, 1, 5); panel2.Controls.Add(this.rbImportUpgrade, 1, 6); panel2.Controls.Add(label5, 0, 7); panel2.Controls.Add(this.chkImportBookmarks, 1, 8); panel2.Controls.Add(this.chkImportTools, 1, 9); panel2.Controls.Add(label6, 0, 1); panel2.Controls.Add(label7, 0, 3); panel2.Controls.Add(this.cmbPreviousVersion, 1, 2); panel2.Controls.Add(this.rbImportSkip, 1, 4); panel2.Name = "tlpBackImport"; manager.ApplyResources(label4, "lblImportMsg"); panel2.SetColumnSpan(label4, 2); label4.Name = "lblImportMsg"; manager.ApplyResources(this.rbImportCopy, "rbImportCopy"); this.rbImportCopy.Name = "rbImportCopy"; this.rbImportCopy.UseVisualStyleBackColor = true; manager.ApplyResources(this.rbImportUpgrade, "rbImportUpgrade"); this.rbImportUpgrade.Checked = true; this.rbImportUpgrade.Name = "rbImportUpgrade"; this.rbImportUpgrade.TabStop = true; this.rbImportUpgrade.UseVisualStyleBackColor = true; manager.ApplyResources(label5, "lblSelectAdditionalImportOptions"); panel2.SetColumnSpan(label5, 2); label5.Name = "lblSelectAdditionalImportOptions"; manager.ApplyResources(this.chkImportBookmarks, "chkImportBookmarks"); this.chkImportBookmarks.Checked = true; this.chkImportBookmarks.CheckState = CheckState.Checked; this.chkImportBookmarks.Name = "chkImportBookmarks"; this.chkImportBookmarks.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkImportTools, "chkImportTools"); this.chkImportTools.Checked = true; this.chkImportTools.CheckState = CheckState.Checked; this.chkImportTools.Name = "chkImportTools"; this.chkImportTools.UseVisualStyleBackColor = true; manager.ApplyResources(label6, "lblSelectPreviousVersion"); panel2.SetColumnSpan(label6, 2); label6.Name = "lblSelectPreviousVersion"; manager.ApplyResources(label7, "lblSelectImportMethod"); panel2.SetColumnSpan(label7, 2); label7.Name = "lblSelectImportMethod"; this.cmbPreviousVersion.DisplayMember = "Version"; this.cmbPreviousVersion.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbPreviousVersion.FormattingEnabled = true; manager.ApplyResources(this.cmbPreviousVersion, "cmbPreviousVersion"); this.cmbPreviousVersion.Name = "cmbPreviousVersion"; this.cmbPreviousVersion.ValueMember = "UserConfigPath"; this.cmbPreviousVersion.SelectedIndexChanged += new EventHandler(this.cmbPreviousVersion_SelectedIndexChanged); this.cmbPreviousVersion.Format += new ListControlConvertEventHandler(this.cmbPreviousVersion_Format); manager.ApplyResources(this.rbImportSkip, "rbImportSkip"); this.rbImportSkip.Name = "rbImportSkip"; this.rbImportSkip.UseVisualStyleBackColor = true; panel3.BackColor = Color.White; panel3.Controls.Add(this.lblPageCaption); manager.ApplyResources(panel3, "pnlPageCaption"); panel3.Name = "pnlPageCaption"; manager.ApplyResources(this.lblPageCaption, "lblPageCaption"); this.lblPageCaption.Name = "lblPageCaption"; manager.ApplyResources(panel4, "tlpButtons"); panel4.BackColor = Color.Gainsboro; panel4.Controls.Add(this.btnCancel, 3, 0); panel4.Controls.Add(this.btnNext, 2, 0); panel4.Controls.Add(this.btnBack, 1, 0); panel4.Controls.Add(this.btnFinish, 0, 0); panel4.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel4.Name = "tlpButtons"; manager.ApplyResources(this.btnCancel, "btnCancel"); this.btnCancel.DialogResult = DialogResult.Cancel; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseVisualStyleBackColor = true; manager.ApplyResources(this.btnNext, "btnNext"); this.btnNext.Name = "btnNext"; this.btnNext.UseVisualStyleBackColor = true; this.btnNext.Click += new EventHandler(this.btnNext_Click); manager.ApplyResources(this.btnBack, "btnBack"); this.btnBack.Name = "btnBack"; this.btnBack.UseVisualStyleBackColor = true; this.btnBack.Click += new EventHandler(this.btnBack_Click); manager.ApplyResources(this.btnFinish, "btnFinish"); this.btnFinish.Name = "btnFinish"; this.btnFinish.UseVisualStyleBackColor = true; manager.ApplyResources(this.lblProgressUpgrade, "lblProgressUpgrade"); this.lblProgressUpgrade.Name = "lblProgressUpgrade"; this.WizardPageSwitcher.BackColor = SystemColors.ButtonFace; this.WizardPageSwitcher.Controls.Add(this.TabPageWelcome); this.WizardPageSwitcher.Controls.Add(this.TabPageProcess); this.WizardPageSwitcher.Controls.Add(this.TabPageImport); this.WizardPageSwitcher.Controls.Add(this.TabPageUserConfig); manager.ApplyResources(this.WizardPageSwitcher, "WizardPageSwitcher"); this.WizardPageSwitcher.Name = "WizardPageSwitcher"; this.WizardPageSwitcher.SelectedTabStripPage = this.TabPageWelcome; this.WizardPageSwitcher.TabStrip = null; this.TabPageWelcome.Controls.Add(panel); manager.ApplyResources(this.TabPageWelcome, "TabPageWelcome"); this.TabPageWelcome.Name = "TabPageWelcome"; this.TabPageProcess.Controls.Add(this.tlpProcess); this.TabPageProcess.Controls.Add(this.ProcessProgressBar); this.TabPageProcess.Controls.Add(this.lblProgressUpgrade); manager.ApplyResources(this.TabPageProcess, "TabPageProcess"); this.TabPageProcess.Name = "TabPageProcess"; manager.ApplyResources(this.tlpProcess, "tlpProcess"); this.tlpProcess.Controls.Add(this.lvProcessDetails, 0, 1); this.tlpProcess.Controls.Add(this.btnHideDetails, 2, 0); this.tlpProcess.Controls.Add(this.btnShowDetails, 1, 0); this.tlpProcess.Name = "tlpProcess"; this.lvProcessDetails.CanResizeColumns = false; this.lvProcessDetails.Columns.AddRange(new ColumnHeader[] { this.clOperation, this.clStatus }); this.tlpProcess.SetColumnSpan(this.lvProcessDetails, 3); manager.ApplyResources(this.lvProcessDetails, "lvProcessDetails"); this.lvProcessDetails.FullRowSelect = true; this.lvProcessDetails.HeaderStyle = ColumnHeaderStyle.Nonclickable; this.lvProcessDetails.MultiSelect = false; this.lvProcessDetails.Name = "lvProcessDetails"; this.lvProcessDetails.UseCompatibleStateImageBehavior = false; this.lvProcessDetails.View = View.Details; this.lvProcessDetails.ClientSizeChanged += new EventHandler(this.lvProcessDetails_ClientSizeChanged); manager.ApplyResources(this.clOperation, "clOperation"); manager.ApplyResources(this.clStatus, "clStatus"); manager.ApplyResources(this.btnHideDetails, "btnHideDetails"); this.btnHideDetails.Cursor = Cursors.Hand; this.btnHideDetails.FlatAppearance.BorderSize = 0; this.btnHideDetails.Name = "btnHideDetails"; this.btnHideDetails.UseVisualStyleBackColor = false; this.btnHideDetails.Click += new EventHandler(this.btnShowDetails_Click); manager.ApplyResources(this.btnShowDetails, "btnShowDetails"); this.btnShowDetails.Cursor = Cursors.Hand; this.btnShowDetails.FlatAppearance.BorderSize = 0; this.btnShowDetails.Name = "btnShowDetails"; this.btnShowDetails.UseVisualStyleBackColor = false; this.btnShowDetails.Click += new EventHandler(this.btnShowDetails_Click); manager.ApplyResources(this.ProcessProgressBar, "ProcessProgressBar"); this.ProcessProgressBar.Name = "ProcessProgressBar"; this.TabPageImport.Controls.Add(panel2); manager.ApplyResources(this.TabPageImport, "TabPageImport"); this.TabPageImport.Name = "TabPageImport"; this.TabPageImport.EnabledChanged += new EventHandler(this.TabPageUpgrade_EnabledChanged); this.TabPageUserConfig.Controls.Add(this.UserConfigControl); manager.ApplyResources(this.TabPageUserConfig, "TabPageUserConfig"); this.TabPageUserConfig.Name = "TabPageUserConfig"; this.TabPageUserConfig.EnabledChanged += new EventHandler(this.TabPageUserConfig_EnabledChanged); manager.ApplyResources(this.UserConfigControl, "UserConfigControl"); this.UserConfigControl.Name = "UserConfigControl"; this.UserConfigControl.SaveSettings = false; manager.ApplyResources(this.bvlButtons, "bvlButtons"); this.bvlButtons.ForeColor = SystemColors.ControlDarkDark; this.bvlButtons.Name = "bvlButtons"; this.bvlButtons.Sides = Border3DSide.Bottom; this.bvlButtons.Style = Border3DStyle.Flat; manager.ApplyResources(this.bvlCaption, "bvlCaption"); this.bvlCaption.ForeColor = SystemColors.ControlDarkDark; this.bvlCaption.Name = "bvlCaption"; this.bvlCaption.Sides = Border3DSide.Top; this.bvlCaption.Style = Border3DStyle.Flat; this.SetupWorker.WorkerReportsProgress = true; this.SetupWorker.DoWork += new DoWorkEventHandler(this.SetupWorker_DoWork); this.SetupWorker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(this.SetupWorker_RunWorkerCompleted); this.SetupWorker.ProgressChanged += new ProgressChangedEventHandler(this.SetupWorker_ProgressChanged); base.AcceptButton = this.btnNext; manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.CancelButton = this.btnCancel; base.Controls.Add(this.WizardPageSwitcher); base.Controls.Add(this.bvlCaption); base.Controls.Add(panel3); base.Controls.Add(this.bvlButtons); base.Controls.Add(panel4); base.FixMouseWheel = true; base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "SetupAndUpgradeDialog"; base.FormClosing += new FormClosingEventHandler(this.SetupAndUpgradeDialog_FormClosing); panel.ResumeLayout(false); panel.PerformLayout(); panel2.ResumeLayout(false); panel2.PerformLayout(); panel3.ResumeLayout(false); panel4.ResumeLayout(false); panel4.PerformLayout(); this.WizardPageSwitcher.ResumeLayout(false); this.TabPageWelcome.ResumeLayout(false); this.TabPageProcess.ResumeLayout(false); this.TabPageProcess.PerformLayout(); this.tlpProcess.ResumeLayout(false); this.tlpProcess.PerformLayout(); this.TabPageImport.ResumeLayout(false); this.TabPageUserConfig.ResumeLayout(false); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(SelectButtonImage)); this.rbNoImage = new RadioButton(); this.rbDefault = new RadioButton(); this.lvDefault = new ListViewEx(); this.rbUserDefined = new RadioButton(); this.btnBrowse = new Button(); this.btnOk = new Button(); this.btnCancel = new Button(); this.tlpBack = new TableLayoutPanel(); this.txtUserDefinedImage = new TextBox(); this.lvUserDefined = new ListViewEx(); this.btnReset = new Button(); this.OpenImageDialog = new OpenFileDialog(); this.tlpButtons = new TableLayoutPanel(); this.bvlButtons = new Bevel(); this.tlpBack.SuspendLayout(); this.tlpButtons.SuspendLayout(); base.SuspendLayout(); manager.ApplyResources(this.rbNoImage, "rbNoImage"); this.tlpBack.SetColumnSpan(this.rbNoImage, 3); this.rbNoImage.Name = "rbNoImage"; this.rbNoImage.TabStop = true; this.rbNoImage.UseVisualStyleBackColor = true; this.rbNoImage.CheckedChanged += new EventHandler(this.rbNoImage_CheckedChanged); manager.ApplyResources(this.rbDefault, "rbDefault"); this.tlpBack.SetColumnSpan(this.rbDefault, 3); this.rbDefault.Name = "rbDefault"; this.rbDefault.TabStop = true; this.rbDefault.UseVisualStyleBackColor = true; this.rbDefault.CheckedChanged += new EventHandler(this.rbOtherImage_CheckedChanged); this.tlpBack.SetColumnSpan(this.lvDefault, 2); manager.ApplyResources(this.lvDefault, "lvDefault"); this.lvDefault.MultiSelect = false; this.lvDefault.Name = "lvDefault"; this.lvDefault.OwnerDraw = true; this.lvDefault.UseCompatibleStateImageBehavior = false; this.lvDefault.DrawItem += new DrawListViewItemEventHandler(this.lvImage_DrawItem); this.lvDefault.SelectedIndexChanged += new EventHandler(this.lvImage_SelectedIndexChanged); manager.ApplyResources(this.rbUserDefined, "rbUserDefined"); this.tlpBack.SetColumnSpan(this.rbUserDefined, 2); this.rbUserDefined.Name = "rbUserDefined"; this.rbUserDefined.TabStop = true; this.rbUserDefined.UseVisualStyleBackColor = true; this.rbUserDefined.CheckedChanged += new EventHandler(this.rbOtherImage_CheckedChanged); manager.ApplyResources(this.btnBrowse, "btnBrowse"); this.btnBrowse.Name = "btnBrowse"; this.btnBrowse.UseVisualStyleBackColor = true; this.btnBrowse.Click += new EventHandler(this.btnBrowse_Click); 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; manager.ApplyResources(this.tlpBack, "tlpBack"); this.tlpBack.Controls.Add(this.rbNoImage, 0, 0); this.tlpBack.Controls.Add(this.btnBrowse, 2, 4); this.tlpBack.Controls.Add(this.rbDefault, 0, 1); this.tlpBack.Controls.Add(this.rbUserDefined, 0, 3); this.tlpBack.Controls.Add(this.txtUserDefinedImage, 1, 4); this.tlpBack.Controls.Add(this.lvDefault, 1, 2); this.tlpBack.Controls.Add(this.lvUserDefined, 1, 5); this.tlpBack.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; this.tlpBack.Name = "tlpBack"; manager.ApplyResources(this.txtUserDefinedImage, "txtUserDefinedImage"); this.txtUserDefinedImage.Name = "txtUserDefinedImage"; this.txtUserDefinedImage.ReadOnly = true; this.txtUserDefinedImage.TabStop = false; this.tlpBack.SetColumnSpan(this.lvUserDefined, 2); manager.ApplyResources(this.lvUserDefined, "lvUserDefined"); this.lvUserDefined.MultiSelect = false; this.lvUserDefined.Name = "lvUserDefined"; this.lvUserDefined.OwnerDraw = true; this.lvUserDefined.UseCompatibleStateImageBehavior = false; this.lvUserDefined.DrawItem += new DrawListViewItemEventHandler(this.lvImage_DrawItem); this.lvUserDefined.SelectedIndexChanged += new EventHandler(this.lvImage_SelectedIndexChanged); manager.ApplyResources(this.btnReset, "btnReset"); this.btnReset.Name = "btnReset"; this.btnReset.UseVisualStyleBackColor = true; this.btnReset.Click += new EventHandler(this.btnReset_Click); manager.ApplyResources(this.OpenImageDialog, "OpenImageDialog"); manager.ApplyResources(this.tlpButtons, "tlpButtons"); this.tlpButtons.Controls.Add(this.btnOk, 1, 0); this.tlpButtons.Controls.Add(this.btnReset, 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.Bottom; 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.tlpBack); base.Controls.Add(this.bvlButtons); base.Controls.Add(this.tlpButtons); base.FixMouseWheel = Settings.Default.FixMouseWheel; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "SelectButtonImage"; base.ShowInTaskbar = false; base.Shown += new EventHandler(this.SelectButtonImage_Shown); this.tlpBack.ResumeLayout(false); this.tlpBack.PerformLayout(); this.tlpButtons.ResumeLayout(false); this.tlpButtons.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
private void lv_DanhSachNPP_SubItemEndEditing(object sender, ListViewEx.SubItemEndEditingEventArgs e) { UpdateNPP(); }
private void lv_DanhSachNPP_SubItemClicked(object sender, ListViewEx.SubItemEventArgs e) { Editors = new Control[] { lbl_MaNPP, lbl_MaNPP, txt_TenNPP, txt_DiaChi_NPP, txt_DienThoaiNPP, txt_EmailNPP, txt_FaxNPP,txt_MasoThueNPP, txt_GhiChuNPP }; lv_DanhSachNPP.StartEditing(Editors[e.SubItem], e.Item, e.SubItem); }
private void lv_DanhSachNSX_SubItemClicked(object sender, ListViewEx.SubItemEventArgs e) { Editors = new Control[] { lbl_MaNSX,lbl_MaNSX, txt_TenNSX,txt_DiaChi,txt_DienThoai,txt_Fax,txt_Email,txt_GhiCHu_NSX}; lv_DanhSachNSX.StartEditing(Editors[e.SubItem], e.Item, e.SubItem); }
private void InitializeComponent() { this.components = new Container(); ComponentResourceManager manager = new ComponentResourceManager(typeof(ManageColumnsDialog)); this.lvItems = new ListViewEx(); this.imgAligns = new ImageList(this.components); this.btnUp = new Button(); this.btnHide = new Button(); this.btnShow = new Button(); this.btnDown = new Button(); this.tsAlign = new ToolStrip(); this.tsbLeftAlign = new ToolStripButton(); this.tsbCenter = new ToolStripButton(); this.tsbRightAlign = new ToolStripButton(); this.chkRememberColumns = new CheckBox(); this.chkAutosizeColumns = new CheckBox(); this.cmbTemplate = new TemplateComboBox(); this.btnDeleteTemplate = new Button(); this.btnSaveTemplate = new Button(); this.bvlButtons = new Bevel(); this.btnOk = new Button(); this.btnCancel = new Button(); this.tlpButtons = new TableLayoutPanel(); this.bvlTemplate = new Bevel(); TableLayoutPanel panel = new TableLayoutPanel(); ColumnHeader header = new ColumnHeader(); ColumnHeader header2 = new ColumnHeader(); Label control = new Label(); TableLayoutPanel panel2 = new TableLayoutPanel(); Label label2 = new Label(); panel.SuspendLayout(); this.tsAlign.SuspendLayout(); panel2.SuspendLayout(); this.tlpButtons.SuspendLayout(); base.SuspendLayout(); manager.ApplyResources(panel, "tlpBack"); panel.Controls.Add(this.lvItems, 0, 1); panel.Controls.Add(this.btnUp, 1, 1); panel.Controls.Add(this.btnHide, 1, 4); panel.Controls.Add(this.btnShow, 1, 3); panel.Controls.Add(this.btnDown, 1, 2); panel.Controls.Add(this.tsAlign, 1, 5); panel.Controls.Add(this.chkRememberColumns, 0, 8); panel.Controls.Add(this.chkAutosizeColumns, 0, 7); panel.Controls.Add(control, 0, 0); panel.Name = "tlpBack"; this.lvItems.AllowDrop = true; this.lvItems.CheckBoxes = true; this.lvItems.CollapsibleGroups = true; this.lvItems.Columns.AddRange(new ColumnHeader[] { header, header2 }); manager.ApplyResources(this.lvItems, "lvItems"); this.lvItems.ExplorerTheme = true; this.lvItems.FullRowSelect = true; this.lvItems.HeaderStyle = ColumnHeaderStyle.None; this.lvItems.HideSelection = false; this.lvItems.MultiSelect = false; this.lvItems.Name = "lvItems"; panel.SetRowSpan(this.lvItems, 6); this.lvItems.SmallImageList = this.imgAligns; this.lvItems.UseCompatibleStateImageBehavior = false; this.lvItems.View = View.Details; this.lvItems.ItemCheck += new ItemCheckEventHandler(this.lvItems_ItemCheck); this.lvItems.KeyDown += new KeyEventHandler(this.lvItems_KeyDown); this.lvItems.ItemDrag += new ItemDragEventHandler(this.lvItems_ItemDrag); this.lvItems.SelectedIndexChanged += new EventHandler(this.lvItems_SelectedIndexChanged); this.lvItems.ItemChecked += new ItemCheckedEventHandler(this.lvItems_ItemChecked); this.lvItems.ClientSizeChanged += new EventHandler(this.lvItems_ClientSizeChanged); manager.ApplyResources(header, "NameColumn"); manager.ApplyResources(header2, "WidthColumn"); this.imgAligns.ColorDepth = ColorDepth.Depth32Bit; manager.ApplyResources(this.imgAligns, "imgAligns"); this.imgAligns.TransparentColor = Color.Transparent; manager.ApplyResources(this.btnUp, "btnUp"); this.btnUp.Name = "btnUp"; this.btnUp.UseVisualStyleBackColor = true; this.btnUp.Click += new EventHandler(this.btnMove_Click); manager.ApplyResources(this.btnHide, "btnHide"); this.btnHide.Name = "btnHide"; this.btnHide.UseVisualStyleBackColor = true; this.btnHide.Click += new EventHandler(this.btnHide_Click); manager.ApplyResources(this.btnShow, "btnShow"); this.btnShow.Name = "btnShow"; this.btnShow.UseVisualStyleBackColor = true; this.btnShow.Click += new EventHandler(this.btnShow_Click); manager.ApplyResources(this.btnDown, "btnDown"); this.btnDown.Name = "btnDown"; this.btnDown.Tag = "1"; this.btnDown.UseVisualStyleBackColor = true; this.btnDown.Click += new EventHandler(this.btnMove_Click); this.tsAlign.BackColor = SystemColors.Control; this.tsAlign.GripStyle = ToolStripGripStyle.Hidden; this.tsAlign.Items.AddRange(new ToolStripItem[] { this.tsbLeftAlign, this.tsbCenter, this.tsbRightAlign }); manager.ApplyResources(this.tsAlign, "tsAlign"); this.tsAlign.Name = "tsAlign"; this.tsAlign.TabStop = true; this.tsbLeftAlign.DisplayStyle = ToolStripItemDisplayStyle.Image; manager.ApplyResources(this.tsbLeftAlign, "tsbLeftAlign"); this.tsbLeftAlign.Image = Resources.ImageThrobber; this.tsbLeftAlign.Name = "tsbLeftAlign"; this.tsbLeftAlign.Paint += new PaintEventHandler(this.tsbAlign_Paint); this.tsbLeftAlign.Click += new EventHandler(this.tsbAlign_Click); this.tsbCenter.DisplayStyle = ToolStripItemDisplayStyle.Image; manager.ApplyResources(this.tsbCenter, "tsbCenter"); this.tsbCenter.Image = Resources.ImageThrobber; this.tsbCenter.Name = "tsbCenter"; this.tsbCenter.Paint += new PaintEventHandler(this.tsbAlign_Paint); this.tsbCenter.Click += new EventHandler(this.tsbAlign_Click); this.tsbRightAlign.DisplayStyle = ToolStripItemDisplayStyle.Image; manager.ApplyResources(this.tsbRightAlign, "tsbRightAlign"); this.tsbRightAlign.Image = Resources.ImageThrobber; this.tsbRightAlign.Name = "tsbRightAlign"; this.tsbRightAlign.Paint += new PaintEventHandler(this.tsbAlign_Paint); this.tsbRightAlign.Click += new EventHandler(this.tsbAlign_Click); manager.ApplyResources(this.chkRememberColumns, "chkRememberColumns"); panel.SetColumnSpan(this.chkRememberColumns, 2); this.chkRememberColumns.Name = "chkRememberColumns"; this.chkRememberColumns.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkAutosizeColumns, "chkAutosizeColumns"); panel.SetColumnSpan(this.chkAutosizeColumns, 2); this.chkAutosizeColumns.Name = "chkAutosizeColumns"; this.chkAutosizeColumns.UseVisualStyleBackColor = true; manager.ApplyResources(control, "lblColumns"); panel.SetColumnSpan(control, 2); control.Name = "lblColumns"; manager.ApplyResources(panel2, "tlpTemplate"); panel2.Controls.Add(label2, 0, 0); panel2.Controls.Add(this.cmbTemplate, 1, 0); panel2.Controls.Add(this.btnSaveTemplate, 2, 0); panel2.Controls.Add(this.btnDeleteTemplate, 3, 0); panel2.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; panel2.Name = "tlpTemplate"; manager.ApplyResources(label2, "lblTemplate"); label2.Name = "lblTemplate"; this.cmbTemplate.DeleteButton = this.btnDeleteTemplate; manager.ApplyResources(this.cmbTemplate, "cmbTemplate"); this.cmbTemplate.FormattingEnabled = true; this.cmbTemplate.Name = "cmbTemplate"; this.cmbTemplate.SaveButton = this.btnSaveTemplate; this.cmbTemplate.SelectionChangeCommitted += new EventHandler(this.cmbTemplate_SelectionChangeCommitted); this.cmbTemplate.Leave += new EventHandler(this.cmbTemplate_TextUpdate); this.cmbTemplate.Enter += new EventHandler(this.cmbTemplate_TextUpdate); this.cmbTemplate.TextUpdate += new EventHandler(this.cmbTemplate_TextUpdate); manager.ApplyResources(this.btnDeleteTemplate, "btnDeleteTemplate"); this.btnDeleteTemplate.Name = "btnDeleteTemplate"; this.btnDeleteTemplate.UseVisualStyleBackColor = true; manager.ApplyResources(this.btnSaveTemplate, "btnSaveTemplate"); this.btnSaveTemplate.Name = "btnSaveTemplate"; this.btnSaveTemplate.UseVisualStyleBackColor = true; this.btnSaveTemplate.Click += new EventHandler(this.btnSaveTemplate_Click); manager.ApplyResources(this.bvlButtons, "bvlButtons"); this.bvlButtons.ForeColor = SystemColors.ControlDarkDark; this.bvlButtons.Name = "bvlButtons"; this.bvlButtons.Sides = Border3DSide.Top; this.bvlButtons.Style = Border3DStyle.Flat; 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; manager.ApplyResources(this.tlpButtons, "tlpButtons"); this.tlpButtons.Controls.Add(this.btnOk, 1, 0); this.tlpButtons.Controls.Add(this.btnCancel, 2, 0); this.tlpButtons.GrowStyle = TableLayoutPanelGrowStyle.FixedSize; this.tlpButtons.Name = "tlpButtons"; manager.ApplyResources(this.bvlTemplate, "bvlTemplate"); this.bvlTemplate.ForeColor = SystemColors.ControlDarkDark; this.bvlTemplate.Name = "bvlTemplate"; this.bvlTemplate.Sides = Border3DSide.Top; base.AcceptButton = this.btnOk; manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.CancelButton = this.btnCancel; base.Controls.Add(panel); base.Controls.Add(this.bvlTemplate); base.Controls.Add(this.bvlButtons); base.Controls.Add(this.tlpButtons); base.Controls.Add(panel2); base.FixMouseWheel = Settings.Default.FixMouseWheel; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "ManageColumnsDialog"; base.ShowInTaskbar = false; base.Shown += new EventHandler(this.ManageColumnsDialog_Shown); panel.ResumeLayout(false); panel.PerformLayout(); this.tsAlign.ResumeLayout(false); this.tsAlign.PerformLayout(); panel2.ResumeLayout(false); panel2.PerformLayout(); this.tlpButtons.ResumeLayout(false); this.tlpButtons.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.components = new Container(); ComponentResourceManager manager = new ComponentResourceManager(typeof(ArchiveOptionControl)); this.lvExtensions = new ListViewEx(); this.colExtension = new ColumnHeader(); this.lvFormats = new ListViewEx(); this.colFormat = new ColumnHeader(); this.imgFormats = new ImageList(this.components); this.lblNoArchiveFormats = new Label(); this.chkEnterOpensArchive = new CheckBox(); this.pnlEnterOpensArchive = new Panel(); this.imgSevenZipLink = new PictureBox(); this.lblHideMask = new Label(); this.txtHideMask = new TextBox(); this.pnlBack = new Panel(); this.grpExtensions = new GroupBox(); this.btnAddExt = new Button(); this.btnDeleteExt = new Button(); this.grpOptions = new GroupBox(); this.chkHideFormat = new CheckBox(); this.chkUsePipes = new CheckBox(); this.grpCapabilities = new GroupBox(); this.chkMultiFileArchive = new CheckBox(); this.chkUpdateArchive = new CheckBox(); this.chkCreateArchive = new CheckBox(); this.chkDetectFormatByContent = new CheckBox(); this.lblFormatName = new Label(); this.pnlEnterOpensArchive.SuspendLayout(); ((ISupportInitialize) this.imgSevenZipLink).BeginInit(); this.pnlBack.SuspendLayout(); this.grpExtensions.SuspendLayout(); this.grpOptions.SuspendLayout(); this.grpCapabilities.SuspendLayout(); base.SuspendLayout(); manager.ApplyResources(this.lvExtensions, "lvExtensions"); this.lvExtensions.Columns.AddRange(new ColumnHeader[] { this.colExtension }); this.lvExtensions.DataBindings.Add(new Binding("ExplorerTheme", Settings.Default, "ExplorerTheme", true, DataSourceUpdateMode.Never)); this.lvExtensions.ExplorerTheme = Settings.Default.ExplorerTheme; this.lvExtensions.FullRowSelect = true; this.lvExtensions.HeaderStyle = ColumnHeaderStyle.None; this.lvExtensions.HideSelection = false; this.lvExtensions.LabelEdit = true; this.lvExtensions.MultiSelect = false; this.lvExtensions.Name = "lvExtensions"; this.lvExtensions.Sorting = SortOrder.Ascending; this.lvExtensions.UseCompatibleStateImageBehavior = false; this.lvExtensions.View = View.Details; this.lvExtensions.KeyDown += new KeyEventHandler(this.lvExtensions_KeyDown); this.lvExtensions.AfterLabelEdit += new LabelEditEventHandler(this.lvExtensions_AfterLabelEdit); this.lvExtensions.SelectedIndexChanged += new EventHandler(this.lvExtensions_SelectedIndexChanged); this.lvExtensions.SizeChanged += new EventHandler(this.lvFormats_ClientSizeChanged); this.lvFormats.CheckBoxes = true; this.lvFormats.Columns.AddRange(new ColumnHeader[] { this.colFormat }); this.lvFormats.DataBindings.Add(new Binding("ExplorerTheme", Settings.Default, "ExplorerTheme", true, DataSourceUpdateMode.Never)); manager.ApplyResources(this.lvFormats, "lvFormats"); this.lvFormats.ExplorerTheme = Settings.Default.ExplorerTheme; this.lvFormats.FullRowSelect = true; this.lvFormats.HeaderStyle = ColumnHeaderStyle.None; this.lvFormats.HideSelection = false; this.lvFormats.MultiSelect = false; this.lvFormats.Name = "lvFormats"; this.lvFormats.SmallImageList = this.imgFormats; this.lvFormats.UseCompatibleStateImageBehavior = false; this.lvFormats.View = View.Details; this.lvFormats.KeyDown += new KeyEventHandler(this.lvFormats_KeyDown); this.lvFormats.ClientSizeChanged += new EventHandler(this.lvFormats_ClientSizeChanged); this.lvFormats.ItemSelectionChanged += new ListViewItemSelectionChangedEventHandler(this.lvFormats_ItemSelectionChanged); manager.ApplyResources(this.colFormat, "colFormat"); this.imgFormats.ColorDepth = ColorDepth.Depth32Bit; manager.ApplyResources(this.imgFormats, "imgFormats"); this.imgFormats.TransparentColor = Color.Transparent; manager.ApplyResources(this.lblNoArchiveFormats, "lblNoArchiveFormats"); this.lblNoArchiveFormats.Image = Resources.GetSevenZipLogo; this.lblNoArchiveFormats.Name = "lblNoArchiveFormats"; this.lblNoArchiveFormats.MouseMove += new MouseEventHandler(this.lblNoArchiveFormats_MouseMove); this.lblNoArchiveFormats.MouseClick += new MouseEventHandler(this.lblNoArchiveFormats_MouseClick); manager.ApplyResources(this.chkEnterOpensArchive, "chkEnterOpensArchive"); this.chkEnterOpensArchive.Checked = Settings.Default.EnterOpensArchive; this.chkEnterOpensArchive.CheckState = CheckState.Checked; this.chkEnterOpensArchive.DataBindings.Add(new Binding("Checked", Settings.Default, "EnterOpensArchive", true, DataSourceUpdateMode.Never)); this.chkEnterOpensArchive.Name = "chkEnterOpensArchive"; this.chkEnterOpensArchive.UseVisualStyleBackColor = true; this.chkEnterOpensArchive.Click += new EventHandler(this.chkEnterOpensArchive_Click); manager.ApplyResources(this.pnlEnterOpensArchive, "pnlEnterOpensArchive"); this.pnlEnterOpensArchive.Controls.Add(this.imgSevenZipLink); this.pnlEnterOpensArchive.Controls.Add(this.chkEnterOpensArchive); this.pnlEnterOpensArchive.Name = "pnlEnterOpensArchive"; this.imgSevenZipLink.Cursor = Cursors.Hand; manager.ApplyResources(this.imgSevenZipLink, "imgSevenZipLink"); this.imgSevenZipLink.Image = Resources.GetSevenZipLogo; this.imgSevenZipLink.Name = "imgSevenZipLink"; this.imgSevenZipLink.TabStop = false; this.imgSevenZipLink.Tag = "http://www.7-zip.org/"; this.imgSevenZipLink.Click += new EventHandler(this.imgSevenZipLink_Click); manager.ApplyResources(this.lblHideMask, "lblHideMask"); this.lblHideMask.MaximumSize = new Size(0x18c, 0); this.lblHideMask.Name = "lblHideMask"; manager.ApplyResources(this.txtHideMask, "txtHideMask"); this.txtHideMask.Name = "txtHideMask"; this.txtHideMask.TextChanged += new EventHandler(this.chkEnterOpensArchive_Click); this.txtHideMask.SizeChanged += new EventHandler(this.txtHideMask_SizeChanged); this.pnlBack.Controls.Add(this.grpExtensions); this.pnlBack.Controls.Add(this.grpOptions); this.pnlBack.Controls.Add(this.grpCapabilities); this.pnlBack.Controls.Add(this.lblFormatName); manager.ApplyResources(this.pnlBack, "pnlBack"); this.pnlBack.Name = "pnlBack"; this.grpExtensions.Controls.Add(this.lvExtensions); this.grpExtensions.Controls.Add(this.btnAddExt); this.grpExtensions.Controls.Add(this.btnDeleteExt); manager.ApplyResources(this.grpExtensions, "grpExtensions"); this.grpExtensions.Name = "grpExtensions"; this.grpExtensions.TabStop = false; manager.ApplyResources(this.btnAddExt, "btnAddExt"); this.btnAddExt.Name = "btnAddExt"; this.btnAddExt.UseVisualStyleBackColor = true; this.btnAddExt.Click += new EventHandler(this.btnAddExt_Click); manager.ApplyResources(this.btnDeleteExt, "btnDeleteExt"); this.btnDeleteExt.Name = "btnDeleteExt"; this.btnDeleteExt.UseVisualStyleBackColor = true; this.btnDeleteExt.Click += new EventHandler(this.btnDeleteExt_Click); this.grpOptions.Controls.Add(this.chkHideFormat); this.grpOptions.Controls.Add(this.chkUsePipes); manager.ApplyResources(this.grpOptions, "grpOptions"); this.grpOptions.Name = "grpOptions"; this.grpOptions.TabStop = false; manager.ApplyResources(this.chkHideFormat, "chkHideFormat"); this.chkHideFormat.Name = "chkHideFormat"; this.chkHideFormat.UseVisualStyleBackColor = true; this.chkHideFormat.Click += new EventHandler(this.chkHideFormat_Click); manager.ApplyResources(this.chkUsePipes, "chkUsePipes"); this.chkUsePipes.Name = "chkUsePipes"; this.chkUsePipes.UseVisualStyleBackColor = true; this.chkUsePipes.Click += new EventHandler(this.chkUsePipes_Click); this.grpCapabilities.Controls.Add(this.chkMultiFileArchive); this.grpCapabilities.Controls.Add(this.chkUpdateArchive); this.grpCapabilities.Controls.Add(this.chkCreateArchive); this.grpCapabilities.Controls.Add(this.chkDetectFormatByContent); manager.ApplyResources(this.grpCapabilities, "grpCapabilities"); this.grpCapabilities.Name = "grpCapabilities"; this.grpCapabilities.TabStop = false; manager.ApplyResources(this.chkMultiFileArchive, "chkMultiFileArchive"); this.chkMultiFileArchive.Name = "chkMultiFileArchive"; this.chkMultiFileArchive.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkUpdateArchive, "chkUpdateArchive"); this.chkUpdateArchive.Name = "chkUpdateArchive"; this.chkUpdateArchive.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkCreateArchive, "chkCreateArchive"); this.chkCreateArchive.Name = "chkCreateArchive"; this.chkCreateArchive.UseVisualStyleBackColor = true; manager.ApplyResources(this.chkDetectFormatByContent, "chkDetectFormatByContent"); this.chkDetectFormatByContent.Name = "chkDetectFormatByContent"; this.chkDetectFormatByContent.UseVisualStyleBackColor = true; this.lblFormatName.BackColor = Color.FromArgb(0xdd, 0xe7, 0xee); manager.ApplyResources(this.lblFormatName, "lblFormatName"); this.lblFormatName.ForeColor = Color.Navy; this.lblFormatName.Name = "lblFormatName"; this.lblFormatName.Paint += new PaintEventHandler(this.lblFormatName_Paint); manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.Controls.Add(this.pnlBack); base.Controls.Add(this.lvFormats); base.Controls.Add(this.lblNoArchiveFormats); base.Controls.Add(this.pnlEnterOpensArchive); base.Controls.Add(this.lblHideMask); base.Controls.Add(this.txtHideMask); base.Name = "ArchiveOptionControl"; base.Load += new EventHandler(this.ArchiveOptionControl_Load); this.pnlEnterOpensArchive.ResumeLayout(false); this.pnlEnterOpensArchive.PerformLayout(); ((ISupportInitialize) this.imgSevenZipLink).EndInit(); this.pnlBack.ResumeLayout(false); this.grpExtensions.ResumeLayout(false); this.grpOptions.ResumeLayout(false); this.grpOptions.PerformLayout(); this.grpCapabilities.ResumeLayout(false); this.grpCapabilities.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
private void listViewEx1_SubItemEndEditing(object sender, ListViewEx.SubItemEndEditingEventArgs e) { if (e.SubItem == 3) // Password field { if (e.Cancel) { e.DisplayText = new string(textBoxPassword.PasswordChar, e.Item.Tag.ToString().Length); } else { // in order to display a series of asterisks instead of the plain password text // (textBox.Text _gives_ plain text, after all), we have to modify what'll get // displayed and save the plain value somewhere else. string plain = e.DisplayText; e.DisplayText = new string(textBoxPassword.PasswordChar, plain.Length); e.Item.Tag = plain; } } }
private void InitializeComponent() { this.components = new Container(); ComponentResourceManager manager = new ComponentResourceManager(typeof(VirtualPropertyOptionControl)); this.imgPropertyTag = new ImageList(this.components); this.lblProviders = new Label(); this.lblProperties = new Label(); this.tlpBack = new TableLayoutPanel(); this.lvProviders = new ListViewEx(); this.lvProperties = new ListViewEx(); this.tlpNote1 = new TableLayoutPanel(); this.lblNote1 = new Label(); this.imgNote1 = new PictureBox(); this.tlpNote2 = new TableLayoutPanel(); this.imgNote2 = new PictureBox(); this.lblNote2 = new Label(); this.tlpBack.SuspendLayout(); this.tlpNote1.SuspendLayout(); ((ISupportInitialize) this.imgNote1).BeginInit(); this.tlpNote2.SuspendLayout(); ((ISupportInitialize) this.imgNote2).BeginInit(); base.SuspendLayout(); this.imgPropertyTag.ColorDepth = ColorDepth.Depth32Bit; manager.ApplyResources(this.imgPropertyTag, "imgPropertyTag"); this.imgPropertyTag.TransparentColor = Color.Transparent; this.lblProviders.BackColor = Color.FromArgb(0xdd, 0xe7, 0xee); manager.ApplyResources(this.lblProviders, "lblProviders"); this.lblProviders.ForeColor = Color.Navy; this.lblProviders.Name = "lblProviders"; this.lblProviders.Paint += new PaintEventHandler(this.lblProviders_Paint); this.lblProperties.BackColor = Color.FromArgb(0xdd, 0xe7, 0xee); manager.ApplyResources(this.lblProperties, "lblProperties"); this.lblProperties.ForeColor = Color.Navy; this.lblProperties.Name = "lblProperties"; this.lblProperties.Paint += new PaintEventHandler(this.lblProviders_Paint); manager.ApplyResources(this.tlpBack, "tlpBack"); this.tlpBack.Controls.Add(this.lblProperties, 1, 0); this.tlpBack.Controls.Add(this.lblProviders, 0, 0); this.tlpBack.Controls.Add(this.lvProviders, 0, 1); this.tlpBack.Controls.Add(this.lvProperties, 1, 1); this.tlpBack.Controls.Add(this.tlpNote1, 0, 2); this.tlpBack.Controls.Add(this.tlpNote2, 0, 3); this.tlpBack.Name = "tlpBack"; this.lvProviders.CheckBoxes = true; this.lvProviders.DataBindings.Add(new Binding("ExplorerTheme", Settings.Default, "ExplorerTheme", true, DataSourceUpdateMode.Never)); manager.ApplyResources(this.lvProviders, "lvProviders"); this.lvProviders.ExplorerTheme = Settings.Default.ExplorerTheme; this.lvProviders.FullRowSelect = true; this.lvProviders.HeaderStyle = ColumnHeaderStyle.None; this.lvProviders.HideSelection = false; this.lvProviders.MultiSelect = false; this.lvProviders.Name = "lvProviders"; this.lvProviders.UseCompatibleStateImageBehavior = false; this.lvProviders.View = View.Details; this.lvProviders.ItemSelectionChanged += new ListViewItemSelectionChangedEventHandler(this.lvProviders_ItemSelectionChanged); this.lvProviders.KeyDown += new KeyEventHandler(this.ListView_KeyDown); this.lvProviders.SizeChanged += new EventHandler(this.ListView_SizeChanged); this.lvProperties.CheckBoxes = true; this.lvProperties.CollapsibleGroups = true; this.lvProperties.DataBindings.Add(new Binding("ExplorerTheme", Settings.Default, "ExplorerTheme", true, DataSourceUpdateMode.Never)); manager.ApplyResources(this.lvProperties, "lvProperties"); this.lvProperties.ExplorerTheme = Settings.Default.ExplorerTheme; this.lvProperties.FullRowSelect = true; this.lvProperties.HeaderStyle = ColumnHeaderStyle.None; this.lvProperties.MultiSelect = false; this.lvProperties.Name = "lvProperties"; this.lvProperties.SmallImageList = this.imgPropertyTag; this.lvProperties.UseCompatibleStateImageBehavior = false; this.lvProperties.View = View.Details; this.lvProperties.ItemSelectionChanged += new ListViewItemSelectionChangedEventHandler(this.lvProperties_ItemSelectionChanged); this.lvProperties.KeyDown += new KeyEventHandler(this.ListView_KeyDown); this.lvProperties.ItemChecked += new ItemCheckedEventHandler(this.lvProperties_ItemChecked); this.lvProperties.SizeChanged += new EventHandler(this.ListView_SizeChanged); manager.ApplyResources(this.tlpNote1, "tlpNote1"); this.tlpBack.SetColumnSpan(this.tlpNote1, 2); this.tlpNote1.Controls.Add(this.lblNote1, 1, 0); this.tlpNote1.Controls.Add(this.imgNote1, 0, 0); this.tlpNote1.Name = "tlpNote1"; this.tlpNote1.Paint += new PaintEventHandler(this.tlpNote_Paint); manager.ApplyResources(this.lblNote1, "lblNote1"); this.lblNote1.Name = "lblNote1"; manager.ApplyResources(this.imgNote1, "imgNote1"); this.imgNote1.Name = "imgNote1"; this.imgNote1.TabStop = false; manager.ApplyResources(this.tlpNote2, "tlpNote2"); this.tlpBack.SetColumnSpan(this.tlpNote2, 2); this.tlpNote2.Controls.Add(this.imgNote2, 0, 0); this.tlpNote2.Controls.Add(this.lblNote2, 1, 0); this.tlpNote2.Name = "tlpNote2"; this.tlpNote2.Paint += new PaintEventHandler(this.tlpNote_Paint); manager.ApplyResources(this.imgNote2, "imgNote2"); this.imgNote2.Name = "imgNote2"; this.imgNote2.TabStop = false; manager.ApplyResources(this.lblNote2, "lblNote2"); this.lblNote2.Name = "lblNote2"; manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; base.Controls.Add(this.tlpBack); base.Name = "VirtualPropertyOptionControl"; base.Load += new EventHandler(this.VirtualPropertyOptionControl_Load); this.tlpBack.ResumeLayout(false); this.tlpBack.PerformLayout(); this.tlpNote1.ResumeLayout(false); this.tlpNote1.PerformLayout(); ((ISupportInitialize) this.imgNote1).EndInit(); this.tlpNote2.ResumeLayout(false); this.tlpNote2.PerformLayout(); ((ISupportInitialize) this.imgNote2).EndInit(); base.ResumeLayout(false); }
/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { this.entriesView = new System.Windows.Forms.ListViewEx(); this.entryType = new System.Windows.Forms.ColumnHeader(); this.entryLine = new System.Windows.Forms.ColumnHeader(); this.entryDesc = new System.Windows.Forms.ColumnHeader(); this.entryFile = new System.Windows.Forms.ColumnHeader(); this.entryPath = new System.Windows.Forms.ColumnHeader(); this.toolStripFilters = new PluginCore.Controls.ToolStripEx(); this.clearFilterButton = new System.Windows.Forms.ToolStripButton(); this.toolStripButtonError = new System.Windows.Forms.ToolStripButton(); this.toolStripButtonWarning = new System.Windows.Forms.ToolStripButton(); this.toolStripButtonInfo = new System.Windows.Forms.ToolStripButton(); this.toolStripTextBoxFilter = new System.Windows.Forms.ToolStripSpringTextBox(); this.toolStripLabelFilter = new System.Windows.Forms.ToolStripLabel(); this.toolStripFilters.SuspendLayout(); this.SuspendLayout(); // // clearFilterButton // this.clearFilterButton.Enabled = false; this.clearFilterButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.clearFilterButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.clearFilterButton.Margin = new System.Windows.Forms.Padding(0, 1, 0, 1); this.clearFilterButton.Name = "clearFilterButton"; this.clearFilterButton.Size = new System.Drawing.Size(23, 26); this.clearFilterButton.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; this.clearFilterButton.Click += new System.EventHandler(this.ClearFilterButtonClick); // // entriesView // this.entriesView.Dock = DockStyle.Fill; this.entriesView.BorderStyle = System.Windows.Forms.BorderStyle.None; this.entriesView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.entryType, this.entryLine, this.entryDesc, this.entryFile, this.entryPath }); this.entriesView.FullRowSelect = true; this.entriesView.GridLines = true; this.entriesView.Location = new System.Drawing.Point(0, 28); this.entriesView.Name = "entriesView"; this.entriesView.ShowItemToolTips = true; this.entriesView.Size = new System.Drawing.Size(710, 218); this.entriesView.TabIndex = 1; this.entriesView.UseCompatibleStateImageBehavior = false; this.entriesView.View = System.Windows.Forms.View.Details; this.entriesView.DoubleClick += new System.EventHandler(this.EntriesViewDoubleClick); this.entriesView.KeyDown += new System.Windows.Forms.KeyEventHandler(this.EntriesViewKeyDown); // // entryType // this.entryType.Text = "!"; this.entryType.Width = 23; // // entryLine // this.entryLine.Text = "Line"; this.entryLine.Width = 55; // // entryDesc // this.entryDesc.Text = "Description"; this.entryDesc.Width = 350; // // entryFile // this.entryFile.Text = "File"; this.entryFile.Width = 150; // // entryPath // this.entryPath.Text = "Path"; this.entryPath.Width = 400; // // toolStripFilters // this.toolStripFilters.ImageScalingSize = ScaleHelper.Scale(new Size(16, 16)); this.toolStripFilters.CanOverflow = false; this.toolStripFilters.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow; this.toolStripFilters.Padding = new System.Windows.Forms.Padding(1, 1, 2, 2); this.toolStripFilters.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; this.toolStripFilters.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripButtonError, new ToolStripSeparator(), this.toolStripButtonWarning, new ToolStripSeparator(), this.toolStripButtonInfo, new ToolStripSeparator(), this.toolStripLabelFilter, this.toolStripTextBoxFilter, this.clearFilterButton}); this.toolStripFilters.Name = "toolStripFilters"; this.toolStripFilters.Location = new System.Drawing.Point(1, 0); this.toolStripFilters.Size = new System.Drawing.Size(710, 25); this.toolStripFilters.TabIndex = 0; this.toolStripFilters.Text = "toolStripFilters"; // // toolStripButtonError // this.toolStripButtonError.Checked = true; this.toolStripButtonError.CheckOnClick = true; this.toolStripButtonError.Margin = new System.Windows.Forms.Padding(1, 1, 0, 1); this.toolStripButtonError.CheckState = System.Windows.Forms.CheckState.Checked; this.toolStripButtonError.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButtonError.Name = "toolStripButtonError"; this.toolStripButtonError.Size = new System.Drawing.Size(36, 22); this.toolStripButtonError.Text = "Error"; this.toolStripButtonError.CheckedChanged += new System.EventHandler(this.ToolStripButtonErrorCheckedChanged); // // toolStripButtonWarning // this.toolStripButtonWarning.Checked = true; this.toolStripButtonWarning.CheckOnClick = true; this.toolStripButtonWarning.Margin = new System.Windows.Forms.Padding(1, 1, 0, 1); this.toolStripButtonWarning.CheckState = System.Windows.Forms.CheckState.Checked; this.toolStripButtonWarning.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButtonWarning.Name = "toolStripButtonWarning"; this.toolStripButtonWarning.Size = new System.Drawing.Size(56, 22); this.toolStripButtonWarning.Text = "Warning"; this.toolStripButtonWarning.CheckedChanged += new System.EventHandler(this.ToolStripButtonErrorCheckedChanged); // // toolStripButtonInfo // this.toolStripButtonInfo.Checked = true; this.toolStripButtonInfo.CheckOnClick = true; this.toolStripButtonInfo.Margin = new System.Windows.Forms.Padding(1, 1, 0, 1); this.toolStripButtonInfo.CheckState = System.Windows.Forms.CheckState.Checked; this.toolStripButtonInfo.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButtonInfo.Name = "toolStripButtonInfo"; this.toolStripButtonInfo.Size = new System.Drawing.Size(74, 22); this.toolStripButtonInfo.Text = "Information"; this.toolStripButtonInfo.CheckedChanged += new System.EventHandler(this.ToolStripButtonErrorCheckedChanged); // // toolStripTextBoxFilter // this.toolStripTextBoxFilter.Name = "toolStripTextBoxFilter"; this.toolStripTextBoxFilter.Size = new System.Drawing.Size(100, 25); this.toolStripTextBoxFilter.Padding = new System.Windows.Forms.Padding(0, 0, 1, 0); this.toolStripTextBoxFilter.TextChanged += new System.EventHandler(this.ToolStripButtonErrorCheckedChanged); // // toolStripLabelFilter // this.toolStripLabelFilter.Margin = new System.Windows.Forms.Padding(2, 1, 0, 1); this.toolStripLabelFilter.Name = "toolStripLabelFilter"; this.toolStripLabelFilter.Size = new System.Drawing.Size(36, 22); this.toolStripLabelFilter.Text = "Filter:"; // // PluginUI // this.Name = "PluginUI"; this.Resize += this.PluginUIResize; this.Controls.Add(this.entriesView); this.Controls.Add(this.toolStripFilters); this.Size = new System.Drawing.Size(712, 246); this.toolStripFilters.ResumeLayout(false); this.toolStripFilters.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
private void listViewEx1_SubItemClicked(object sender, ListViewEx.SubItemEventArgs e) { int trophyID = e.Item.ImageIndex;// 在這裡imageid其實等於trophy ID ex 白金0號, 1... if (e.SubItem == 6 && tpsn[trophyID].HasValue && !tpsn[trophyID].Value.IsSync) { // 已經取得且尚未同步的才可編輯 listViewEx1.StartEditing(dateTimePicker1, e.Item, e.SubItem); } }
/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { this.listView = new System.Windows.Forms.ListViewEx(); this.columnLine = new System.Windows.Forms.ColumnHeader(); this.columnText = new System.Windows.Forms.ColumnHeader(); this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(); this.removeBookmarksItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStrip = new PluginCore.Controls.ToolStripEx(); this.searchButton = new System.Windows.Forms.ToolStripButton(); this.searchBox = new System.Windows.Forms.ToolStripSpringComboBox(); this.statusStrip = new System.Windows.Forms.StatusStrip(); this.statusLabel = new System.Windows.Forms.ToolStripStatusLabel(); this.contextMenuStrip.SuspendLayout(); this.toolStrip.SuspendLayout(); this.statusStrip.SuspendLayout(); this.SuspendLayout(); // // listView // this.listView.BorderStyle = System.Windows.Forms.BorderStyle.None; this.listView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnLine, this.columnText }); this.listView.LabelWrap = false; this.listView.GridLines = true; this.listView.ShowItemToolTips = true; this.listView.ContextMenuStrip = this.contextMenuStrip; this.listView.Dock = System.Windows.Forms.DockStyle.Fill; this.listView.FullRowSelect = true; this.listView.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Clickable; this.listView.HideSelection = false; this.listView.Name = "listView"; this.listView.Size = new System.Drawing.Size(298, 324); this.listView.TabIndex = 0; this.listView.UseCompatibleStateImageBehavior = false; this.listView.View = System.Windows.Forms.View.Details; this.listView.DoubleClick += new System.EventHandler(this.ListViewDoubleClick); this.listView.KeyUp += new System.Windows.Forms.KeyEventHandler(this.ListViewKeyUp); // // columnLine // this.columnLine.Text = "Line"; this.columnLine.Width = 55; // // columnText // this.columnText.Text = "Text"; this.columnText.Width = 250; // // contextMenuStrip // this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.removeBookmarksItem }); this.contextMenuStrip.Name = "contextMenuStrip"; this.contextMenuStrip.Size = new System.Drawing.Size(176, 26); this.contextMenuStrip.Opening += new System.ComponentModel.CancelEventHandler(this.ContextMenuStripOpening); // // removeBookmarksItem // this.removeBookmarksItem.Name = "removeBookmarksItem"; this.removeBookmarksItem.Size = new System.Drawing.Size(175, 22); this.removeBookmarksItem.Text = "Remove Bookmarks"; this.removeBookmarksItem.Click += new System.EventHandler(this.RemoveBookmarksItemClick); // // toolStrip // this.toolStrip.CanOverflow = false; this.toolStrip.Dock = System.Windows.Forms.DockStyle.Top; this.toolStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.searchButton, this.searchBox }); this.toolStrip.Name = "toolStrip"; this.toolStrip.Padding = new System.Windows.Forms.Padding(1, 1, 2, 2); this.toolStrip.Size = new System.Drawing.Size(298, 26); this.toolStrip.Stretch = true; this.toolStrip.TabIndex = 1; // // searchButton // this.searchButton.Margin = new System.Windows.Forms.Padding(0, 1, 0, 1); this.searchButton.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; this.searchButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.searchButton.Name = "searchButton"; this.searchButton.Size = new System.Drawing.Size(23, 22); this.searchButton.ToolTipText = "Search And Add Bookmarks"; this.searchButton.Click += new System.EventHandler(this.SearchButtonClick); // // searchBox // this.searchBox.FlatCombo.MaxLength = 200; this.searchBox.Name = "searchBox"; this.searchBox.Size = new System.Drawing.Size(200, 22); this.searchBox.Padding = new System.Windows.Forms.Padding(0, 0, 1, 0); this.searchBox.KeyUp += new System.Windows.Forms.KeyEventHandler(this.SearchBoxKeyUp); // // statusStrip // this.statusStrip.BackColor = System.Drawing.SystemColors.Info; this.statusStrip.Dock = System.Windows.Forms.DockStyle.Top; this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.statusLabel }); this.statusStrip.Location = new System.Drawing.Point(0, 25); this.statusStrip.Name = "statusStrip"; this.statusStrip.Size = new System.Drawing.Size(300, 22); this.statusStrip.SizingGrip = false; this.statusStrip.TabIndex = 2; this.statusStrip.Visible = false; // // statusLabel // this.statusLabel.Name = "statusLabel"; this.statusLabel.Size = new System.Drawing.Size(0, 17); this.statusLabel.Padding = new Padding(0, 2, 0, 0); // // PluginUI // this.Name = "PluginUI"; this.Controls.Add(this.listView); this.Controls.Add(this.statusStrip); this.Controls.Add(this.toolStrip); this.Size = new System.Drawing.Size(300, 350); this.contextMenuStrip.ResumeLayout(false); this.toolStrip.ResumeLayout(false); this.toolStrip.PerformLayout(); this.statusStrip.ResumeLayout(false); this.statusStrip.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { this.layoutsListView = new System.Windows.Forms.ListViewEx(); this.toolStrip = new PluginCore.Controls.ToolStripEx(); this.loadStripButton = new System.Windows.Forms.ToolStripButton(); this.deleteStripButton = new System.Windows.Forms.ToolStripButton(); this.saveStripButton = new System.Windows.Forms.ToolStripButton(); this.settingStripButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator = new System.Windows.Forms.ToolStripSeparator(); this.toolStrip.SuspendLayout(); this.SuspendLayout(); // // layoutsListView // this.layoutsListView.BorderStyle = System.Windows.Forms.BorderStyle.None; this.layoutsListView.Dock = System.Windows.Forms.DockStyle.Fill; this.layoutsListView.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None; this.layoutsListView.MultiSelect = false; this.layoutsListView.Name = "layoutsListView"; this.layoutsListView.Size = new System.Drawing.Size(297, 256); this.layoutsListView.TabIndex = 11; this.layoutsListView.UseCompatibleStateImageBehavior = false; this.layoutsListView.View = System.Windows.Forms.View.List; this.layoutsListView.DoubleClick += new System.EventHandler(this.LayoutsListViewDoubleClick); this.layoutsListView.SelectedIndexChanged += new System.EventHandler(this.LayoutsListViewSelectedIndexChanged); // // toolStrip // this.toolStrip.CanOverflow = false; this.toolStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.loadStripButton, this.deleteStripButton, this.saveStripButton, this.toolStripSeparator, this.settingStripButton}); this.toolStrip.Name = "toolStrip"; this.toolStrip.Dock = System.Windows.Forms.DockStyle.Top; this.toolStrip.Padding = new System.Windows.Forms.Padding(1, 1, 2, 2); this.toolStrip.Size = new System.Drawing.Size(297, 25); this.toolStrip.TabIndex = 13; // // loadStripButton // this.loadStripButton.Margin = new System.Windows.Forms.Padding(1, 1, 0, 1); this.loadStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.loadStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.loadStripButton.Name = "loadStripButton"; this.loadStripButton.Size = new System.Drawing.Size(23, 22); this.loadStripButton.ToolTipText = "Load Layout"; this.loadStripButton.Click += new System.EventHandler(this.LoadButtonClick); // // deleteStripButton // this.deleteStripButton.Margin = new System.Windows.Forms.Padding(0, 1, 0, 1); this.deleteStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.deleteStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.deleteStripButton.Name = "deleteStripButton"; this.deleteStripButton.Size = new System.Drawing.Size(23, 22); this.deleteStripButton.ToolTipText = "Delete Layout"; this.deleteStripButton.Click += new System.EventHandler(this.DeleteButtonClick); // // saveStripButton // this.saveStripButton.Margin = new System.Windows.Forms.Padding(0, 1, 0, 1); this.saveStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.saveStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.saveStripButton.Name = "saveStripButton"; this.saveStripButton.Size = new System.Drawing.Size(23, 22); this.saveStripButton.ToolTipText = "Save Current..."; this.saveStripButton.Click += new System.EventHandler(this.SaveButtonClick); // // settingStripButton // this.settingStripButton.Margin = new System.Windows.Forms.Padding(0, 1, 0, 1); this.settingStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.settingStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.settingStripButton.Name = "settingsStripButton"; this.settingStripButton.Size = new System.Drawing.Size(23, 22); this.settingStripButton.ToolTipText = "Show Settings..."; this.settingStripButton.Click += new System.EventHandler(this.SettingsButtonClick); // // toolStripSeparator // this.toolStripSeparator.Name = "toolStripSeparator"; this.toolStripSeparator.Size = new System.Drawing.Size(6, 25); this.toolStripSeparator.Margin = new System.Windows.Forms.Padding(0, 0, 1, 0); // // PluginUI // this.Name = "PluginUI"; this.Controls.Add(this.layoutsListView); this.Controls.Add(this.toolStrip); this.Size = new System.Drawing.Size(299, 283); this.Load += new System.EventHandler(this.FormLoaded); this.toolStrip.ResumeLayout(false); this.toolStrip.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
private void listViewEx1_SubItemEndEditing(object sender, ListViewEx.SubItemEndEditingEventArgs e) { try { tpsn.ChangeTime(e.Item.ImageIndex, Convert.ToDateTime(e.DisplayText)); TROPUSR.TrophyTimeInfo tti = tusr.trophyTimeInfoTable[e.Item.ImageIndex]; tti.Time = Convert.ToDateTime(e.DisplayText); tusr.trophyTimeInfoTable[e.Item.ImageIndex] = tti; haveBeenEdited = true; } catch (Exception ex) { e.Cancel = true; MessageBox.Show(ex.Message); } }
/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { this.listView = new System.Windows.Forms.ListViewEx(); this.columnIcon = new System.Windows.Forms.ColumnHeader(); this.columnPos = new System.Windows.Forms.ColumnHeader(); this.columnType = new System.Windows.Forms.ColumnHeader(); this.columnText = new System.Windows.Forms.ColumnHeader(); this.columnName = new System.Windows.Forms.ColumnHeader(); this.columnPath = new System.Windows.Forms.ColumnHeader(); this.toolStripLabel = new System.Windows.Forms.ToolStripLabel(); this.statusStrip = new System.Windows.Forms.StatusStrip(); this.statusStrip.SuspendLayout(); this.SuspendLayout(); // // listView // this.listView.BorderStyle = System.Windows.Forms.BorderStyle.None; this.listView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnIcon, this.columnPos, this.columnType, this.columnText, this.columnName, this.columnPath}); this.listView.Dock = System.Windows.Forms.DockStyle.Fill; this.listView.FullRowSelect = true; this.listView.GridLines = true; this.listView.LabelWrap = false; this.listView.MultiSelect = false; this.listView.Name = "listView"; this.listView.ShowItemToolTips = true; this.listView.Size = new System.Drawing.Size(278, 330); this.listView.TabIndex = 0; this.listView.UseCompatibleStateImageBehavior = false; this.listView.View = System.Windows.Forms.View.Details; this.listView.DoubleClick += new System.EventHandler(this.ListViewDoubleClick); this.listView.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.ListViewColumnClick); this.listView.KeyPress += new KeyPressEventHandler(this.ListViewKeyPress); // // columnIcon // this.columnIcon.Text = "!"; this.columnIcon.Width = 23; // // columnPos // this.columnPos.Text = "Position"; this.columnPos.Width = 75; // // columnType // this.columnType.Text = "Type"; this.columnType.Width = 70; // // columnText // this.columnText.Text = "Description"; this.columnText.Width = 350; // // columnName // this.columnName.Text = "File"; this.columnName.Width = 150; // // columnPath // this.columnPath.Text = "Path"; this.columnPath.Width = 400; // // toolStripLabel // this.toolStripLabel.Name = "toolStripLabel"; this.toolStripLabel.Size = new System.Drawing.Size(0, 20); // // statusStrip // this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {this.toolStripLabel}); this.statusStrip.Dock = System.Windows.Forms.DockStyle.Bottom; this.statusStrip.Renderer = new DockPanelStripRenderer(false); this.statusStrip.Name = "statusStrip"; this.statusStrip.Size = new System.Drawing.Size(278, 22); this.statusStrip.TabIndex = 0; // // PluginUI // this.Name = "PluginUI"; this.Controls.Add(this.listView); this.Controls.Add(this.statusStrip); this.Size = new System.Drawing.Size(280, 352); this.statusStrip.ResumeLayout(false); this.statusStrip.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponents(ImageList imageList) { this.toolStripLabelFilter = new System.Windows.Forms.ToolStripLabel(); this.toolStripTextBoxFilter = new System.Windows.Forms.ToolStripSpringTextBox(); this.clearFilterButton = new System.Windows.Forms.ToolStripButton(); this.toolStripDropDownOptions = new System.Windows.Forms.ToolStripDropDownButton(); this.toolStripItemMatchCase = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripItemRegEx = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripItemNegate = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripFilters = new PluginCore.Controls.ToolStripEx(); this.toolStripFilters.SuspendLayout(); // // toolStripTextBoxFilter // this.toolStripTextBoxFilter.Name = "toolStripTextBoxFilter"; this.toolStripTextBoxFilter.Size = new System.Drawing.Size(100, 25); this.toolStripTextBoxFilter.Padding = new System.Windows.Forms.Padding(0, 0, 1, 0); this.toolStripTextBoxFilter.Enabled = false; this.toolStripTextBoxFilter.TextChanged += new System.EventHandler(this.ToolStripTextFieldFilter_Changed); // // toolStripLabelFilter // this.toolStripLabelFilter.Margin = new System.Windows.Forms.Padding(2, 1, 0, 1); this.toolStripLabelFilter.Name = "toolStripLabelFilter"; this.toolStripLabelFilter.Size = new System.Drawing.Size(36, 22); this.toolStripLabelFilter.Text = "Filter:"; // // clearFilterButton // this.clearFilterButton.Enabled = false; this.clearFilterButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.clearFilterButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.clearFilterButton.Margin = new System.Windows.Forms.Padding(0, 1, 0, 1); this.clearFilterButton.Name = "clearFilterButton"; this.clearFilterButton.Size = new System.Drawing.Size(23, 26); this.clearFilterButton.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; this.clearFilterButton.Image = PluginBase.MainForm.FindImage("153"); this.clearFilterButton.Click += new System.EventHandler(this.ClearFilterButton_Click); // // toolStripItemMatchCase // this.toolStripItemMatchCase.Name = "toolStripItemMatchCase"; this.toolStripItemMatchCase.CheckOnClick = true; this.toolStripItemMatchCase.Text = "Match Case"; this.toolStripItemNegate.Click += FilterOption_Click; // // toolStripItemRegEx // this.toolStripItemRegEx.Name = "toolStripItemRegEx"; this.toolStripItemRegEx.CheckOnClick = true; this.toolStripItemRegEx.Text = "Regular Expression"; this.toolStripItemNegate.Click += FilterOption_Click; // // toolStripItemNegate // this.toolStripItemNegate.Name = "toolStripItemNegate"; this.toolStripItemNegate.CheckOnClick = true; this.toolStripItemNegate.Text = "Match Opposite"; this.toolStripItemNegate.Click += FilterOption_Click; // // toolStripDropDownOptions // this.toolStripDropDownOptions.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.toolStripDropDownOptions.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripItemMatchCase, this.toolStripItemRegEx, this.toolStripItemNegate}); this.toolStripDropDownOptions.Name = "toolStripDropDownOptions"; this.toolStripDropDownOptions.Text = "Options"; // // toolStripFilters // this.toolStripFilters.ImageScalingSize = ScaleHelper.Scale(new System.Drawing.Size(16, 16)); this.toolStripFilters.CanOverflow = false; this.toolStripFilters.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow; this.toolStripFilters.Padding = new System.Windows.Forms.Padding(1, 1, 2, 2); this.toolStripFilters.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; this.toolStripFilters.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripLabelFilter, this.toolStripTextBoxFilter, this.clearFilterButton, this.toolStripDropDownOptions}); this.toolStripFilters.Name = "toolStripFilters"; this.toolStripFilters.Location = new System.Drawing.Point(1, 0); this.toolStripFilters.Size = new System.Drawing.Size(710, 25); this.toolStripFilters.TabIndex = 0; this.toolStripFilters.Text = "toolStripFilters"; // lv this.lv = new ListViewEx(); this.lv.ShowItemToolTips = true; this.imageColumnHeader = new ColumnHeader(); this.imageColumnHeader.Text = string.Empty; this.imageColumnHeader.Width = 20; this.frameColumnHeader = new ColumnHeader(); this.frameColumnHeader.Text = string.Empty; this.lv.Columns.AddRange(new ColumnHeader[] { this.imageColumnHeader, this.frameColumnHeader}); this.lv.FullRowSelect = true; this.lv.BorderStyle = BorderStyle.None; this.lv.Dock = System.Windows.Forms.DockStyle.Fill; foreach (ColumnHeader column in lv.Columns) { column.Width = ScaleHelper.Scale(column.Width); } lv.SmallImageList = imageList; currentImageIndex = imageList.Images.IndexOfKey("StartContinue"); lv.View = System.Windows.Forms.View.Details; lv.MouseDoubleClick += new MouseEventHandler(Lv_MouseDoubleClick); lv.KeyDown += new KeyEventHandler(Lv_KeyDown); lv.SizeChanged += new EventHandler(Lv_SizeChanged); this.Controls.Add(lv); this.Controls.Add(toolStripFilters); this.toolStripFilters.ResumeLayout(false); this.toolStripFilters.PerformLayout(); }
private void InitializeComponent() { this.components = new Container(); ComponentResourceManager manager = new ComponentResourceManager(typeof(ExternalToolsOptionControl)); this.imgTools = new ImageList(this.components); this.BrowsePathDialog = new OpenFileDialog(); this.tlpBack = new TableLayoutPanel(); this.txtPath = new TextBox(); this.lblWindowState = new Label(); this.txtArguments = new TextBox(); this.btnAppendWorkDir = new Button(); this.lblWorkingDirectory = new Label(); this.btnAppendArgument = new Button(); this.btnBrowsePath = new Button(); this.lblHotkey = new Label(); this.txtWorkingDirectory = new TextBox(); this.cmbWindowState = new ComboBox(); this.lblCommand = new Label(); this.lblArguments = new Label(); this.txtHotKey = new HotKeyBox(); this.lvTools = new ListViewEx(); this.columnHeader1 = new ColumnHeader(); this.columnHeader2 = new ColumnHeader(); this.btnUp = new Button(); this.btnDown = new Button(); this.btnSort = new Button(); this.btnDelete = new Button(); this.btnSaveAs = new Button(); this.lblTitle = new Label(); this.txtTitle = new TextBox(); this.chkRunAsAdmin = new CheckBox(); this.cmsArguments = new ContextMenuStrip(this.components); this.tsmiCurrentItemName = new ToolStripMenuItem(); this.tsmiCurrentItemPath = new ToolStripMenuItem(); this.tsmiCurrentSelectionName = new ToolStripMenuItem(); this.tsmiCurrentSelectionPath = new ToolStripMenuItem(); this.tsmiFarItemName = new ToolStripMenuItem(); this.tsmiFarItemPath = new ToolStripMenuItem(); this.tsmiFarSelectionName = new ToolStripMenuItem(); this.tsmiFarSelectionPath = new ToolStripMenuItem(); this.tssArguments4 = new ToolStripSeparator(); this.tsmiCurrentFolder = new ToolStripMenuItem(); this.tsmiFarFolder = new ToolStripMenuItem(); this.tsmiNomadFolder = new ToolStripMenuItem(); this.tssArguments5 = new ToolStripSeparator(); this.tsmiUserValue = new ToolStripMenuItem(); this.cmsWorkingDirectory = new ContextMenuStrip(this.components); this.tsmiCurrentFolder2 = new ToolStripMenuItem(); this.tsmiFarFolder2 = new ToolStripMenuItem(); this.tsmiNomadFolder2 = new ToolStripMenuItem(); this.Validator = new ValidatorProvider(); ToolStripSeparator separator = new ToolStripSeparator(); ToolStripSeparator separator2 = new ToolStripSeparator(); ToolStripSeparator separator3 = new ToolStripSeparator(); this.tlpBack.SuspendLayout(); this.cmsArguments.SuspendLayout(); this.cmsWorkingDirectory.SuspendLayout(); base.SuspendLayout(); this.imgTools.ColorDepth = ColorDepth.Depth32Bit; manager.ApplyResources(this.imgTools, "imgTools"); this.imgTools.TransparentColor = Color.Transparent; manager.ApplyResources(this.BrowsePathDialog, "BrowsePathDialog"); manager.ApplyResources(this.tlpBack, "tlpBack"); this.tlpBack.Controls.Add(this.txtPath, 1, 6); this.tlpBack.Controls.Add(this.lblWindowState, 0, 11); this.tlpBack.Controls.Add(this.txtArguments, 1, 7); this.tlpBack.Controls.Add(this.btnAppendWorkDir, 3, 8); this.tlpBack.Controls.Add(this.lblWorkingDirectory, 0, 8); this.tlpBack.Controls.Add(this.btnAppendArgument, 3, 7); this.tlpBack.Controls.Add(this.btnBrowsePath, 3, 6); this.tlpBack.Controls.Add(this.lblHotkey, 0, 10); this.tlpBack.Controls.Add(this.txtWorkingDirectory, 1, 8); this.tlpBack.Controls.Add(this.cmbWindowState, 1, 11); this.tlpBack.Controls.Add(this.lblCommand, 0, 6); this.tlpBack.Controls.Add(this.lblArguments, 0, 7); this.tlpBack.Controls.Add(this.txtHotKey, 1, 10); this.tlpBack.Controls.Add(this.lvTools, 0, 0); this.tlpBack.Controls.Add(this.btnUp, 3, 0); this.tlpBack.Controls.Add(this.btnDown, 3, 1); this.tlpBack.Controls.Add(this.btnSort, 3, 2); this.tlpBack.Controls.Add(this.btnDelete, 3, 3); this.tlpBack.Controls.Add(this.btnSaveAs, 3, 5); this.tlpBack.Controls.Add(this.lblTitle, 0, 5); this.tlpBack.Controls.Add(this.txtTitle, 1, 5); this.tlpBack.Controls.Add(this.chkRunAsAdmin, 1, 9); this.tlpBack.Name = "tlpBack"; this.tlpBack.SetColumnSpan(this.txtPath, 2); manager.ApplyResources(this.txtPath, "txtPath"); this.txtPath.Name = "txtPath"; this.Validator.SetValidateOn(this.txtPath, ValidateOn.TextChangedTimer); this.txtPath.Validating += new CancelEventHandler(this.txtPath_Validating); manager.ApplyResources(this.lblWindowState, "lblWindowState"); this.lblWindowState.Name = "lblWindowState"; this.tlpBack.SetColumnSpan(this.txtArguments, 2); manager.ApplyResources(this.txtArguments, "txtArguments"); this.txtArguments.Name = "txtArguments"; this.txtArguments.TextChanged += new EventHandler(this.txtArguments_TextChanged); manager.ApplyResources(this.btnAppendWorkDir, "btnAppendWorkDir"); this.btnAppendWorkDir.Image = Resources.SmallDownArrow; this.btnAppendWorkDir.Name = "btnAppendWorkDir"; this.btnAppendWorkDir.UseVisualStyleBackColor = true; this.btnAppendWorkDir.Click += new EventHandler(this.btnAppendWorkDir_Click); manager.ApplyResources(this.lblWorkingDirectory, "lblWorkingDirectory"); this.lblWorkingDirectory.Name = "lblWorkingDirectory"; manager.ApplyResources(this.btnAppendArgument, "btnAppendArgument"); this.btnAppendArgument.Image = Resources.SmallDownArrow; this.btnAppendArgument.Name = "btnAppendArgument"; this.btnAppendArgument.UseVisualStyleBackColor = true; this.btnAppendArgument.Click += new EventHandler(this.btnAppendArgument_Click); manager.ApplyResources(this.btnBrowsePath, "btnBrowsePath"); this.btnBrowsePath.Name = "btnBrowsePath"; this.btnBrowsePath.UseVisualStyleBackColor = true; this.btnBrowsePath.Click += new EventHandler(this.btnBrowsePath_Click); manager.ApplyResources(this.lblHotkey, "lblHotkey"); this.lblHotkey.Name = "lblHotkey"; this.tlpBack.SetColumnSpan(this.txtWorkingDirectory, 2); manager.ApplyResources(this.txtWorkingDirectory, "txtWorkingDirectory"); this.txtWorkingDirectory.Name = "txtWorkingDirectory"; this.txtWorkingDirectory.TextChanged += new EventHandler(this.txtWorkingDirectory_TextChanged); manager.ApplyResources(this.cmbWindowState, "cmbWindowState"); this.cmbWindowState.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbWindowState.FormattingEnabled = true; this.cmbWindowState.Name = "cmbWindowState"; this.cmbWindowState.SelectionChangeCommitted += new EventHandler(this.cmbWindowState_SelectionChangeCommitted); manager.ApplyResources(this.lblCommand, "lblCommand"); this.lblCommand.Name = "lblCommand"; manager.ApplyResources(this.lblArguments, "lblArguments"); this.lblArguments.Name = "lblArguments"; manager.ApplyResources(this.txtHotKey, "txtHotKey"); this.txtHotKey.Name = "txtHotKey"; this.txtHotKey.HotKeyChanged += new EventHandler(this.txtHotKey_HotKeyChanged); this.txtHotKey.PreviewHotKey += new EventHandler<PreviewHotKeyEventArgs>(this.txtHotKey_PreviewHotKey); this.lvTools.AllowDrop = true; this.lvTools.Columns.AddRange(new ColumnHeader[] { this.columnHeader1, this.columnHeader2 }); this.tlpBack.SetColumnSpan(this.lvTools, 3); this.lvTools.DataBindings.Add(new Binding("ExplorerTheme", Settings.Default, "ExplorerTheme", true, DataSourceUpdateMode.Never)); manager.ApplyResources(this.lvTools, "lvTools"); this.lvTools.ExplorerTheme = Settings.Default.ExplorerTheme; this.lvTools.FullRowSelect = true; this.lvTools.HeaderStyle = ColumnHeaderStyle.None; this.lvTools.HideSelection = false; this.lvTools.MultiSelect = false; this.lvTools.Name = "lvTools"; this.tlpBack.SetRowSpan(this.lvTools, 5); this.lvTools.ShowColumnLines = true; this.lvTools.SmallImageList = this.imgTools; this.lvTools.SortColumn = 0; this.lvTools.UseCompatibleStateImageBehavior = false; this.lvTools.View = View.Details; this.lvTools.ItemSelectionChanged += new ListViewItemSelectionChangedEventHandler(this.lvTools_ItemSelectionChanged); this.lvTools.KeyDown += new KeyEventHandler(this.lvTools_KeyDown); this.lvTools.ItemDrag += new ItemDragEventHandler(this.lvTools_ItemDrag); this.lvTools.SizeChanged += new EventHandler(this.ListView_SizeChanged); manager.ApplyResources(this.btnUp, "btnUp"); this.btnUp.Name = "btnUp"; this.btnUp.UseVisualStyleBackColor = true; this.btnUp.Click += new EventHandler(this.btnMove_Click); manager.ApplyResources(this.btnDown, "btnDown"); this.btnDown.Name = "btnDown"; this.btnDown.UseVisualStyleBackColor = true; this.btnDown.Click += new EventHandler(this.btnMove_Click); manager.ApplyResources(this.btnSort, "btnSort"); this.btnSort.Name = "btnSort"; this.btnSort.UseVisualStyleBackColor = true; this.btnSort.Click += new EventHandler(this.btnSort_Click); manager.ApplyResources(this.btnDelete, "btnDelete"); this.btnDelete.Name = "btnDelete"; this.btnDelete.UseVisualStyleBackColor = true; this.btnDelete.Click += new EventHandler(this.btnDelete_Click); manager.ApplyResources(this.btnSaveAs, "btnSaveAs"); this.btnSaveAs.Name = "btnSaveAs"; this.btnSaveAs.UseVisualStyleBackColor = true; this.btnSaveAs.Click += new EventHandler(this.btnSaveAs_Click); manager.ApplyResources(this.lblTitle, "lblTitle"); this.lblTitle.Name = "lblTitle"; this.tlpBack.SetColumnSpan(this.txtTitle, 2); manager.ApplyResources(this.txtTitle, "txtTitle"); this.txtTitle.Name = "txtTitle"; this.Validator.SetValidateOn(this.txtTitle, ValidateOn.TextChanged); this.txtTitle.Validated += new EventHandler(this.txtTitle_Validated); this.txtTitle.Validating += new CancelEventHandler(this.txtTitle_Validating); manager.ApplyResources(this.chkRunAsAdmin, "chkRunAsAdmin"); this.tlpBack.SetColumnSpan(this.chkRunAsAdmin, 3); this.chkRunAsAdmin.Name = "chkRunAsAdmin"; this.chkRunAsAdmin.UseVisualStyleBackColor = true; this.chkRunAsAdmin.Click += new EventHandler(this.chkRunAsAdmin_Click); separator.Name = "tssArguments1"; manager.ApplyResources(separator, "tssArguments1"); separator2.Name = "tssArguments2"; manager.ApplyResources(separator2, "tssArguments2"); separator3.Name = "tssArguments3"; manager.ApplyResources(separator3, "tssArguments3"); this.cmsArguments.Items.AddRange(new ToolStripItem[] { this.tsmiCurrentItemName, this.tsmiCurrentItemPath, separator, this.tsmiCurrentSelectionName, this.tsmiCurrentSelectionPath, separator2, this.tsmiFarItemName, this.tsmiFarItemPath, separator3, this.tsmiFarSelectionName, this.tsmiFarSelectionPath, this.tssArguments4, this.tsmiCurrentFolder, this.tsmiFarFolder, this.tsmiNomadFolder, this.tssArguments5, this.tsmiUserValue }); this.cmsArguments.Name = "cmsArguments"; manager.ApplyResources(this.cmsArguments, "cmsArguments"); this.tsmiCurrentItemName.Name = "tsmiCurrentItemName"; manager.ApplyResources(this.tsmiCurrentItemName, "tsmiCurrentItemName"); this.tsmiCurrentItemName.Tag = "%curitemname%"; this.tsmiCurrentItemName.Click += new EventHandler(this.tsmiArgument_Click); this.tsmiCurrentItemPath.Name = "tsmiCurrentItemPath"; manager.ApplyResources(this.tsmiCurrentItemPath, "tsmiCurrentItemPath"); this.tsmiCurrentItemPath.Tag = "%curitempath%"; this.tsmiCurrentItemPath.Click += new EventHandler(this.tsmiArgument_Click); this.tsmiCurrentSelectionName.Name = "tsmiCurrentSelectionName"; manager.ApplyResources(this.tsmiCurrentSelectionName, "tsmiCurrentSelectionName"); this.tsmiCurrentSelectionName.Tag = "%curselname%"; this.tsmiCurrentSelectionName.Click += new EventHandler(this.tsmiArgument_Click); this.tsmiCurrentSelectionPath.Name = "tsmiCurrentSelectionPath"; manager.ApplyResources(this.tsmiCurrentSelectionPath, "tsmiCurrentSelectionPath"); this.tsmiCurrentSelectionPath.Tag = "%curselpath%"; this.tsmiCurrentSelectionPath.Click += new EventHandler(this.tsmiArgument_Click); this.tsmiFarItemName.Name = "tsmiFarItemName"; manager.ApplyResources(this.tsmiFarItemName, "tsmiFarItemName"); this.tsmiFarItemName.Tag = "%faritemname%"; this.tsmiFarItemName.Click += new EventHandler(this.tsmiArgument_Click); this.tsmiFarItemPath.Name = "tsmiFarItemPath"; manager.ApplyResources(this.tsmiFarItemPath, "tsmiFarItemPath"); this.tsmiFarItemPath.Tag = "%faritempath%"; this.tsmiFarItemPath.Click += new EventHandler(this.tsmiArgument_Click); this.tsmiFarSelectionName.Name = "tsmiFarSelectionName"; manager.ApplyResources(this.tsmiFarSelectionName, "tsmiFarSelectionName"); this.tsmiFarSelectionName.Tag = "%farselname%"; this.tsmiFarSelectionName.Click += new EventHandler(this.tsmiArgument_Click); this.tsmiFarSelectionPath.Name = "tsmiFarSelectionPath"; manager.ApplyResources(this.tsmiFarSelectionPath, "tsmiFarSelectionPath"); this.tsmiFarSelectionPath.Tag = "%farselpath%"; this.tsmiFarSelectionPath.Click += new EventHandler(this.tsmiArgument_Click); this.tssArguments4.Name = "tssArguments4"; manager.ApplyResources(this.tssArguments4, "tssArguments4"); this.tsmiCurrentFolder.Name = "tsmiCurrentFolder"; manager.ApplyResources(this.tsmiCurrentFolder, "tsmiCurrentFolder"); this.tsmiCurrentFolder.Tag = "%curdir%"; this.tsmiCurrentFolder.Click += new EventHandler(this.tsmiArgument_Click); this.tsmiFarFolder.Name = "tsmiFarFolder"; manager.ApplyResources(this.tsmiFarFolder, "tsmiFarFolder"); this.tsmiFarFolder.Tag = "%fardir%"; this.tsmiFarFolder.Click += new EventHandler(this.tsmiArgument_Click); this.tsmiNomadFolder.Name = "tsmiNomadFolder"; manager.ApplyResources(this.tsmiNomadFolder, "tsmiNomadFolder"); this.tsmiNomadFolder.Tag = "%nomaddir%"; this.tsmiNomadFolder.Click += new EventHandler(this.tsmiArgument_Click); this.tssArguments5.Name = "tssArguments5"; manager.ApplyResources(this.tssArguments5, "tssArguments5"); this.tsmiUserValue.Name = "tsmiUserValue"; manager.ApplyResources(this.tsmiUserValue, "tsmiUserValue"); this.tsmiUserValue.Tag = "%user%"; this.tsmiUserValue.Click += new EventHandler(this.tsmiArgument_Click); this.cmsWorkingDirectory.Items.AddRange(new ToolStripItem[] { this.tsmiCurrentFolder2, this.tsmiFarFolder2, this.tsmiNomadFolder2 }); this.cmsWorkingDirectory.Name = "cmsWorkingDirectory"; manager.ApplyResources(this.cmsWorkingDirectory, "cmsWorkingDirectory"); this.tsmiCurrentFolder2.Name = "tsmiCurrentFolder2"; manager.ApplyResources(this.tsmiCurrentFolder2, "tsmiCurrentFolder2"); this.tsmiCurrentFolder2.Tag = "%curdir%"; this.tsmiCurrentFolder2.Click += new EventHandler(this.tsmiWorkingDirectory_Click); this.tsmiFarFolder2.Name = "tsmiFarFolder2"; manager.ApplyResources(this.tsmiFarFolder2, "tsmiFarFolder2"); this.tsmiFarFolder2.Tag = "%fardir%"; this.tsmiFarFolder2.Click += new EventHandler(this.tsmiWorkingDirectory_Click); this.tsmiNomadFolder2.Name = "tsmiNomadFolder2"; manager.ApplyResources(this.tsmiNomadFolder2, "tsmiNomadFolder2"); this.tsmiNomadFolder2.Tag = "%nomaddir%"; this.tsmiNomadFolder2.Click += new EventHandler(this.tsmiWorkingDirectory_Click); this.Validator.Owner = this; this.Validator.TimerInterval = 250; this.Validator.ValidatingControl += new EventHandler<ValidatingControlEventArgs>(this.Validator_ValidatingControl); manager.ApplyResources(this, "$this"); base.AutoScaleMode = AutoScaleMode.Font; this.AutoValidate = AutoValidate.EnableAllowFocusChange; base.Controls.Add(this.tlpBack); base.Name = "ExternalToolsOptionControl"; this.tlpBack.ResumeLayout(false); this.tlpBack.PerformLayout(); this.cmsArguments.ResumeLayout(false); this.cmsWorkingDirectory.ResumeLayout(false); base.ResumeLayout(false); }
/// <summary> /// cell clicked, check if correct coloum and start editing /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void lvLangFiles_SubItemClicked(object sender, ListViewEx.SubItemEventArgs e) { if (e.SubItem != 2) return; cellBefore = e.Item.SubItems[e.SubItem].Text; lvLangFiles.StartEditing(tbSubItemEdit, e.Item, e.SubItem); }
/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { this.watcher = new System.IO.FileSystemWatcher(); this.modifiedHeader = new System.Windows.Forms.ColumnHeader(); this.typeHeader = new System.Windows.Forms.ColumnHeader(); this.fileView = new System.Windows.Forms.ListViewEx(); this.fileHeader = new System.Windows.Forms.ColumnHeader(); this.sizeHeader = new System.Windows.Forms.ColumnHeader(); this.folderBrowserDialog = new Ookii.Dialogs.VistaFolderBrowserDialog(); this.toolStrip = new PluginCore.Controls.ToolStripEx(); this.selectedPath = new System.Windows.Forms.ToolStripSpringComboBox(); this.syncronizeButton = new System.Windows.Forms.ToolStripButton(); this.browseButton = new System.Windows.Forms.ToolStripButton(); ((System.ComponentModel.ISupportInitialize)(this.watcher)).BeginInit(); this.toolStrip.SuspendLayout(); this.SuspendLayout(); // // watcher // this.watcher.EnableRaisingEvents = true; this.watcher.NotifyFilter = ((System.IO.NotifyFilters)((System.IO.NotifyFilters.FileName | System.IO.NotifyFilters.DirectoryName))); this.watcher.SynchronizingObject = this; this.watcher.Renamed += new System.IO.RenamedEventHandler(this.WatcherRenamed); this.watcher.Deleted += new System.IO.FileSystemEventHandler(this.WatcherChanged); this.watcher.Created += new System.IO.FileSystemEventHandler(this.WatcherChanged); this.watcher.Changed += new System.IO.FileSystemEventHandler(this.WatcherChanged); // // modifiedHeader // this.modifiedHeader.Text = "Modified"; this.modifiedHeader.Width = 120; // // typeHeader // this.typeHeader.Text = "Type"; // // fileView // this.fileView.AllowDrop = true; this.fileView.BorderStyle = System.Windows.Forms.BorderStyle.None; this.fileView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.fileHeader, this.sizeHeader, this.typeHeader, this.modifiedHeader}); this.fileView.Dock = System.Windows.Forms.DockStyle.Fill; this.fileView.LabelEdit = true; this.fileView.Name = "fileView"; this.fileView.Size = new System.Drawing.Size(278, 327); this.fileView.TabIndex = 5; this.fileView.FullRowSelect = true; this.fileView.UseCompatibleStateImageBehavior = false; this.fileView.View = System.Windows.Forms.View.Details; this.fileView.ItemActivate += new System.EventHandler(this.FileViewItemActivate); this.fileView.AfterLabelEdit += new System.Windows.Forms.LabelEditEventHandler(this.FileViewAfterLabelEdit); this.fileView.MouseUp += new System.Windows.Forms.MouseEventHandler(this.FileViewMouseUp); this.fileView.DragDrop += new System.Windows.Forms.DragEventHandler(this.FileViewDragDrop); this.fileView.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.FileViewColumnClick); this.fileView.KeyUp += new System.Windows.Forms.KeyEventHandler(this.FileViewKeyUp); this.fileView.BeforeLabelEdit += new System.Windows.Forms.LabelEditEventHandler(this.FileViewBeforeLabelEdit); this.fileView.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.FileViewDragItems); this.fileView.DragOver += new System.Windows.Forms.DragEventHandler(this.FileViewDragOver); // // fileHeader // this.fileHeader.Text = "Files"; this.fileHeader.Width = 190; // // sizeHeader // this.sizeHeader.Text = "Size"; this.sizeHeader.Width = 55; // // folderBrowserDialog // this.folderBrowserDialog.Description = "Open a folder to list the files in the folder"; this.folderBrowserDialog.RootFolder = System.Environment.SpecialFolder.MyComputer; // // toolStrip // this.toolStrip.CanOverflow = false; this.toolStrip.Dock = System.Windows.Forms.DockStyle.Top; this.toolStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.selectedPath, this.syncronizeButton, this.browseButton}); this.toolStrip.Name = "toolStrip"; this.toolStrip.Padding = new System.Windows.Forms.Padding(1, 1, 2, 2); this.toolStrip.Size = new System.Drawing.Size(278, 26); this.toolStrip.Stretch = true; this.toolStrip.TabIndex = 6; // // selectedPath // this.selectedPath.Name = "selectedPath"; this.selectedPath.Size = new System.Drawing.Size(200, 22); this.selectedPath.Padding = new System.Windows.Forms.Padding(0, 0, 1, 0); this.selectedPath.FlatCombo.SelectedIndexChanged += new System.EventHandler(this.SelectedPathSelectedIndexChanged); this.selectedPath.KeyDown += new System.Windows.Forms.KeyEventHandler(this.SelectedPathKeyDown); // // syncronizeButton // this.syncronizeButton.Margin = new System.Windows.Forms.Padding(0, 1, 0, 1); this.syncronizeButton.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; this.syncronizeButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.syncronizeButton.Name = "syncronizeButton"; this.syncronizeButton.Size = new System.Drawing.Size(23, 22); this.syncronizeButton.Text = "Synchronize"; this.syncronizeButton.Click += new System.EventHandler(this.SynchronizeView); // // browseButton // this.browseButton.Margin = new System.Windows.Forms.Padding(0, 1, 0, 1); this.browseButton.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; this.browseButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.browseButton.Name = "browseButton"; this.browseButton.Size = new System.Drawing.Size(23, 22); this.browseButton.Text = "Browse"; this.browseButton.Click += new System.EventHandler(this.BrowseButtonClick); // // PluginUI // this.Name = "PluginUI"; this.Controls.Add(this.fileView); this.Controls.Add(this.toolStrip); this.Size = new System.Drawing.Size(280, 352); ((System.ComponentModel.ISupportInitialize)(this.watcher)).EndInit(); this.toolStrip.ResumeLayout(false); this.toolStrip.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// start editing the cell /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void lvLangFiles_SubItemEndEditing(object sender, ListViewEx.SubItemEndEditingEventArgs e) { if (cellBefore != e.DisplayText) e.Item.BackColor = Color.FromKnownColor(KnownColor.WhiteSmoke); }
private void m_recibo_list_SubItemClicked(object sender, ListViewEx.SubItemEventArgs e) { if (e.SubItem >= 3 && e.SubItem <= 5 && isReciboToday) { m_recibo_list.StartEditing(Editors[0], e.Item, e.SubItem); } }
/// <summary> /// Erforderliche Methode für die Designerunterstützung. /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(GenericImportForm)); this.xpGradientPanel1 = new SteepValley.Windows.Forms.XPGradientPanel(); this.panel1 = new System.Windows.Forms.Panel(); this.cbClear = new Ambertation.Windows.Forms.TransparentCheckBox(); this.button1 = new System.Windows.Forms.Button(); this.label3 = new System.Windows.Forms.Label(); this.xpLine3 = new SteepValley.Windows.Forms.XPLine(); this.lvbones = new System.Windows.Forms.ListViewEx(); this.clBoneName = new System.Windows.Forms.ColumnHeader(); this.clBoneAction = new System.Windows.Forms.ColumnHeader(); this.clImportBone = new System.Windows.Forms.ColumnHeader(); this.clAssignedVertices = new System.Windows.Forms.ColumnHeader(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.label2 = new System.Windows.Forms.Label(); this.xpLine2 = new SteepValley.Windows.Forms.XPLine(); this.label1 = new System.Windows.Forms.Label(); this.xpLine1 = new SteepValley.Windows.Forms.XPLine(); this.lvmesh = new System.Windows.Forms.ListViewEx(); this.chMeshName = new System.Windows.Forms.ColumnHeader(); this.chMeshAction = new System.Windows.Forms.ColumnHeader(); this.chMeshTarget = new System.Windows.Forms.ColumnHeader(); this.chFaces = new System.Windows.Forms.ColumnHeader(); this.chVertices = new System.Windows.Forms.ColumnHeader(); this.chImportEnvelope = new System.Windows.Forms.ColumnHeader(); this.chJointCount = new System.Windows.Forms.ColumnHeader(); this.xpGradientPanel1.SuspendLayout(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // xpGradientPanel1 // this.xpGradientPanel1.Controls.Add(this.panel1); this.xpGradientPanel1.Controls.Add(this.label3); this.xpGradientPanel1.Controls.Add(this.xpLine3); this.xpGradientPanel1.Controls.Add(this.lvbones); this.xpGradientPanel1.Controls.Add(this.label2); this.xpGradientPanel1.Controls.Add(this.xpLine2); this.xpGradientPanel1.Controls.Add(this.label1); this.xpGradientPanel1.Controls.Add(this.xpLine1); this.xpGradientPanel1.Controls.Add(this.lvmesh); this.xpGradientPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.xpGradientPanel1.Location = new System.Drawing.Point(0, 0); this.xpGradientPanel1.Name = "xpGradientPanel1"; this.xpGradientPanel1.Size = new System.Drawing.Size(752, 486); this.xpGradientPanel1.TabIndex = 0; // // panel1 // this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.panel1.BackColor = System.Drawing.Color.Transparent; this.panel1.Controls.Add(this.cbClear); this.panel1.Controls.Add(this.button1); this.panel1.Location = new System.Drawing.Point(0, 384); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(752, 100); this.panel1.TabIndex = 10; // // cbClear // this.cbClear.Location = new System.Drawing.Point(8, 8); this.cbClear.Name = "cbClear"; this.cbClear.Size = new System.Drawing.Size(192, 24); this.cbClear.TabIndex = 1; this.cbClear.Text = "Clear Meshgroups before Import"; // // button1 // this.button1.FlatStyle = System.Windows.Forms.FlatStyle.System; this.button1.Location = new System.Drawing.Point(672, 72); this.button1.Name = "button1"; this.button1.TabIndex = 0; this.button1.Text = "Import"; this.button1.Click += new System.EventHandler(this.button1_Click); // // label3 // this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.label3.BackColor = System.Drawing.Color.Transparent; this.label3.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label3.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64))); this.label3.Location = new System.Drawing.Point(648, 352); this.label3.Name = "label3"; this.label3.TabIndex = 9; this.label3.Text = "Options"; this.label3.TextAlign = System.Drawing.ContentAlignment.BottomRight; // // xpLine3 // this.xpLine3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.xpLine3.BackColor = System.Drawing.Color.Transparent; this.xpLine3.LineColor = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64))); this.xpLine3.Location = new System.Drawing.Point(8, 376); this.xpLine3.Name = "xpLine3"; this.xpLine3.ShadowColor = System.Drawing.Color.FromArgb(((System.Byte)(127)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255))); this.xpLine3.Size = new System.Drawing.Size(740, 8); this.xpLine3.TabIndex = 8; // // lvbones // this.lvbones.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lvbones.BorderStyle = System.Windows.Forms.BorderStyle.None; this.lvbones.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.clBoneName, this.clBoneAction, this.clImportBone, this.clAssignedVertices }); this.lvbones.FullRowSelect = true; this.lvbones.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.lvbones.HideSelection = false; this.lvbones.Location = new System.Drawing.Point(8, 216); this.lvbones.Name = "lvbones"; this.lvbones.Size = new System.Drawing.Size(736, 128); this.lvbones.SmallImageList = this.imageList1; this.lvbones.TabIndex = 7; this.lvbones.View = System.Windows.Forms.View.Details; // // clBoneName // this.clBoneName.Text = "Name"; this.clBoneName.Width = 106; // // clBoneAction // this.clBoneAction.Text = ""; this.clBoneAction.Width = 102; // // clImportBone // this.clImportBone.Text = "Import as"; this.clImportBone.Width = 277; // // clAssignedVertices // this.clAssignedVertices.Text = "Vertices"; this.clAssignedVertices.Width = 67; // // imageList1 // this.imageList1.ImageSize = new System.Drawing.Size(1, 16); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; // // label2 // this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label2.BackColor = System.Drawing.Color.Transparent; this.label2.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label2.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64))); this.label2.Location = new System.Drawing.Point(648, 184); this.label2.Name = "label2"; this.label2.TabIndex = 6; this.label2.Text = "Skeleton"; this.label2.TextAlign = System.Drawing.ContentAlignment.BottomRight; // // xpLine2 // this.xpLine2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.xpLine2.BackColor = System.Drawing.Color.Transparent; this.xpLine2.LineColor = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64))); this.xpLine2.Location = new System.Drawing.Point(8, 208); this.xpLine2.Name = "xpLine2"; this.xpLine2.ShadowColor = System.Drawing.Color.FromArgb(((System.Byte)(127)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255))); this.xpLine2.Size = new System.Drawing.Size(740, 8); this.xpLine2.TabIndex = 5; // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label1.BackColor = System.Drawing.Color.Transparent; this.label1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label1.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64))); this.label1.Location = new System.Drawing.Point(648, 8); this.label1.Name = "label1"; this.label1.TabIndex = 4; this.label1.Text = "Mesh Groups"; this.label1.TextAlign = System.Drawing.ContentAlignment.BottomRight; // // xpLine1 // this.xpLine1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.xpLine1.BackColor = System.Drawing.Color.Transparent; this.xpLine1.LineColor = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64))); this.xpLine1.Location = new System.Drawing.Point(8, 32); this.xpLine1.Name = "xpLine1"; this.xpLine1.ShadowColor = System.Drawing.Color.FromArgb(((System.Byte)(127)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255))); this.xpLine1.Size = new System.Drawing.Size(740, 8); this.xpLine1.TabIndex = 3; // // lvmesh // this.lvmesh.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lvmesh.BorderStyle = System.Windows.Forms.BorderStyle.None; this.lvmesh.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.chMeshName, this.chMeshAction, this.chMeshTarget, this.chFaces, this.chVertices, this.chImportEnvelope, this.chJointCount }); this.lvmesh.FullRowSelect = true; this.lvmesh.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.lvmesh.HideSelection = false; this.lvmesh.Location = new System.Drawing.Point(8, 40); this.lvmesh.Name = "lvmesh"; this.lvmesh.Size = new System.Drawing.Size(736, 136); this.lvmesh.SmallImageList = this.imageList1; this.lvmesh.TabIndex = 2; this.lvmesh.View = System.Windows.Forms.View.Details; // // chMeshName // this.chMeshName.Text = "Name"; this.chMeshName.Width = 106; // // chMeshAction // this.chMeshAction.Text = ""; this.chMeshAction.Width = 102; // // chMeshTarget // this.chMeshTarget.Text = "Import as"; this.chMeshTarget.Width = 277; // // chFaces // this.chFaces.Text = "Faces"; this.chFaces.Width = 67; // // chVertices // this.chVertices.Text = "Vertices"; this.chVertices.Width = 67; // // chImportEnvelope // this.chImportEnvelope.Text = "Boneweight Import"; this.chImportEnvelope.Width = 20; // // chJointCount // this.chJointCount.Text = "Joint Count"; this.chJointCount.Width = 79; // // GenericImportForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 14); this.ClientSize = new System.Drawing.Size(752, 486); this.Controls.Add(this.xpGradientPanel1); this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "GenericImportForm"; this.ShowInTaskbar = false; this.Text = "Mesh Import"; this.xpGradientPanel1.ResumeLayout(false); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }