public CutterDiameterForm(TrioWrapper thetrio) { trio = thetrio; InitializeComponent(); cutterDiameterTB.Text = trio.cutterDiameter.ToString(); leadInLengthTB.Text = trio.leadInLength.ToString(); }
public OffsetForm(Offset off, TrioWrapper ax) { InitializeComponent(); Offset = off; Trio = ax; refreshValues(); _timer.Interval = 500; _timer.Tick += TimerTick; _timer.Enabled = true; Trio.setJogSpeed("X", Trio.rapidSpeed); Trio.setJogSpeed("Y", Trio.rapidSpeed); }
public EditStartPositionForm(TrioWrapper t) { InitializeComponent(); Trio = t; if (File.Exists(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "//REL//SURE-Jet//" + "BASIC CODE" + ".txt")) { String theFile = File.ReadAllText(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "//REL//SURE-Jet//" + "BASIC CODE" + ".txt"); String[] lines = theFile.Split('\n'); hScrollBar1.Maximum = lines.Length; hScrollBar1.Minimum = 0; } this.Width = 740; this.Height = 492; }