public LaunchTypeTester(ShowItem showItem) { InitializeComponent(); ShowItem = showItem; action = new LaunchAction(ShowItem); action.ActionComplete += OnActionComplete; action.Execute(); }
public WebPageTypeEditor(ShowItem showItem) { InitializeComponent(); buttonTest.Image = Tools.GetIcon(Resources.cog_go, 16); buttonTest.Text = ""; _showItem = showItem; }
public SequenceTypeEditor(ShowItem showItem) { InitializeComponent(); buttonSelectSequence.Image = Tools.GetIcon(Resources.folder_explore, 16); buttonSelectSequence.Text = ""; _showItem = showItem; }
public ShowTypeEditor(ShowItem item, Guid currentShowID) { InitializeComponent(); _showItem = item; _shows = ShowsData.ShowList; _currentShowID = currentShowID; PopulateShowList(); checkBoxStopCurrentShow.Checked = _showItem.Show_StopCurrentShow; }
public PauseTypeEditor(ShowItem showItem) { InitializeComponent(); ForeColor = ThemeColorTable.ForeColor; BackColor = ThemeColorTable.BackgroundColor; ThemeUpdateControls.UpdateControls(this); ContolLabel1 = label1; ContolNumericUpDownPauseSeconds = numericUpDownPauseSeconds; _showItem = showItem; }
public LaunchTypeEditor(ShowItem item) { InitializeComponent(); buttonSelectProgram.Image = Tools.GetIcon(Resources.folder_explore, 16); buttonSelectProgram.Text = ""; buttonTest.Image = Tools.GetIcon(Resources.cog_go, 16); buttonTest.Text = ""; _showItem = item; }
public ShowTypeEditor(ShowItem item, Guid currentShowID) { InitializeComponent(); ForeColor = ThemeColorTable.ForeColor; BackColor = ThemeColorTable.BackgroundColor; ThemeUpdateControls.UpdateControls(this); _showItem = item; _shows = ShowsData.ShowList; _currentShowID = currentShowID; PopulateShowList(); checkBoxStopCurrentShow.Checked = _showItem.Show_StopCurrentShow; }
public WebPageTypeEditor(ShowItem showItem) { InitializeComponent(); ForeColor = ThemeColorTable.ForeColor; BackColor = ThemeColorTable.BackgroundColor; ThemeUpdateControls.UpdateControls(this); buttonTest.Image = Tools.GetIcon(Resources.cog_go, 16); buttonTest.Text = ""; _showItem = showItem; }
public WebPageTypeEditor(ShowItem showItem) { InitializeComponent(); ForeColor = ThemeColorTable.ForeColor; BackColor = ThemeColorTable.BackgroundColor; int iconSize = (int)(16 * ScalingTools.GetScaleFactor()); ThemeUpdateControls.UpdateControls(this); buttonTest.Image = Tools.GetIcon(Resources.cog_go, iconSize); buttonTest.Text = ""; _showItem = showItem; }
public SequenceTypeEditor(ShowItem showItem) { InitializeComponent(); ForeColor = ThemeColorTable.ForeColor; BackColor = ThemeColorTable.BackgroundColor; int iconSize = (int)(16 * ScalingTools.GetScaleFactor()); ContolLabel1 = label1; ContolLabelSequence = labelSequence; ContolTextBoxSequence = textBoxSequence; ContolButtonSelectSequence = buttonSelectSequence; buttonSelectSequence.Image = Tools.GetIcon(Resources.folder_explore, iconSize); buttonSelectSequence.Text = ""; ThemeUpdateControls.UpdateControls(this); _showItem = showItem; }
public LaunchTypeEditor(ShowItem item) { InitializeComponent(); ForeColor = ThemeColorTable.ForeColor; BackColor = ThemeColorTable.BackgroundColor; buttonSelectProgram.Image = Tools.GetIcon(Resources.folder_explore, 16); buttonSelectProgram.Text = ""; buttonTest.Image = Tools.GetIcon(Resources.cog_go, 16); buttonTest.Text = ""; ContolLabel1 = label1; ContolLabel2 = label2; ContolPanel1 = panel1; ContolCheckBoxShowCommandWindow = checkBoxShowCommandWindow; ContolCheckBoxWaitForExit = checkBoxWaitForExit; ThemeUpdateControls.UpdateControls(this); _showItem = item; }
public LaunchTypeEditor(ShowItem item) { InitializeComponent(); _showItem = item; }
public ListViewItem AddItemToList(ShowItem item) { ListViewItem lvItem = new ListViewItem(item.Name); lvItem.Tag = item; return listViewShowItems.Items.Add(lvItem); }
public PauseAction(ShowItem showItem) : base(showItem) { _timer = new Timer(showItem.Pause_Seconds*1000); }
public Action(ShowItem showItem) { ShowItem = showItem; Id = Guid.NewGuid(); }
public SequenceTypeEditor(ShowItem showItem) { InitializeComponent(); _showItem = showItem; }
public ShowItem AddItem(ShowItemType itemType, string itemName) { ShowItem showItem = new ShowItem(itemType, itemName, this.ID); Items.Add(showItem); return showItem; }
public void DeleteItem(ShowItem showItem) { if (Items.Contains(showItem)) Items.Remove(showItem); }
public WebPageTypeEditor(ShowItem showItem) { InitializeComponent(); _showItem = showItem; }
public LaunchAction(ShowItem showItem) : base(showItem) { }
public Action(ShowItem showItem) { ShowItem = showItem; completeTimer = new Timer(100); completeTimer.Elapsed += CompleteTimer_Elapsed; }
public void PopulateItemList(ShowItem selectedItem) { listViewShowItems.Items.Clear(); ShowData.Items.Sort((item1, item2) => item1.ItemOrder.CompareTo(item2.ItemOrder)); foreach (ShowItem item in ShowData.Items) { if (item.ItemType == currentShowItemType) { AddItemToList(item); } } }
public SequenceAction(ShowItem showItem) : base(showItem) { }
public PauseTypeEditor(ShowItem showItem) { InitializeComponent(); _showItem = showItem; }
public PauseAction(ShowItem showItem) : base(showItem) { _timer = new Timer(showItem.Pause_Seconds * 1000); }