/// <summary> /// 窗体实例化方法 /// </summary> /// <param name="htWindow">图像视窗</param> /// <param name="Models">操作的模板变量</param> /// <param name="regionMode">区域类型</param> public Form_FixMapPos(HTWindowControl htWindow, Model Models, RegionModifyForm.RegionMode regionMode) { InitializeComponent(); numericUpDown1.Value = (decimal)0.5; trackBar1.Value = (int)(numericUpDown1.Value * 100); this.LoctionModels = Models; this.htWindow = htWindow; this.htWindow.SetMenuStrip(false); Instance = this; }
public Form_FixMapPos() { InitializeComponent(); this.Icon = System.Drawing.Icon.ExtractAssociatedIcon(Application.ExecutablePath); Instance = this; }