Beispiel #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));
 }
Beispiel #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));
     }
 }