示例#1
0
 public void setParams(CNCMain parent, Bitmap image, Int16 iDPI, Single sResolution)
 {
     frmParent          = parent;
     DPI                = iDPI;
     resolution         = sResolution;
     adjustedImage      = image;
     txtResolution.Text = (1.00f / sResolution).ToString("#0.0");
     getImageSize();
 }
示例#2
0
 private void EEPROM_Load(object sender, EventArgs e)
 {
     strConfig = new List <string>();
     System.Threading.Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture("en-US");
     frmParent = (CNCMain)this.Owner;
 }
示例#3
0
 public clsPosition(CNCMain gui)
 {
     _gui            = gui;
     _enable         = false;
     _gui.Connected += Connected;
 }