Start() public method

public Start ( bool manuallyStarted ) : void
manuallyStarted bool
return void
コード例 #1
0
ファイル: StatusForm.cs プロジェクト: starry-au/vixen
        private void buttonPlayShowNow_Click(object sender, EventArgs e)
        {
            Common.Controls.ComboBoxItem item = comboBoxShows.SelectedItem as Common.Controls.ComboBoxItem;
            if (item != null)
            {
                Shows.Show show = item.Value as Shows.Show;
                Executor.Stop(false);

                ScheduleItem scheduleItem = new ScheduleItem();
                scheduleItem.ShowID = show.ID;
                scheduleItem.Start(true);
            }
        }
コード例 #2
0
ファイル: StatusForm.cs プロジェクト: Evilfish2000/vixen
        private void buttonPlayShowNow_Click(object sender, EventArgs e)
        {
            Common.Controls.ComboBoxItem item = comboBoxShows.SelectedItem as Common.Controls.ComboBoxItem;
            if (item != null)
            {
                Shows.Show show = item.Value as Shows.Show;
                Executor.Stop(false);

                ScheduleItem scheduleItem = new ScheduleItem();
                scheduleItem.ShowID = show.ID;
                scheduleItem.Start(true);
            }
        }