Ejemplo n.º 1
0
 private void connectToPlotterToolStripMenuItem_Click_1(object sender, EventArgs e)
 {
     PlotterFunctions.handshake();
     label4.Text = PlotterFunctions.plotterName;
     if (label4.Text.Equals("Plotter Not Connected"))
     {
         label4.ForeColor = Color.FromArgb(255, 0, 0);
     }
     else
     {
         label4.ForeColor = Color.FromArgb(0, 128, 32);
     }
 }
Ejemplo n.º 2
0
 private void form1_Load(object sender, EventArgs e)
 {
     PlotterFunctions.loader(ConfigFileName);
     setNumerics();
     PlotterFunctions.reloadColours();
     PlotterFunctions.handshake();
     label4.Text = PlotterFunctions.plotterName;
     if (label4.Text.Equals("Plotter Not Connected"))
     {
         label4.ForeColor = Color.FromArgb(255, 0, 0);
     }
     else
     {
         label4.ForeColor = Color.FromArgb(0, 128, 32);
     }
 }