예제 #1
0
파일: StatusForm.cs 프로젝트: komby/vixen
        public StatusForm(SuperSchedulerData data, ScheduleExecutor executor)
        {
            InitializeComponent();

            buttonPauseShow.Image = Tools.GetIcon(Resources.control_pause, 16);
            buttonPauseShow.Text = "";
            buttonNextSong.Image = Tools.GetIcon(Resources.control_end, 16);
            buttonNextSong.Text = "";
            buttonStartScheduler.Image = Tools.GetIcon(Resources.control_play, 16);
            buttonStartScheduler.Text = "";
            buttonStopNow.Image = Tools.GetIcon(Resources.control_stop, 16);
            buttonStopNow.Text = "";
            buttonStopGracefully.Image = Tools.GetIcon(Resources.clock_stop, 16);
            buttonStopGracefully.Text = "";
            buttonViewLog.Image = Tools.GetIcon(Resources.document_notes, 16);
            buttonViewLog.Text = "";

            buttonPlayShowNow.Image = Tools.GetIcon(Resources.control_play, 16);
            buttonPlayShowNow.Text = "";
            buttonPlayShowGracefully.Image = Tools.GetIcon(Resources.clock_play, 16);
            buttonPlayShowGracefully.Text = "";

            ControlBox = false;
            SchedulerData = data;
            Executor = executor;
        }
예제 #2
0
 public StatusForm(SuperSchedulerData data, ScheduleExecutor executor)
 {
     InitializeComponent();
     this.ControlBox = false;
     SchedulerData   = data;
     Executor        = executor;
 }
예제 #3
0
        public StatusForm(SuperSchedulerData data, ScheduleExecutor executor)
        {
            InitializeComponent();

            ForeColor = ThemeColorTable.ForeColor;
            BackColor = ThemeColorTable.BackgroundColor;
            ThemeUpdateControls.UpdateControls(this);
            buttonPauseShow.Image = Tools.GetIcon(Resources.control_pause, 24);
            buttonPauseShow.Text = "";
            buttonNextSong.Image = Tools.GetIcon(Resources.control_end, 24);
            buttonNextSong.Text = "";
            buttonStartScheduler.Image = Tools.GetIcon(Resources.control_play_blue, 24);
            buttonStartScheduler.Text = "";
            buttonStopNow.Image = Tools.GetIcon(Resources.control_stop_blue, 24);
            buttonStopNow.Text = "";
            buttonStopGracefully.Image = Tools.GetIcon(Resources.clock_stop, 24);
            buttonStopGracefully.Text = "";
            buttonViewLog.Image = Tools.GetIcon(Resources.document_notes, 24);
            buttonViewLog.Text = "";
            buttonPlayShowNow.Image = Tools.GetIcon(Resources.control_play, 24);
            buttonPlayShowNow.Text = "";
            buttonPlayShowGracefully.Image = Tools.GetIcon(Resources.clock_play, 24);
            buttonPlayShowGracefully.Text = "";

            ControlBox = false;
            SchedulerData = data;
            Executor = executor;
        }
예제 #4
0
파일: StatusForm.cs 프로젝트: komby/vixen
        public StatusForm(SuperSchedulerData data, ScheduleExecutor executor)
        {
            InitializeComponent();

            buttonPauseShow.Image      = Tools.GetIcon(Resources.control_pause, 16);
            buttonPauseShow.Text       = "";
            buttonNextSong.Image       = Tools.GetIcon(Resources.control_end, 16);
            buttonNextSong.Text        = "";
            buttonStartScheduler.Image = Tools.GetIcon(Resources.control_play, 16);
            buttonStartScheduler.Text  = "";
            buttonStopNow.Image        = Tools.GetIcon(Resources.control_stop, 16);
            buttonStopNow.Text         = "";
            buttonStopGracefully.Image = Tools.GetIcon(Resources.clock_stop, 16);
            buttonStopGracefully.Text  = "";
            buttonViewLog.Image        = Tools.GetIcon(Resources.document_notes, 16);
            buttonViewLog.Text         = "";

            buttonPlayShowNow.Image        = Tools.GetIcon(Resources.control_play, 16);
            buttonPlayShowNow.Text         = "";
            buttonPlayShowGracefully.Image = Tools.GetIcon(Resources.clock_play, 16);
            buttonPlayShowGracefully.Text  = "";


            ControlBox    = false;
            SchedulerData = data;
            Executor      = executor;
        }
        public override IModuleDataModel Clone()
        {
            SuperSchedulerData newData = (SuperSchedulerData)MemberwiseClone();

            //newData.ScheduledItems = ScheduledItems.ToList();
            return(newData);
        }
