public videoInfoF1(MainForm parentForm, string videoID) { parent = parentForm; InitializeComponent(); this.Owner = parent; this.fillVideoInfo(videoID); }
/// <exception cref="Exception">A top-level window cannot have an owner. </exception> public VideoInfoF1(MainForm parentForm, string videoId) { _parent = parentForm; InitializeComponent(); Owner = _parent; FillVideoInfo(videoId); }
public MediaBrowserF1(MainForm parentForm) { parent = parentForm; InitializeComponent(); this.PopulateDirectoryBrowser(); this.Owner = parent; cbShareType.SelectedIndex = 0; }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); var mainForm = new MainForm(); if (mainForm != null && !mainForm.IsDisposed) Application.Run(mainForm); }
/// <exception cref="InvalidEnumArgumentException"> /// The assigned value is not one of the /// <see cref="T:System.Windows.Forms.ComboBoxStyle" /> values. /// </exception> public ConfigurationF1(MainForm parentForm) { _parent = parentForm; _parent.ConfigFormOpened = true; InitializeComponent(); LoadConfiguration(); _parent.Language.SetLanguage(Settings.Default.Language); SetLanguageStrings(); cbLanguage.DropDownStyle = ComboBoxStyle.DropDownList; cbConnectionTimeout.DropDownStyle = ComboBoxStyle.DropDownList; }
public NavigatorF1(MainForm parentForm) { parent = parentForm; InitializeComponent(); if (parent.XBMC.Status.IsConnected()) { parent.XBMC.Status.Refresh(); } Settings.Default.NavigatorOpened = true; Settings.Default.Save(); this.Owner = parent; }
/// <exception cref="Exception">A top-level window cannot have an owner. </exception> public MediaBrowserF1(MainForm parentForm) { _parent = parentForm; InitializeComponent(); PopulateDirectoryBrowser(); Owner = _parent; try { cbShareType.SelectedIndex = 0; } // ReSharper disable once UnusedVariable catch (ArgumentOutOfRangeException argumentOutOfRangeException) { // } }
/// <exception cref="Exception">A top-level window cannot have an owner. </exception> /// <exception cref="SystemException">There is insufficient space available to add the new item to the list. </exception> public PlaylistF1(MainForm parentForm) { _parent = parentForm; InitializeComponent(); if (_parent.Xbmc.Status.IsConnected()) { _parent.Xbmc.Status.Refresh(); PopulatePlaylist(); UpdatePlaylistSelection(); timerUpdateSelection.Enabled = true; } Settings.Default.playlistOpened = true; Settings.Default.Save(); Owner = _parent; }
public NavigatorF1(MainForm parentForm) { _parent = parentForm; InitializeComponent(); if (_parent.Xbmc.Status.IsConnected()) _parent.Xbmc.Status.Refresh(); Settings.Default.NavigatorOpened = true; Settings.Default.Save(); try { Owner = _parent; } // ReSharper disable once CatchAllClause catch { // ignored } }
public VolumeControlF1(MainForm parentForm) { parent = parentForm; InitializeComponent(); Initialize(); }
public SendMediaUrl(MainForm parentForm) { parent = parentForm; InitializeComponent(); }