Beispiel #1
0
        public static DropForm GetInstance(int size, int offset, ContentAlignment alignment, int opacity, int hoverOpacity)
        {
            if (instance == null || instance.IsDisposed)
            {
                instance = new DropForm(size, offset, alignment, opacity, hoverOpacity);
            }

            return(instance);
        }
Beispiel #2
0
        public static DropForm GetInstance(int size, int offset, ContentAlignment alignment, int opacity, int hoverOpacity)
        {
            if (instance == null || instance.IsDisposed)
            {
                instance = new DropForm(size, offset, alignment, opacity, hoverOpacity);
            }

            return instance;
        }
Beispiel #3
0
 public static void OpenDropWindow(TaskSettings taskSettings = null)
 {
     DropForm.GetInstance(Program.Settings.DropSize, Program.Settings.DropOffset, Program.Settings.DropAlignment, Program.Settings.DropOpacity,
                          Program.Settings.DropHoverOpacity, taskSettings).ShowActivate();
 }
Beispiel #4
0
 private void OpenDropWindow()
 {
     DropForm.GetInstance(Program.Settings.DropSize, Program.Settings.DropOffset, Program.Settings.DropAlignment, Program.Settings.DropOpacity,
                          Program.Settings.DropHoverOpacity).ShowActivate();
 }