예제 #6
0
        public StatusForm(SuperSchedulerData data, ScheduleExecutor executor)
        {
            InitializeComponent();

            ForeColor = ThemeColorTable.ForeColor;
            BackColor = ThemeColorTable.BackgroundColor;
            int iconSize = (int)(24 * ScalingTools.GetScaleFactor());

            buttonPauseShow.Image          = Tools.GetIcon(Resources.control_pause, iconSize);
            buttonPauseShow.Text           = "";
            buttonNextSong.Image           = Tools.GetIcon(Resources.control_end, iconSize);
            buttonNextSong.Text            = "";
            buttonStartScheduler.Image     = Tools.GetIcon(Resources.control_play_blue, iconSize);
            buttonStartScheduler.Text      = "";
            buttonStopNow.Image            = Tools.GetIcon(Resources.control_stop_blue, iconSize);
            buttonStopNow.Text             = "";
            buttonStopGracefully.Image     = Tools.GetIcon(Resources.clock_stop, iconSize);
            buttonStopGracefully.Text      = "";
            buttonViewLog.Image            = Tools.GetIcon(Resources.document_notes, iconSize);
            buttonViewLog.Text             = "";
            buttonPlayShowNow.Image        = Tools.GetIcon(Resources.control_play, iconSize);
            buttonPlayShowNow.Text         = "";
            buttonPlayShowGracefully.Image = Tools.GetIcon(Resources.clock_play, iconSize);
            buttonPlayShowGracefully.Text  = "";

            ThemeUpdateControls.UpdateControls(this);

            ControlBox    = false;
            SchedulerData = data;
            Executor      = executor;
        }
예제 #7
0
 public StatusForm(SuperSchedulerData data, ScheduleExecutor executor)
 {
     InitializeComponent();
     this.ControlBox = false;
     SchedulerData = data;
     Executor = executor;
 }
예제 #8
0
        //private static NLog.Logger ScheduleLogging = NLog.LogManager.GetLogger("Scheduler");

        public ScheduleExecutor(SuperSchedulerData data)
        {
            Data = data;
            _synchronizationContext = VixenSystem.UIContext;
            if (Enabled)
            {
                Timer.Enabled = true;
            }
        }
예제 #9
0
        //private static NLog.Logger ScheduleLogging = NLog.LogManager.GetLogger("Scheduler");

        public ScheduleExecutor(SuperSchedulerData data)
        {
            Data = data;
            _synchronizationContext = SynchronizationContext.Current;
            if (Enabled)
            {
                Timer.Enabled = true;
            }
        }
예제 #10
0
파일: SetupForm.cs 프로젝트: komby/vixen
        public SetupForm(SuperSchedulerData data)
        {
            InitializeComponent();

            buttonAddSchedule.Image = Tools.GetIcon(Resources.add, 16);
            buttonAddSchedule.Text = "";
            buttonDeleteSchedule.Image = Tools.GetIcon(Resources.delete, 16);
            buttonDeleteSchedule.Text = "";
            buttonEditSchedule.Image = Tools.GetIcon(Resources.pencil, 16);
            buttonEditSchedule.Text = "";
            buttonEditShow.Image = Tools.GetIcon(Resources.table_edit, 16);
            buttonEditShow.Text = "";
            buttonHelp.Image = Tools.GetIcon(Resources.help, 16);

            Data = data;
        }
