Ejemplo n.º 1
0
 /// <summary>
 /// Load ActionArea object and restore
 /// </summary>
 /// <param name="actionArea"></param>
 public static void LoadActionArea(ActionArea actionArea)
 {
     if (Properties.Settings.Default.b_ActionArea)
         actionArea.LoadActionArea(new Point(Properties.Settings.Default.topLeftX,
                                             Properties.Settings.Default.topLeftY),
                                   new Point(Properties.Settings.Default.botLeftX,
                                             Properties.Settings.Default.botLeftY),
                                   new Point(Properties.Settings.Default.botRightX,
                                             Properties.Settings.Default.botRightY),
                                   new Point(Properties.Settings.Default.topRightX,
                                             Properties.Settings.Default.topRightY));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Load ActionArea object and restore
 /// </summary>
 /// <param name="actionArea"></param>
 public static void LoadActionArea(ActionArea actionArea)
 {
     if (Properties.Settings.Default.b_ActionArea)
     {
         actionArea.LoadActionArea(new Point(Properties.Settings.Default.topLeftX,
                                             Properties.Settings.Default.topLeftY),
                                   new Point(Properties.Settings.Default.botLeftX,
                                             Properties.Settings.Default.botLeftY),
                                   new Point(Properties.Settings.Default.botRightX,
                                             Properties.Settings.Default.botRightY),
                                   new Point(Properties.Settings.Default.topRightX,
                                             Properties.Settings.Default.topRightY));
     }
 }