Пример #1
0
 public static void ShowPause(string info)
 {
     if (form == null)
     {
         form = new PauseInfo();
     }
     form.labelInfo.Text = info;
     if (form.Visible == false)
         form.Show();
 }
Пример #2
0
  // private static float x, y, z,e,f;
 //  private static bool relative;
   public static void ShowPause(string info) {
       if (form == null)
       {
           form = new PauseInfo();
       }
       form.labelInfo.Text = info;
       /*GCodeAnalyzer a = Main.conn.analyzer;
       x = a.x-a.xOffset;
       y = a.y-a.yOffset;
       z = a.z-a.zOffset;
       e = a.activeExtruder.e - a.activeExtruder.eOffset;
       f = a.f;
       relative = a.relative;
       */
       if (form.Visible == false)
           form.Show();
   }
Пример #3
0
        public static void ShowPause(string info)
        {
            if (form == null)
            {
                form = new PauseInfo();
            }
            form.labelInfo.Text = info;
            GCodeAnalyzer a = Main.conn.analyzer;
            x = a.x;
            y = a.y;
            z = a.z;
            e = a.e;
            f = a.f;
            relative = a.relative;

            if (form.Visible == false)
                form.Show();
        }