0
|
1 namespace ShortcutKeyFinder
|
|
2 {
|
|
3 partial class MainForm
|
|
4 {
|
|
5 /// <summary>
|
|
6 /// Required designer variable.
|
|
7 /// </summary>
|
|
8 private System.ComponentModel.IContainer components = null;
|
|
9
|
|
10 /// <summary>
|
|
11 /// Clean up any resources being used.
|
|
12 /// </summary>
|
|
13 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
14 protected override void Dispose(bool disposing)
|
|
15 {
|
|
16 if (disposing && (components != null))
|
|
17 {
|
|
18 components.Dispose();
|
|
19 }
|
|
20 base.Dispose(disposing);
|
|
21 }
|
|
22
|
|
23 #region Windows Form Designer generated code
|
|
24
|
|
25 /// <summary>
|
|
26 /// Required method for Designer support - do not modify
|
|
27 /// the contents of this method with the code editor.
|
|
28 /// </summary>
|
|
29 private void InitializeComponent()
|
|
30 {
|
|
31 this.components = new System.ComponentModel.Container();
|
|
32 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
|
|
33 this.ShortcutGrid = new System.Windows.Forms.DataGridView();
|
|
34 this.ShortcutColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
35 this.HotkeyColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
36 this.LocationColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
37 this.FindShortcutWorker = new System.ComponentModel.BackgroundWorker();
|
|
38 this.panel1 = new System.Windows.Forms.Panel();
|
|
39 this.ClearButton = new System.Windows.Forms.Button();
|
|
40 this.ClearAllButton = new System.Windows.Forms.Button();
|
|
41 this.ElevateButton = new System.Windows.Forms.Button();
|
|
42 this.ShowAllCheckBox = new System.Windows.Forms.CheckBox();
|
|
43 this.InitialProgressBar = new System.Windows.Forms.ProgressBar();
|
|
44 this.MainFormToolTip = new System.Windows.Forms.ToolTip(this.components);
|
|
45 ((System.ComponentModel.ISupportInitialize)(this.ShortcutGrid)).BeginInit();
|
|
46 this.panel1.SuspendLayout();
|
|
47 this.SuspendLayout();
|
|
48 //
|
|
49 // ShortcutGrid
|
|
50 //
|
|
51 this.ShortcutGrid.AllowUserToAddRows = false;
|
|
52 this.ShortcutGrid.AllowUserToDeleteRows = false;
|
|
53 this.ShortcutGrid.AllowUserToResizeRows = false;
|
|
54 this.ShortcutGrid.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
55 | System.Windows.Forms.AnchorStyles.Left)
|
|
56 | System.Windows.Forms.AnchorStyles.Right)));
|
|
57 this.ShortcutGrid.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
|
58 this.ShortcutGrid.ClipboardCopyMode = System.Windows.Forms.DataGridViewClipboardCopyMode.EnableWithoutHeaderText;
|
|
59 this.ShortcutGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
60 this.ShortcutGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
61 this.ShortcutColumn,
|
|
62 this.HotkeyColumn,
|
|
63 this.LocationColumn});
|
|
64 this.ShortcutGrid.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnF2;
|
|
65 this.ShortcutGrid.Location = new System.Drawing.Point(12, 54);
|
|
66 this.ShortcutGrid.Name = "ShortcutGrid";
|
|
67 this.ShortcutGrid.RowHeadersVisible = false;
|
|
68 this.ShortcutGrid.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
|
69 this.ShortcutGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
70 this.ShortcutGrid.Size = new System.Drawing.Size(912, 619);
|
|
71 this.ShortcutGrid.StandardTab = true;
|
|
72 this.ShortcutGrid.TabIndex = 0;
|
|
73 this.ShortcutGrid.Visible = false;
|
|
74 this.ShortcutGrid.CellBeginEdit += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.ShortcutGrid_CellBeginEdit);
|
|
75 this.ShortcutGrid.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.ShortcutGrid_CellDoubleClick);
|
|
76 this.ShortcutGrid.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.ShortcutGrid_CellEndEdit);
|
|
77 this.ShortcutGrid.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.ShortcutGrid_CellFormatting);
|
|
78 this.ShortcutGrid.CellPainting += new System.Windows.Forms.DataGridViewCellPaintingEventHandler(this.ShortcutGrid_CellPainting);
|
|
79 this.ShortcutGrid.EditingControlShowing += new System.Windows.Forms.DataGridViewEditingControlShowingEventHandler(this.ShortcutGrid_EditingControlShowing);
|
|
80 this.ShortcutGrid.SelectionChanged += new System.EventHandler(this.ShortcutGrid_SelectionChanged);
|
|
81 this.ShortcutGrid.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ShortcutGrid_KeyDown);
|
|
82 //
|
|
83 // ShortcutColumn
|
|
84 //
|
|
85 this.ShortcutColumn.DataPropertyName = "Name";
|
|
86 this.ShortcutColumn.HeaderText = "Program";
|
|
87 this.ShortcutColumn.Name = "ShortcutColumn";
|
|
88 this.ShortcutColumn.ReadOnly = true;
|
|
89 //
|
|
90 // HotkeyColumn
|
|
91 //
|
|
92 this.HotkeyColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
|
93 this.HotkeyColumn.DataPropertyName = "Hotkey";
|
|
94 this.HotkeyColumn.HeaderText = "Shortcut key";
|
|
95 this.HotkeyColumn.Name = "HotkeyColumn";
|
|
96 this.HotkeyColumn.Width = 92;
|
|
97 //
|
|
98 // LocationColumn
|
|
99 //
|
|
100 this.LocationColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
|
101 this.LocationColumn.DataPropertyName = "DisplayLocation";
|
|
102 this.LocationColumn.HeaderText = "Location";
|
|
103 this.LocationColumn.Name = "LocationColumn";
|
|
104 this.LocationColumn.ReadOnly = true;
|
|
105 this.LocationColumn.Width = 73;
|
|
106 //
|
|
107 // FindShortcutWorker
|
|
108 //
|
|
109 this.FindShortcutWorker.DoWork += new System.ComponentModel.DoWorkEventHandler(this.FindShortcutWorker_DoWork);
|
|
110 this.FindShortcutWorker.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.FindShortcutWorker_RunWorkerCompleted);
|
|
111 //
|
|
112 // panel1
|
|
113 //
|
|
114 this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
115 | System.Windows.Forms.AnchorStyles.Right)));
|
|
116 this.panel1.Controls.Add(this.ClearButton);
|
|
117 this.panel1.Controls.Add(this.ClearAllButton);
|
|
118 this.panel1.Controls.Add(this.ElevateButton);
|
|
119 this.panel1.Controls.Add(this.ShowAllCheckBox);
|
|
120 this.panel1.Location = new System.Drawing.Point(12, 12);
|
|
121 this.panel1.Name = "panel1";
|
|
122 this.panel1.Size = new System.Drawing.Size(912, 36);
|
|
123 this.panel1.TabIndex = 1;
|
|
124 //
|
|
125 // ClearButton
|
|
126 //
|
|
127 this.ClearButton.Enabled = false;
|
|
128 this.ClearButton.Location = new System.Drawing.Point(180, 3);
|
|
129 this.ClearButton.Name = "ClearButton";
|
|
130 this.ClearButton.Size = new System.Drawing.Size(140, 30);
|
|
131 this.ClearButton.TabIndex = 2;
|
|
132 this.ClearButton.Text = "&Clear shortcut key";
|
|
133 this.ClearButton.UseVisualStyleBackColor = true;
|
|
134 this.ClearButton.Click += new System.EventHandler(this.ClearButton_Click);
|
|
135 //
|
|
136 // ClearAllButton
|
|
137 //
|
|
138 this.ClearAllButton.Enabled = false;
|
|
139 this.ClearAllButton.Location = new System.Drawing.Point(340, 3);
|
|
140 this.ClearAllButton.Name = "ClearAllButton";
|
|
141 this.ClearAllButton.Size = new System.Drawing.Size(140, 30);
|
|
142 this.ClearAllButton.TabIndex = 3;
|
|
143 this.ClearAllButton.Text = "C&lear all shortcut keys";
|
|
144 this.ClearAllButton.UseVisualStyleBackColor = true;
|
|
145 this.ClearAllButton.Click += new System.EventHandler(this.ClearAllButton_Click);
|
|
146 //
|
|
147 // ElevateButton
|
|
148 //
|
|
149 this.ElevateButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
150 this.ElevateButton.Location = new System.Drawing.Point(665, 3);
|
|
151 this.ElevateButton.Name = "ElevateButton";
|
|
152 this.ElevateButton.Size = new System.Drawing.Size(244, 30);
|
|
153 this.ElevateButton.TabIndex = 4;
|
|
154 this.ElevateButton.Text = "&Allow editing shortcuts shared by all users";
|
|
155 this.MainFormToolTip.SetToolTip(this.ElevateButton, "Shared shortcuts (in the common Start Menu and Desktop)\r\nmay only be edited by Ad" +
|
|
156 "ministrators.\r\nClick this button to relaunch this program as an Administrator.");
|
|
157 this.ElevateButton.UseVisualStyleBackColor = true;
|
|
158 this.ElevateButton.Click += new System.EventHandler(this.ElevateButton_Click);
|
|
159 //
|
|
160 // ShowAllCheckBox
|
|
161 //
|
|
162 this.ShowAllCheckBox.AutoSize = true;
|
|
163 this.ShowAllCheckBox.Location = new System.Drawing.Point(3, 11);
|
|
164 this.ShowAllCheckBox.Name = "ShowAllCheckBox";
|
|
165 this.ShowAllCheckBox.Size = new System.Drawing.Size(157, 17);
|
|
166 this.ShowAllCheckBox.TabIndex = 1;
|
|
167 this.ShowAllCheckBox.Text = "&Show all available programs";
|
|
168 this.MainFormToolTip.SetToolTip(this.ShowAllCheckBox, "Unchecked - Show only shortcuts with assigned hotkeys\r\nChecked - Show all shortcu" +
|
|
169 "ts to which hotkeys may be assigned");
|
|
170 this.ShowAllCheckBox.UseVisualStyleBackColor = true;
|
|
171 this.ShowAllCheckBox.CheckedChanged += new System.EventHandler(this.ShowAllCheckBox_CheckedChanged);
|
|
172 //
|
|
173 // InitialProgressBar
|
|
174 //
|
|
175 this.InitialProgressBar.Location = new System.Drawing.Point(312, 273);
|
|
176 this.InitialProgressBar.MarqueeAnimationSpeed = 10;
|
|
177 this.InitialProgressBar.Name = "InitialProgressBar";
|
|
178 this.InitialProgressBar.Size = new System.Drawing.Size(312, 23);
|
|
179 this.InitialProgressBar.Style = System.Windows.Forms.ProgressBarStyle.Marquee;
|
|
180 this.InitialProgressBar.TabIndex = 5;
|
|
181 //
|
|
182 // MainFormToolTip
|
|
183 //
|
|
184 this.MainFormToolTip.AutoPopDelay = 30000;
|
|
185 this.MainFormToolTip.InitialDelay = 500;
|
|
186 this.MainFormToolTip.ReshowDelay = 100;
|
|
187 this.MainFormToolTip.ShowAlways = true;
|
|
188 //
|
|
189 // MainForm
|
|
190 //
|
|
191 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
192 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
193 this.ClientSize = new System.Drawing.Size(936, 685);
|
|
194 this.Controls.Add(this.InitialProgressBar);
|
|
195 this.Controls.Add(this.panel1);
|
|
196 this.Controls.Add(this.ShortcutGrid);
|
|
197 this.Cursor = System.Windows.Forms.Cursors.WaitCursor;
|
|
198 this.DoubleBuffered = true;
|
|
199 this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
200 this.MinimumSize = new System.Drawing.Size(790, 38);
|
|
201 this.Name = "MainForm";
|
|
202 this.Text = "Shortcut Key Manager";
|
|
203 ((System.ComponentModel.ISupportInitialize)(this.ShortcutGrid)).EndInit();
|
|
204 this.panel1.ResumeLayout(false);
|
|
205 this.panel1.PerformLayout();
|
|
206 this.ResumeLayout(false);
|
|
207
|
|
208 }
|
|
209
|
|
210 #endregion
|
|
211
|
|
212 private System.Windows.Forms.DataGridView ShortcutGrid;
|
|
213 private System.ComponentModel.BackgroundWorker FindShortcutWorker;
|
|
214 private System.Windows.Forms.DataGridViewTextBoxColumn ShortcutColumn;
|
|
215 private System.Windows.Forms.DataGridViewTextBoxColumn HotkeyColumn;
|
|
216 private System.Windows.Forms.DataGridViewTextBoxColumn LocationColumn;
|
|
217 private System.Windows.Forms.Panel panel1;
|
|
218 private System.Windows.Forms.Button ElevateButton;
|
|
219 private System.Windows.Forms.CheckBox ShowAllCheckBox;
|
|
220 private System.Windows.Forms.Button ClearAllButton;
|
|
221 private System.Windows.Forms.Button ClearButton;
|
|
222 private System.Windows.Forms.ProgressBar InitialProgressBar;
|
|
223 private System.Windows.Forms.ToolTip MainFormToolTip;
|
|
224 }
|
|
225 }
|
|
226
|