Ejemplo n.º 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();
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 3
0
 public clsPosition(CNCMain gui)
 {
     _gui            = gui;
     _enable         = false;
     _gui.Connected += Connected;
 }