Added Insert and Replace buttons
Added comments with a link to the sendkeys key commands Logic to let the Import Word Contents form know which edit item should receive the key strokes
This commit is contained in:
@@ -41,6 +41,8 @@
|
||||
this.btnPrev = new DevComponents.DotNetBar.ButtonX();
|
||||
this.btnNext = new DevComponents.DotNetBar.ButtonX();
|
||||
this.ofd = new System.Windows.Forms.OpenFileDialog();
|
||||
this.btnNextIns = new DevComponents.DotNetBar.ButtonX();
|
||||
this.btnNextRpl = new DevComponents.DotNetBar.ButtonX();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// txbWordFile
|
||||
@@ -136,13 +138,12 @@
|
||||
//
|
||||
// txbWrdText
|
||||
//
|
||||
this.txbWrdText.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
//
|
||||
//
|
||||
//
|
||||
this.txbWrdText.Border.Class = "TextBoxBorder";
|
||||
this.txbWrdText.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.txbWrdText.Location = new System.Drawing.Point(13, 87);
|
||||
this.txbWrdText.Location = new System.Drawing.Point(13, 84);
|
||||
this.txbWrdText.Multiline = true;
|
||||
this.txbWrdText.Name = "txbWrdText";
|
||||
this.txbWrdText.PreventEnterBeep = true;
|
||||
@@ -165,12 +166,12 @@
|
||||
//
|
||||
this.btnPage.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnPage.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnPage.Location = new System.Drawing.Point(470, 87);
|
||||
this.btnPage.Location = new System.Drawing.Point(470, 84);
|
||||
this.btnPage.Name = "btnPage";
|
||||
this.btnPage.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnPage.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnPage.TabIndex = 9;
|
||||
this.btnPage.Text = "Page";
|
||||
this.btnPage.Text = "Pa&ge";
|
||||
this.btnPage.Click += new System.EventHandler(this.btnPage_Click);
|
||||
//
|
||||
// btnPrev
|
||||
@@ -182,7 +183,7 @@
|
||||
this.btnPrev.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnPrev.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnPrev.TabIndex = 10;
|
||||
this.btnPrev.Text = "Previous";
|
||||
this.btnPrev.Text = "&Previous";
|
||||
this.btnPrev.Click += new System.EventHandler(this.btnPrev_Click);
|
||||
//
|
||||
// btnNext
|
||||
@@ -194,7 +195,7 @@
|
||||
this.btnNext.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnNext.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnNext.TabIndex = 11;
|
||||
this.btnNext.Text = "Next";
|
||||
this.btnNext.Text = "&Next";
|
||||
this.btnNext.Click += new System.EventHandler(this.btnNext_Click);
|
||||
//
|
||||
// ofd
|
||||
@@ -202,11 +203,37 @@
|
||||
this.ofd.Filter = "Docx Files|*.docx|Doc Files|*.doc|All Files|*.*";
|
||||
this.ofd.FileOk += new System.ComponentModel.CancelEventHandler(this.ofd_FileOk);
|
||||
//
|
||||
// btnNextIns
|
||||
//
|
||||
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.Name = "btnNextIns";
|
||||
this.btnNextIns.Size = new System.Drawing.Size(75, 20);
|
||||
this.btnNextIns.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnNextIns.TabIndex = 12;
|
||||
this.btnNextIns.Text = "Insert ";
|
||||
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.Name = "btnNextRpl";
|
||||
this.btnNextRpl.Size = new System.Drawing.Size(75, 20);
|
||||
this.btnNextRpl.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnNextRpl.TabIndex = 13;
|
||||
this.btnNextRpl.Text = "Replace";
|
||||
this.btnNextRpl.Click += new System.EventHandler(this.btnNextRpl_Click);
|
||||
//
|
||||
// frmImportWordContents
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(557, 183);
|
||||
this.ClientSize = new System.Drawing.Size(556, 226);
|
||||
this.Controls.Add(this.btnNextRpl);
|
||||
this.Controls.Add(this.btnNextIns);
|
||||
this.Controls.Add(this.btnNext);
|
||||
this.Controls.Add(this.btnPrev);
|
||||
this.Controls.Add(this.btnPage);
|
||||
@@ -244,5 +271,7 @@
|
||||
private DevComponents.DotNetBar.ButtonX btnPrev;
|
||||
private DevComponents.DotNetBar.ButtonX btnNext;
|
||||
private System.Windows.Forms.OpenFileDialog ofd;
|
||||
private DevComponents.DotNetBar.ButtonX btnNextIns;
|
||||
private DevComponents.DotNetBar.ButtonX btnNextRpl;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user