Ejemplo n.º 1
0
		public LaunchTypeTester(ShowItem showItem)
		{
			InitializeComponent();
			ShowItem = showItem;
			action = new LaunchAction(ShowItem);
			action.ActionComplete += OnActionComplete;
			action.Execute();
		}
Ejemplo n.º 2
0
        public WebPageTypeEditor(ShowItem showItem)
        {
            InitializeComponent();

            buttonTest.Image = Tools.GetIcon(Resources.cog_go, 16);
            buttonTest.Text = "";

            _showItem = showItem;
        }
Ejemplo n.º 3
0
        public SequenceTypeEditor(ShowItem showItem)
        {
            InitializeComponent();

            buttonSelectSequence.Image = Tools.GetIcon(Resources.folder_explore, 16);
            buttonSelectSequence.Text = "";

            _showItem = showItem;
        }
Ejemplo n.º 4
0
 public ShowTypeEditor(ShowItem item, Guid currentShowID)
 {
     InitializeComponent();
     _showItem = item;
     _shows = ShowsData.ShowList;
     _currentShowID = currentShowID;
     PopulateShowList();
     checkBoxStopCurrentShow.Checked = _showItem.Show_StopCurrentShow;
 }
Ejemplo n.º 5
0
 public PauseTypeEditor(ShowItem showItem)
 {
     InitializeComponent();
     ForeColor = ThemeColorTable.ForeColor;
     BackColor = ThemeColorTable.BackgroundColor;
     ThemeUpdateControls.UpdateControls(this);
     ContolLabel1 = label1;
     ContolNumericUpDownPauseSeconds = numericUpDownPauseSeconds;
     _showItem = showItem;
 }
Ejemplo n.º 6
0
        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;
        }
Ejemplo n.º 7
0
 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;
 }
Ejemplo n.º 8
0
		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;
		}
Ejemplo n.º 9
0
        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;
        }
Ejemplo n.º 10
0
        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;
        }
Ejemplo n.º 11
0
		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;
		}
Ejemplo n.º 12
0
 public LaunchTypeEditor(ShowItem item)
 {
     InitializeComponent();
     _showItem = item;
 }
Ejemplo n.º 13
0
		public ListViewItem AddItemToList(ShowItem item)
		{
			ListViewItem lvItem = new ListViewItem(item.Name);
			lvItem.Tag = item;
			return listViewShowItems.Items.Add(lvItem);
		}
Ejemplo n.º 14
0
 public PauseAction(ShowItem showItem)
     : base(showItem)
 {
     _timer = new Timer(showItem.Pause_Seconds*1000);
 }
Ejemplo n.º 15
0
 public Action(ShowItem showItem)
 {
     ShowItem = showItem;
     Id       = Guid.NewGuid();
 }
Ejemplo n.º 16
0
 public SequenceTypeEditor(ShowItem showItem)
 {
     InitializeComponent();
     _showItem = showItem;
 }
Ejemplo n.º 17
0
 public LaunchTypeEditor(ShowItem item)
 {
     InitializeComponent();
     _showItem = item;
 }
Ejemplo n.º 18
0
Archivo: Show.cs Proyecto: stewmc/vixen
		public ShowItem AddItem(ShowItemType itemType, string itemName)
		{
			ShowItem showItem = new ShowItem(itemType, itemName, this.ID);
			Items.Add(showItem);
			return showItem;
		}
Ejemplo n.º 19
0
Archivo: Show.cs Proyecto: stewmc/vixen
		public void DeleteItem(ShowItem showItem)
		{
			if (Items.Contains(showItem))
				Items.Remove(showItem);
		}
Ejemplo n.º 20
0
 public WebPageTypeEditor(ShowItem showItem)
 {
     InitializeComponent();
     _showItem = showItem;
 }
Ejemplo n.º 21
0
 public LaunchAction(ShowItem showItem)
     : base(showItem)
 {
 }
Ejemplo n.º 22
0
		public Action(ShowItem showItem)
		{
			ShowItem = showItem;
			completeTimer = new Timer(100);
			completeTimer.Elapsed += CompleteTimer_Elapsed;
		}
Ejemplo n.º 23
0
		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);
				}
			}
		}
Ejemplo n.º 24
0
 public LaunchAction(ShowItem showItem)
     : base(showItem)
 {
 }
Ejemplo n.º 25
0
 public SequenceAction(ShowItem showItem)
     : base(showItem)
 {
 }
Ejemplo n.º 26
0
		public Action(ShowItem showItem)
		{
			ShowItem = showItem;
			completeTimer = new Timer(100);
			completeTimer.Elapsed += CompleteTimer_Elapsed;
		}
Ejemplo n.º 27
0
 public PauseTypeEditor(ShowItem showItem)
 {
     InitializeComponent();
     _showItem = showItem;
 }
Ejemplo n.º 28
0
 public PauseAction(ShowItem showItem)
     : base(showItem)
 {
     _timer = new Timer(showItem.Pause_Seconds * 1000);
 }
Ejemplo n.º 29
0
 public SequenceAction(ShowItem showItem)
     : base(showItem)
 {
 }
Ejemplo n.º 30
0
 public SequenceTypeEditor(ShowItem showItem)
 {
     InitializeComponent();
     _showItem = showItem;
 }