コード例 #1
0
ファイル: LaunchTypeTester.cs プロジェクト: stewmc/vixen
		public LaunchTypeTester(ShowItem showItem)
		{
			InitializeComponent();
			ShowItem = showItem;
			action = new LaunchAction(ShowItem);
			action.ActionComplete += OnActionComplete;
			action.Execute();
		}
コード例 #2
0
ファイル: WebPageTypeEditor.cs プロジェクト: komby/vixen
        public WebPageTypeEditor(ShowItem showItem)
        {
            InitializeComponent();

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

            _showItem = showItem;
        }
コード例 #3
0
ファイル: SequenceTypeEditor.cs プロジェクト: komby/vixen
        public SequenceTypeEditor(ShowItem showItem)
        {
            InitializeComponent();

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

            _showItem = showItem;
        }
コード例 #4
0
ファイル: ShowTypeEditor.cs プロジェクト: Jchuchla/vixen
 public ShowTypeEditor(ShowItem item, Guid currentShowID)
 {
     InitializeComponent();
     _showItem = item;
     _shows = ShowsData.ShowList;
     _currentShowID = currentShowID;
     PopulateShowList();
     checkBoxStopCurrentShow.Checked = _showItem.Show_StopCurrentShow;
 }
コード例 #5
0
ファイル: PauseTypeEditor.cs プロジェクト: sall/vixen
 public PauseTypeEditor(ShowItem showItem)
 {
     InitializeComponent();
     ForeColor = ThemeColorTable.ForeColor;
     BackColor = ThemeColorTable.BackgroundColor;
     ThemeUpdateControls.UpdateControls(this);
     ContolLabel1 = label1;
     ContolNumericUpDownPauseSeconds = numericUpDownPauseSeconds;
     _showItem = showItem;
 }
コード例 #6
0
ファイル: LaunchTypeEditor.cs プロジェクト: komby/vixen
        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;
        }
コード例 #7
0
ファイル: ShowTypeEditor.cs プロジェクト: sall/vixen
 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;
 }
コード例 #8
0
ファイル: WebPageTypeEditor.cs プロジェクト: stewmc/vixen
		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;
		}
コード例 #9
0
ファイル: WebPageTypeEditor.cs プロジェクト: sall/vixen
        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;
        }
コード例 #10
0
ファイル: SequenceTypeEditor.cs プロジェクト: jaredb7/vixen
        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;
        }
コード例 #11
0
ファイル: LaunchTypeEditor.cs プロジェクト: stewmc/vixen
		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;
		}
コード例 #12
0
ファイル: LaunchTypeEditor.cs プロジェクト: Jchuchla/vixen
 public LaunchTypeEditor(ShowItem item)
 {
     InitializeComponent();
     _showItem = item;
 }
コード例 #13
0
ファイル: ShowEditorForm.cs プロジェクト: stewmc/vixen
		public ListViewItem AddItemToList(ShowItem item)
		{
			ListViewItem lvItem = new ListViewItem(item.Name);
			lvItem.Tag = item;
			return listViewShowItems.Items.Add(lvItem);
		}
コード例 #14
0
ファイル: PauseAction.cs プロジェクト: jaredb7/vixen
 public PauseAction(ShowItem showItem)
     : base(showItem)
 {
     _timer = new Timer(showItem.Pause_Seconds*1000);
 }
コード例 #15
0
ファイル: Action.cs プロジェクト: robness/Vixen
 public Action(ShowItem showItem)
 {
     ShowItem = showItem;
     Id       = Guid.NewGuid();
 }
コード例 #16
0
 public SequenceTypeEditor(ShowItem showItem)
 {
     InitializeComponent();
     _showItem = showItem;
 }
コード例 #17
0
 public LaunchTypeEditor(ShowItem item)
 {
     InitializeComponent();
     _showItem = item;
 }
コード例 #18
0
ファイル: Show.cs プロジェクト: stewmc/vixen
		public ShowItem AddItem(ShowItemType itemType, string itemName)
		{
			ShowItem showItem = new ShowItem(itemType, itemName, this.ID);
			Items.Add(showItem);
			return showItem;
		}
コード例 #19
0
ファイル: Show.cs プロジェクト: stewmc/vixen
		public void DeleteItem(ShowItem showItem)
		{
			if (Items.Contains(showItem))
				Items.Remove(showItem);
		}
コード例 #20
0
ファイル: WebPageTypeEditor.cs プロジェクト: Jchuchla/vixen
 public WebPageTypeEditor(ShowItem showItem)
 {
     InitializeComponent();
     _showItem = showItem;
 }
コード例 #21
0
 public LaunchAction(ShowItem showItem)
     : base(showItem)
 {
 }
コード例 #22
0
ファイル: Action.cs プロジェクト: stewmc/vixen
		public Action(ShowItem showItem)
		{
			ShowItem = showItem;
			completeTimer = new Timer(100);
			completeTimer.Elapsed += CompleteTimer_Elapsed;
		}
コード例 #23
0
ファイル: ShowEditorForm.cs プロジェクト: stewmc/vixen
		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);
				}
			}
		}
コード例 #24
0
ファイル: LaunchAction.cs プロジェクト: jeffu231/vixen
 public LaunchAction(ShowItem showItem)
     : base(showItem)
 {
 }
コード例 #25
0
ファイル: SequenceAction.cs プロジェクト: starry-au/vixen
 public SequenceAction(ShowItem showItem)
     : base(showItem)
 {
 }
コード例 #26
0
		public Action(ShowItem showItem)
		{
			ShowItem = showItem;
			completeTimer = new Timer(100);
			completeTimer.Elapsed += CompleteTimer_Elapsed;
		}
コード例 #27
0
 public PauseTypeEditor(ShowItem showItem)
 {
     InitializeComponent();
     _showItem = showItem;
 }
コード例 #28
0
ファイル: PauseAction.cs プロジェクト: robness/Vixen
 public PauseAction(ShowItem showItem)
     : base(showItem)
 {
     _timer = new Timer(showItem.Pause_Seconds * 1000);
 }
コード例 #29
0
ファイル: SequenceAction.cs プロジェクト: sall/vixen
 public SequenceAction(ShowItem showItem)
     : base(showItem)
 {
 }
コード例 #30
0
ファイル: SequenceTypeEditor.cs プロジェクト: Jchuchla/vixen
 public SequenceTypeEditor(ShowItem showItem)
 {
     InitializeComponent();
     _showItem = showItem;
 }