Added shortcut keys for the buttons

This commit is contained in:
2016-03-16 15:08:34 +00:00
parent c668bbaca6
commit ba019e4476
2 changed files with 28 additions and 30 deletions

View File

@@ -166,36 +166,39 @@
//
this.btnPage.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnPage.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnPage.Location = new System.Drawing.Point(470, 84);
this.btnPage.Location = new System.Drawing.Point(461, 84);
this.btnPage.Name = "btnPage";
this.btnPage.Size = new System.Drawing.Size(75, 23);
this.btnPage.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.F10);
this.btnPage.Size = new System.Drawing.Size(84, 23);
this.btnPage.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnPage.TabIndex = 9;
this.btnPage.Text = "Pa&ge";
this.btnPage.Text = "Page (F10)";
this.btnPage.Click += new System.EventHandler(this.btnPage_Click);
//
// btnPrev
//
this.btnPrev.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnPrev.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnPrev.Location = new System.Drawing.Point(470, 116);
this.btnPrev.Location = new System.Drawing.Point(461, 116);
this.btnPrev.Name = "btnPrev";
this.btnPrev.Size = new System.Drawing.Size(75, 23);
this.btnPrev.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.F11);
this.btnPrev.Size = new System.Drawing.Size(84, 23);
this.btnPrev.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnPrev.TabIndex = 10;
this.btnPrev.Text = "&Previous";
this.btnPrev.Text = "Previous (F11)";
this.btnPrev.Click += new System.EventHandler(this.btnPrev_Click);
//
// btnNext
//
this.btnNext.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnNext.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnNext.Location = new System.Drawing.Point(470, 145);
this.btnNext.Location = new System.Drawing.Point(461, 145);
this.btnNext.Name = "btnNext";
this.btnNext.Size = new System.Drawing.Size(75, 23);
this.btnNext.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.F12);
this.btnNext.Size = new System.Drawing.Size(84, 23);
this.btnNext.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnNext.TabIndex = 11;
this.btnNext.Text = "&Next";
this.btnNext.Text = "Next (F12)";
this.btnNext.Click += new System.EventHandler(this.btnNext_Click);
//
// ofd
@@ -207,24 +210,26 @@
//
this.btnNextIns.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnNextIns.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnNextIns.Location = new System.Drawing.Point(380, 200);
this.btnNextIns.Location = new System.Drawing.Point(353, 200);
this.btnNextIns.Name = "btnNextIns";
this.btnNextIns.Size = new System.Drawing.Size(75, 20);
this.btnNextIns.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.F4);
this.btnNextIns.Size = new System.Drawing.Size(102, 20);
this.btnNextIns.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnNextIns.TabIndex = 12;
this.btnNextIns.Text = "Insert ";
this.btnNextIns.Text = "Insert After (F4)";
this.btnNextIns.Click += new System.EventHandler(this.btnNextIns_Click);
//
// btnNextRpl
//
this.btnNextRpl.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnNextRpl.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnNextRpl.Location = new System.Drawing.Point(380, 174);
this.btnNextRpl.Location = new System.Drawing.Point(353, 174);
this.btnNextRpl.Name = "btnNextRpl";
this.btnNextRpl.Size = new System.Drawing.Size(75, 20);
this.btnNextRpl.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.F3);
this.btnNextRpl.Size = new System.Drawing.Size(102, 20);
this.btnNextRpl.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnNextRpl.TabIndex = 13;
this.btnNextRpl.Text = "Replace";
this.btnNextRpl.Text = "Replace After (F3)";
this.btnNextRpl.Click += new System.EventHandler(this.btnNextRpl_Click);
//
// frmImportWordContents