Пример #1
0
 public static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     var grip = new SliderGrip();
     RelocateGrip(grip);
     Application.Run(grip);
     //var test = new CueTest();
     //Application.Run(test);
 }
Пример #2
0
 public static void RelocateGrip(SliderGrip grip)
 {
     Size desktopSize = Screen.PrimaryScreen.WorkingArea.Size;
     var x = (SkypePopSettings.Default.Side == Constants.SideRight) ? (desktopSize.Width - 1) : (-3);
     grip.Location = new Point(x, desktopSize.Height - SkypePopSettings.Default.yLocation);
 }