Пример #1
0
 public void Restore()
 {
     if (isSimulationMode())
     {
         Print("Restore()");
     }
     else
     {
         WindowController.Restore();
     }
 }
Пример #2
0
 public void ResizeBy(double rate_width, double rate_height)
 {
     if (isSimulationMode())
     {
         Print("ResizeBy(" + rate_width.ToString() + ", " + rate_height.ToString() + ")");
     }
     else
     {
         WindowController.Restore();
         WindowController.ResizeBy(rate_width, rate_height);
     }
 }
Пример #3
0
 public void MoveBy(double rate_x, double rate_y)
 {
     if (isSimulationMode())
     {
         Print("MoveBy(" + rate_x.ToString() + ", " + rate_y.ToString() + ")");
     }
     else
     {
         WindowController.Restore();
         WindowController.MoveBy(rate_x, rate_y);
     }
 }