-
Notifications
You must be signed in to change notification settings - Fork 0
/
DuteIT.Designer.cs
349 lines (341 loc) · 16.1 KB
/
DuteIT.Designer.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
namespace DuteIT
{
partial class DuteIT : Microsoft.Office.Tools.Ribbon.RibbonBase
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
public DuteIT()
: base(Globals.Factory.GetRibbonFactory())
{
InitializeComponent();
}
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region 组件设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要修改
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DuteIT));
this.tab1 = this.Factory.CreateRibbonTab();
this.group5 = this.Factory.CreateRibbonGroup();
this.menu23 = this.Factory.CreateRibbonMenu();
this.button127 = this.Factory.CreateRibbonButton();
this.button79 = this.Factory.CreateRibbonButton();
this.button128 = this.Factory.CreateRibbonButton();
this.group3 = this.Factory.CreateRibbonGroup();
this.box1 = this.Factory.CreateRibbonBox();
this.splitButton1 = this.Factory.CreateRibbonSplitButton();
this.button18 = this.Factory.CreateRibbonButton();
this.menu2 = this.Factory.CreateRibbonMenu();
this.button8 = this.Factory.CreateRibbonButton();
this.button9 = this.Factory.CreateRibbonButton();
this.button294 = this.Factory.CreateRibbonButton();
this.button295 = this.Factory.CreateRibbonButton();
this.button296 = this.Factory.CreateRibbonButton();
this.button297 = this.Factory.CreateRibbonButton();
this.menu4 = this.Factory.CreateRibbonMenu();
this.menu1 = this.Factory.CreateRibbonMenu();
this.button2 = this.Factory.CreateRibbonButton();
this.button3 = this.Factory.CreateRibbonButton();
this.button5 = this.Factory.CreateRibbonButton();
this.button15 = this.Factory.CreateRibbonButton();
this.button169 = this.Factory.CreateRibbonButton();
this.tab1.SuspendLayout();
this.group5.SuspendLayout();
this.group3.SuspendLayout();
this.box1.SuspendLayout();
this.SuspendLayout();
//
// tab1
//
this.tab1.Groups.Add(this.group5);
this.tab1.Groups.Add(this.group3);
this.tab1.Label = "DTI Tool";
this.tab1.Name = "tab1";
//
// group5
//
this.group5.Items.Add(this.menu23);
this.group5.Items.Add(this.button127);
this.group5.Items.Add(this.button79);
this.group5.Items.Add(this.button128);
this.group5.Label = "帮 助";
this.group5.Name = "group5";
//
// menu23
//
this.menu23.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
this.menu23.Image = global::DuteIT.Properties.Resources.DTI;
this.menu23.Label = "教程 ";
this.menu23.Name = "menu23";
this.menu23.ScreenTip = "教程";
this.menu23.ShowImage = true;
this.menu23.SuperTip = "DTI相关的教程链接";
//
// button127
//
this.button127.Enabled = false;
this.button127.Label = " 设置 ";
this.button127.Name = "button127";
this.button127.ScreenTip = "DTI设置";
this.button127.SuperTip = "设置需要账号密码,用于特别功能中。";
this.button127.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.button127_Click);
//
// button79
//
this.button79.Enabled = false;
this.button79.Label = " 官网";
this.button79.Name = "button79";
this.button79.ScreenTip = "DTI官网";
this.button79.SuperTip = "点击进入官网,下载最新版DTI插件、使用教程及更多资源";
this.button79.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.button79_Click_1);
//
// button128
//
this.button128.Label = " 关注";
this.button128.Name = "button128";
this.button128.ScreenTip = "关注我们";
this.button128.SuperTip = "欢迎交流与建议";
this.button128.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.button128_Click_1);
//
// group3
//
this.group3.Items.Add(this.box1);
this.group3.Items.Add(this.menu2);
this.group3.Items.Add(this.menu4);
this.group3.Label = "常用功能";
this.group3.Name = "group3";
//
// box1
//
this.box1.BoxStyle = Microsoft.Office.Tools.Ribbon.RibbonBoxStyle.Vertical;
this.box1.Items.Add(this.splitButton1);
this.box1.Name = "box1";
//
// splitButton1
//
this.splitButton1.Checked = true;
this.splitButton1.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
this.splitButton1.Image = global::DuteIT.Properties.Resources.AllBorders;
this.splitButton1.Items.Add(this.button18);
this.splitButton1.Label = "合并相同";
this.splitButton1.Name = "splitButton1";
this.splitButton1.ScreenTip = "合并单元格";
this.splitButton1.SuperTip = "合并相同内容的单元格";
this.splitButton1.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.splitButton1_Click);
//
// button18
//
this.button18.Image = ((System.Drawing.Image)(resources.GetObject("button18.Image")));
this.button18.Label = "拆分单元格";
this.button18.Name = "button18";
this.button18.ScreenTip = "拆分单元格";
this.button18.ShowImage = true;
this.button18.SuperTip = "拆分合并后的单元格";
this.button18.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.button18_Click);
//
// menu2
//
this.menu2.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
this.menu2.Image = global::DuteIT.Properties.Resources.Find;
this.menu2.Items.Add(this.button8);
this.menu2.Items.Add(this.button9);
this.menu2.Items.Add(this.button294);
this.menu2.Items.Add(this.button295);
this.menu2.Items.Add(this.button296);
this.menu2.Items.Add(this.button297);
this.menu2.Label = "数据定位";
this.menu2.Name = "menu2";
this.menu2.ShowImage = true;
//
// button8
//
this.button8.Image = global::DuteIT.Properties.Resources.SelEmptyCells;
this.button8.Label = "定位批注";
this.button8.Name = "button8";
this.button8.ScreenTip = "定位批注";
this.button8.ShowImage = true;
this.button8.SuperTip = "定位选中区域包含批注的单元格";
//
// button9
//
this.button9.Image = global::DuteIT.Properties.Resources.SelEmptyCells;
this.button9.Label = "定位空值";
this.button9.Name = "button9";
this.button9.ScreenTip = "定位空值";
this.button9.ShowImage = true;
this.button9.SuperTip = "定位选中区内容为空的单元格";
//
// button294
//
this.button294.Image = global::DuteIT.Properties.Resources.SelEmptyCells;
this.button294.Label = "定位文本";
this.button294.Name = "button294";
this.button294.ScreenTip = "定位文本";
this.button294.ShowImage = true;
this.button294.SuperTip = "定位选中区域的值为文本类型的单元格";
//
// button295
//
this.button295.Image = global::DuteIT.Properties.Resources.SelEmptyCells;
this.button295.Label = "定位对象";
this.button295.Name = "button295";
this.button295.ScreenTip = "定位对象";
this.button295.ShowImage = true;
this.button295.SuperTip = "定位当前工作表悬浮的窗体对象";
//
// button296
//
this.button296.Image = global::DuteIT.Properties.Resources.SelEmptyCells;
this.button296.Label = "定位数值";
this.button296.Name = "button296";
this.button296.ScreenTip = "定位数值";
this.button296.ShowImage = true;
this.button296.SuperTip = "定位选中区内容属于数字格式的单元格";
//
// button297
//
this.button297.Image = global::DuteIT.Properties.Resources.SelEmptyCells;
this.button297.Label = "定位错误";
this.button297.Name = "button297";
this.button297.ScreenTip = "定位错误";
this.button297.ShowImage = true;
this.button297.SuperTip = "定位选中区域存在公式错误的单元格";
//
// menu4
//
this.menu4.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
this.menu4.Image = global::DuteIT.Properties.Resources.folder_add;
this.menu4.Items.Add(this.menu1);
this.menu4.Items.Add(this.button5);
this.menu4.Items.Add(this.button15);
this.menu4.Items.Add(this.button169);
this.menu4.Label = "文本处理";
this.menu4.Name = "menu4";
this.menu4.ShowImage = true;
//
// menu1
//
this.menu1.Image = global::DuteIT.Properties.Resources.repeat_records;
this.menu1.Items.Add(this.button2);
this.menu1.Items.Add(this.button3);
this.menu1.Label = "关键词处理";
this.menu1.Name = "menu1";
this.menu1.ShowImage = true;
//
// button2
//
this.button2.Image = global::DuteIT.Properties.Resources.OnlyLeftAndRightBorders;
this.button2.Label = "关键词上色";
this.button2.Name = "button2";
this.button2.ScreenTip = "关键词上色";
this.button2.ShowImage = true;
this.button2.SuperTip = "找出单元格内指定的关键词,并设置颜色。";
this.button2.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.button2_Click);
//
// button3
//
this.button3.Image = global::DuteIT.Properties.Resources.OnlyLeftAndRightBorders;
this.button3.Label = "提取关键词";
this.button3.Name = "button3";
this.button3.ScreenTip = "提取关键词";
this.button3.ShowImage = true;
this.button3.SuperTip = "查找内容中是否包含相应的关键词,并提取出来。";
this.button3.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.button3_Click);
//
// button5
//
this.button5.Image = global::DuteIT.Properties.Resources.Find;
this.button5.Label = "字符串加密";
this.button5.Name = "button5";
this.button5.ScreenTip = "字符串加密";
this.button5.ShowImage = true;
this.button5.SuperTip = "对选中区域所有内容使用SHA256加密";
this.button5.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.button5_Click);
//
// button15
//
this.button15.Image = global::DuteIT.Properties.Resources.application_form_edit;
this.button15.Label = "匹配删除行";
this.button15.Name = "button15";
this.button15.ScreenTip = "匹配删除行";
this.button15.ShowImage = true;
this.button15.SuperTip = "对选中区域的内容做正则表达式的匹配,命中的字符行会被进行删除。";
this.button15.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.button15_Click);
//
// button169
//
this.button169.Image = global::DuteIT.Properties.Resources.script_code;
this.button169.Label = "公式转数值";
this.button169.Name = "button169";
this.button169.ScreenTip = "转换数值";
this.button169.ShowImage = true;
this.button169.SuperTip = "对选中区域或当前工作表的所有内容去除公式";
this.button169.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.button169_Click_1);
//
// DuteIT
//
this.Name = "DuteIT";
this.RibbonType = "Microsoft.Excel.Workbook";
this.Tabs.Add(this.tab1);
this.Load += new Microsoft.Office.Tools.Ribbon.RibbonUIEventHandler(this.DuteIT_Load);
this.tab1.ResumeLayout(false);
this.tab1.PerformLayout();
this.group5.ResumeLayout(false);
this.group5.PerformLayout();
this.group3.ResumeLayout(false);
this.group3.PerformLayout();
this.box1.ResumeLayout(false);
this.box1.PerformLayout();
this.ResumeLayout(false);
}
#endregion
internal Microsoft.Office.Tools.Ribbon.RibbonGroup group5;
internal Microsoft.Office.Tools.Ribbon.RibbonMenu menu23;
internal Microsoft.Office.Tools.Ribbon.RibbonButton button127;
internal Microsoft.Office.Tools.Ribbon.RibbonButton button79;
internal Microsoft.Office.Tools.Ribbon.RibbonButton button128;
internal Microsoft.Office.Tools.Ribbon.RibbonGroup group3;
internal Microsoft.Office.Tools.Ribbon.RibbonButton button169;
private Microsoft.Office.Tools.Ribbon.RibbonTab tab1;
internal Microsoft.Office.Tools.Ribbon.RibbonButton button2;
internal Microsoft.Office.Tools.Ribbon.RibbonSplitButton splitButton1;
internal Microsoft.Office.Tools.Ribbon.RibbonButton button18;
internal Microsoft.Office.Tools.Ribbon.RibbonBox box1;
internal Microsoft.Office.Tools.Ribbon.RibbonButton button3;
internal Microsoft.Office.Tools.Ribbon.RibbonButton button5;
internal Microsoft.Office.Tools.Ribbon.RibbonMenu menu1;
internal Microsoft.Office.Tools.Ribbon.RibbonMenu menu2;
internal Microsoft.Office.Tools.Ribbon.RibbonButton button8;
internal Microsoft.Office.Tools.Ribbon.RibbonButton button9;
internal Microsoft.Office.Tools.Ribbon.RibbonButton button294;
internal Microsoft.Office.Tools.Ribbon.RibbonButton button295;
internal Microsoft.Office.Tools.Ribbon.RibbonButton button296;
internal Microsoft.Office.Tools.Ribbon.RibbonButton button297;
internal Microsoft.Office.Tools.Ribbon.RibbonButton button15;
internal Microsoft.Office.Tools.Ribbon.RibbonMenu menu4;
}
partial class ThisRibbonCollection
{
public object CustomRibbon { get; internal set; }
internal DuteIT DuteIT
{
get { return this.GetRibbon<DuteIT>(); }
}
}
}