changed IME mode for several controls

This commit is contained in:
codeimp 2008-02-17 10:41:38 +00:00
parent 8fe8a6e7a8
commit 57d770ffb1
5 changed files with 24 additions and 1 deletions

View file

@ -37,6 +37,7 @@ namespace CodeImp.DoomBuilder.Interface
// number
//
this.number.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.number.ImeMode = System.Windows.Forms.ImeMode.Off;
this.number.Location = new System.Drawing.Point(3, 1);
this.number.Name = "number";
this.number.Size = new System.Drawing.Size(43, 13);

View file

@ -64,6 +64,7 @@ namespace CodeImp.DoomBuilder.Interface
//
// gridsize
//
this.gridsize.ImeMode = System.Windows.Forms.ImeMode.Off;
this.gridsize.Location = new System.Drawing.Point(146, 28);
this.gridsize.Maximum = new decimal(new int[] {
4096,
@ -123,6 +124,7 @@ namespace CodeImp.DoomBuilder.Interface
// backoffsety
//
this.backoffsety.Enabled = false;
this.backoffsety.ImeMode = System.Windows.Forms.ImeMode.Off;
this.backoffsety.Location = new System.Drawing.Point(197, 137);
this.backoffsety.Maximum = new decimal(new int[] {
4096,
@ -136,6 +138,7 @@ namespace CodeImp.DoomBuilder.Interface
// backoffsetx
//
this.backoffsetx.Enabled = false;
this.backoffsetx.ImeMode = System.Windows.Forms.ImeMode.Off;
this.backoffsetx.Location = new System.Drawing.Point(134, 137);
this.backoffsetx.Maximum = new decimal(new int[] {
4096,

View file

@ -343,6 +343,7 @@ namespace CodeImp.DoomBuilder.Interface
//
this.arg3.AllowNegative = false;
this.arg3.AllowRelative = true;
this.arg3.ImeMode = System.Windows.Forms.ImeMode.Off;
this.arg3.Location = new System.Drawing.Point(377, 55);
this.arg3.Name = "arg3";
this.arg3.Size = new System.Drawing.Size(50, 20);
@ -352,6 +353,7 @@ namespace CodeImp.DoomBuilder.Interface
//
this.arg2.AllowNegative = false;
this.arg2.AllowRelative = true;
this.arg2.ImeMode = System.Windows.Forms.ImeMode.Off;
this.arg2.Location = new System.Drawing.Point(167, 107);
this.arg2.Name = "arg2";
this.arg2.Size = new System.Drawing.Size(50, 20);
@ -361,6 +363,7 @@ namespace CodeImp.DoomBuilder.Interface
//
this.arg4.AllowNegative = false;
this.arg4.AllowRelative = true;
this.arg4.ImeMode = System.Windows.Forms.ImeMode.Off;
this.arg4.Location = new System.Drawing.Point(377, 81);
this.arg4.Name = "arg4";
this.arg4.Size = new System.Drawing.Size(50, 20);
@ -370,6 +373,7 @@ namespace CodeImp.DoomBuilder.Interface
//
this.arg1.AllowNegative = false;
this.arg1.AllowRelative = true;
this.arg1.ImeMode = System.Windows.Forms.ImeMode.Off;
this.arg1.Location = new System.Drawing.Point(167, 81);
this.arg1.Name = "arg1";
this.arg1.Size = new System.Drawing.Size(50, 20);
@ -379,6 +383,7 @@ namespace CodeImp.DoomBuilder.Interface
//
this.arg0.AllowNegative = false;
this.arg0.AllowRelative = true;
this.arg0.ImeMode = System.Windows.Forms.ImeMode.Off;
this.arg0.Location = new System.Drawing.Point(167, 55);
this.arg0.Name = "arg0";
this.arg0.Size = new System.Drawing.Size(50, 20);
@ -435,6 +440,7 @@ namespace CodeImp.DoomBuilder.Interface
//
this.tag.AllowNegative = false;
this.tag.AllowRelative = true;
this.tag.ImeMode = System.Windows.Forms.ImeMode.Off;
this.tag.Location = new System.Drawing.Point(56, 19);
this.tag.Name = "tag";
this.tag.Size = new System.Drawing.Size(68, 20);
@ -561,6 +567,7 @@ namespace CodeImp.DoomBuilder.Interface
//
this.backsector.AllowNegative = false;
this.backsector.AllowRelative = false;
this.backsector.ImeMode = System.Windows.Forms.ImeMode.Off;
this.backsector.Location = new System.Drawing.Point(103, 37);
this.backsector.Name = "backsector";
this.backsector.Size = new System.Drawing.Size(94, 20);
@ -598,6 +605,7 @@ namespace CodeImp.DoomBuilder.Interface
//
this.backoffsety.AllowNegative = true;
this.backoffsety.AllowRelative = true;
this.backoffsety.ImeMode = System.Windows.Forms.ImeMode.Off;
this.backoffsety.Location = new System.Drawing.Point(152, 76);
this.backoffsety.Name = "backoffsety";
this.backoffsety.Size = new System.Drawing.Size(45, 20);
@ -608,6 +616,7 @@ namespace CodeImp.DoomBuilder.Interface
//
this.backoffsetx.AllowNegative = true;
this.backoffsetx.AllowRelative = true;
this.backoffsetx.ImeMode = System.Windows.Forms.ImeMode.Off;
this.backoffsetx.Location = new System.Drawing.Point(103, 76);
this.backoffsetx.Name = "backoffsetx";
this.backoffsetx.Size = new System.Drawing.Size(45, 20);
@ -650,6 +659,7 @@ namespace CodeImp.DoomBuilder.Interface
//
this.frontsector.AllowNegative = false;
this.frontsector.AllowRelative = false;
this.frontsector.ImeMode = System.Windows.Forms.ImeMode.Off;
this.frontsector.Location = new System.Drawing.Point(103, 37);
this.frontsector.Name = "frontsector";
this.frontsector.Size = new System.Drawing.Size(94, 20);
@ -687,6 +697,7 @@ namespace CodeImp.DoomBuilder.Interface
//
this.frontoffsety.AllowNegative = true;
this.frontoffsety.AllowRelative = true;
this.frontoffsety.ImeMode = System.Windows.Forms.ImeMode.Off;
this.frontoffsety.Location = new System.Drawing.Point(152, 76);
this.frontoffsety.Name = "frontoffsety";
this.frontoffsety.Size = new System.Drawing.Size(45, 20);
@ -697,6 +708,7 @@ namespace CodeImp.DoomBuilder.Interface
//
this.frontoffsetx.AllowNegative = true;
this.frontoffsetx.AllowRelative = true;
this.frontoffsetx.ImeMode = System.Windows.Forms.ImeMode.Off;
this.frontoffsetx.Location = new System.Drawing.Point(103, 76);
this.frontoffsetx.Name = "frontoffsetx";
this.frontoffsetx.Size = new System.Drawing.Size(45, 20);

View file

@ -49,11 +49,17 @@ namespace CodeImp.DoomBuilder.Interface
public bool AllowNegative { get { return allownegative; } set { allownegative = value; } }
public bool AllowRelative { get { return allowrelative; } set { allowrelative = value; } }
#endregion
#region ================== Constructor / Disposer
// Constructor
public NumericTextbox()
{
this.ImeMode = ImeMode.Off;
}
#endregion
#region ================== Methods

View file

@ -401,6 +401,7 @@ namespace CodeImp.DoomBuilder.Interface
//
// actionkey
//
this.actionkey.ImeMode = System.Windows.Forms.ImeMode.Off;
this.actionkey.Location = new System.Drawing.Point(23, 142);
this.actionkey.Name = "actionkey";
this.actionkey.Size = new System.Drawing.Size(163, 20);