예제 #11
0
파일: SetupForm.cs 프로젝트: komby/vixen
        public SetupForm(SuperSchedulerData data)
        {
            InitializeComponent();

            buttonAddSchedule.Image    = Tools.GetIcon(Resources.add, 16);
            buttonAddSchedule.Text     = "";
            buttonDeleteSchedule.Image = Tools.GetIcon(Resources.delete, 16);
            buttonDeleteSchedule.Text  = "";
            buttonEditSchedule.Image   = Tools.GetIcon(Resources.pencil, 16);
            buttonEditSchedule.Text    = "";
            buttonEditShow.Image       = Tools.GetIcon(Resources.table_edit, 16);
            buttonEditShow.Text        = "";
            buttonHelp.Image           = Tools.GetIcon(Resources.help, 16);


            Data = data;
        }
예제 #12
0
파일: SetupForm.cs 프로젝트: naztrain/vixen
        public SetupForm(SuperSchedulerData data)
        {
            InitializeComponent();

            ForeColor = ThemeColorTable.ForeColor;
            BackColor = ThemeColorTable.BackgroundColor;
            ThemeUpdateControls.UpdateControls(this);
            buttonAddSchedule.Image = Tools.GetIcon(Resources.add, 16);
            buttonAddSchedule.Text = "";
            buttonDeleteSchedule.Image = Tools.GetIcon(Resources.delete, 16);
            buttonDeleteSchedule.Text = "";
            buttonEditSchedule.Image = Tools.GetIcon(Resources.pencil, 16);
            buttonEditSchedule.Text = "";
            buttonEditShow.Image = Tools.GetIcon(Resources.table_edit, 16);
            buttonEditShow.Text = "";
            buttonHelp.Image = Tools.GetIcon(Resources.help, 16);

            Data = data;
        }
예제 #13
0
파일: SetupForm.cs 프로젝트: thorhs/vixen
        public SetupForm(SuperSchedulerData data)
        {
            InitializeComponent();

            ForeColor = ThemeColorTable.ForeColor;
            BackColor = ThemeColorTable.BackgroundColor;
            ThemeUpdateControls.UpdateControls(this);
            buttonAddSchedule.Image    = Tools.GetIcon(Resources.add, 16);
            buttonAddSchedule.Text     = "";
            buttonDeleteSchedule.Image = Tools.GetIcon(Resources.delete, 16);
            buttonDeleteSchedule.Text  = "";
            buttonEditSchedule.Image   = Tools.GetIcon(Resources.pencil, 16);
            buttonEditSchedule.Text    = "";
            buttonEditShow.Image       = Tools.GetIcon(Resources.table_edit, 16);
            buttonEditShow.Text        = "";
            buttonHelp.Image           = Tools.GetIcon(Resources.help, 16);


            Data = data;
        }
예제 #14
0
        public SetupForm(SuperSchedulerData data)
        {
            InitializeComponent();

            ForeColor = ThemeColorTable.ForeColor;
            BackColor = ThemeColorTable.BackgroundColor;
            int iconSize = (int)(24 * ScalingTools.GetScaleFactor());

            buttonAddSchedule.Image    = Tools.GetIcon(Resources.add, iconSize);
            buttonAddSchedule.Text     = "";
            buttonDeleteSchedule.Image = Tools.GetIcon(Resources.delete, iconSize);
            buttonDeleteSchedule.Text  = "";
            buttonEditSchedule.Image   = Tools.GetIcon(Resources.pencil, iconSize);
            buttonEditSchedule.Text    = "";
            buttonEditShow.Image       = Tools.GetIcon(Resources.table_edit, iconSize);
            buttonEditShow.Text        = "";
            buttonHelp.Image           = Tools.GetIcon(Resources.help, iconSize);

            ThemeUpdateControls.UpdateControls(this);

            Data = data;

            Closing += SetupForm_Closing;
        }
예제 #15
0
파일: SetupForm.cs 프로젝트: Jchuchla/vixen
 public SetupForm(SuperSchedulerData data)
 {
     InitializeComponent();
     Data = data;
 }
예제 #16
0
 //private static NLog.Logger ScheduleLogging = NLog.LogManager.GetLogger("Scheduler");
 public ScheduleExecutor(SuperSchedulerData data)
 {
     Data = data;
     _synchronizationContext = SynchronizationContext.Current;
     Timer.Enabled = true;
 }
예제 #17
0
 public SetupForm(SuperSchedulerData data)
 {
     InitializeComponent();
     Data = data;
 }