public NeedleClass(Camera MyCam, CNC MyCnc, FormMain MainF) { MainForm = MainF; Calibrated = false; Cam = MyCam; Cnc = MyCnc; CalibrationPoints.Clear(); }
public TapesClass(DataGridView gr, NeedleClass ndl, Camera cam, CNC c, FormMain MainF) { Grid = gr; Needle = ndl; DownCamera = cam; MainForm = MainF; Cnc = c; }
public TapesClass(DataGridView gr, NeedleClass ndl, CNC c, FormMain MainF) { Grid = gr; Needle = ndl; MainForm = MainF; Cnc = c; TapeTypes = AForgeFunctionSet.GetTapeTypes(); if (File.Exists(Global.BaseDirectory + @"\" + TapesSaveName)) tapeObjs = Global.DeSerialization<SortableBindingList<TapeObj>>(TapeFilename); }
public Camera(FormMain MainF) { MainForm = MainF; }
public CNC(FormMain MainF) { MainForm = MainF; Com = new SerialComm(this, MainF); Connect(Properties.Settings.Default.CNC_SerialPort); }
// ================================================================================= public PanelizeForm(FormMain MainF) { MainForm = MainF; InitializeComponent(); }
public SerialComm(CNC caller, FormMain MainF) { Cnc = caller; MainForm = MainF; }
public void InitializeObject(DataGridView gr, DataGridView gridLoc, NeedleClass ndl, CNC c, FormMain MainF) { Grid = gr; Needle = ndl; MainForm = MainF; Cnc = c; GridLocations = gridLoc; //if (File.Exists(Global.BaseDirectory + @"\" + NozzlesSaveName)) // nozzles = Global.DeSerialization<SortableBindingList<Nozzle>>(NozzlesFilename); ReLoad(); nozzles.ListChanged += nozzles_ListChanged; Grid.CellValueChanged += Grid_CellValueChanged; Grid.CurrentCellDirtyStateChanged += Grid_CurrentCellDirtyStateChanged; }
public NeedleClass(FormMain MainF) { MainForm = MainF; Calibrated = false; CalibrationPoints.Clear(); }
public CNC(FormMain mf) { MainForm = mf; Com = new SerialComm { serialDelegate = InterpretLine }; Connect(Properties.Settings.Default.CNC_SerialPort); }