Skip to content

Commit

Permalink
MP1-4523 : remove wiki link
Browse files Browse the repository at this point in the history
  • Loading branch information
regeszter committed Jul 23, 2014
1 parent e5017e2 commit b749f3c
Showing 1 changed file with 12 additions and 19 deletions.
31 changes: 12 additions & 19 deletions mediaportal/Configuration/Sections/TVAdvancedOptions.cs
Expand Up @@ -50,8 +50,8 @@ public class TVAdvancedOptions : SectionSettings
private System.Windows.Forms.FolderBrowserDialog folderBrowserDialog;
private MPLabel mpLabelWarning;
private MPLabel mpLabelNote;
private System.Windows.Forms.LinkLabel linkLabelWiki;
public int pluginVersion;
private MPLabel mpLabel2;
private string hostname;


Expand Down Expand Up @@ -81,7 +81,7 @@ private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TVAdvancedOptions));
this.groupBoxSettings = new MediaPortal.UserInterface.Controls.MPGroupBox();
this.linkLabelWiki = new System.Windows.Forms.LinkLabel();
this.mpLabel2 = new MediaPortal.UserInterface.Controls.MPLabel();
this.mpDoNotAllowSlowMotionDuringZappingCheckBox = new MediaPortal.UserInterface.Controls.MPCheckBox();
this.mpUseRtspCheckBox = new MediaPortal.UserInterface.Controls.MPCheckBox();
this.mpWarningLabel = new MediaPortal.UserInterface.Controls.MPLabel();
Expand All @@ -106,7 +106,7 @@ private void InitializeComponent()
//
this.groupBoxSettings.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupBoxSettings.Controls.Add(this.linkLabelWiki);
this.groupBoxSettings.Controls.Add(this.mpLabel2);
this.groupBoxSettings.Controls.Add(this.mpDoNotAllowSlowMotionDuringZappingCheckBox);
this.groupBoxSettings.Controls.Add(this.mpUseRtspCheckBox);
this.groupBoxSettings.Controls.Add(this.mpWarningLabel);
Expand All @@ -118,16 +118,15 @@ private void InitializeComponent()
this.groupBoxSettings.TabStop = false;
this.groupBoxSettings.Text = "Settings";
//
// linkLabelWiki
// mpLabel2
//
this.linkLabelWiki.AutoSize = true;
this.linkLabelWiki.Location = new System.Drawing.Point(6, 52);
this.linkLabelWiki.Name = "linkLabelWiki";
this.linkLabelWiki.Size = new System.Drawing.Size(215, 13);
this.linkLabelWiki.TabIndex = 5;
this.linkLabelWiki.TabStop = true;
this.linkLabelWiki.Text = "Please refer to the Wiki for more information.";
this.linkLabelWiki.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabelWiki_LinkClicked);
this.mpLabel2.AutoSize = true;
this.mpLabel2.ForeColor = System.Drawing.Color.Red;
this.mpLabel2.Location = new System.Drawing.Point(9, 52);
this.mpLabel2.Name = "mpLabel2";
this.mpLabel2.Size = new System.Drawing.Size(232, 13);
this.mpLabel2.TabIndex = 5;
this.mpLabel2.Text = "Click on \'help\' (above right) for more information.";
//
// mpDoNotAllowSlowMotionDuringZappingCheckBox
//
Expand Down Expand Up @@ -161,7 +160,7 @@ private void InitializeComponent()
this.mpWarningLabel.ForeColor = System.Drawing.Color.Red;
this.mpWarningLabel.Location = new System.Drawing.Point(6, 18);
this.mpWarningLabel.Name = "mpWarningLabel";
this.mpWarningLabel.Size = new System.Drawing.Size(460, 34);
this.mpWarningLabel.Size = new System.Drawing.Size(460, 37);
this.mpWarningLabel.TabIndex = 0;
this.mpWarningLabel.Text = "This section provides special advanced option settings. Some of these settings ar" +
"e experimental. Do not alter any of the settings below unless you know what you " +
Expand Down Expand Up @@ -377,11 +376,5 @@ private void buttonTimeshiftingPath_Click(object sender, System.EventArgs e)
folderBrowserDialog.ShowDialog();
textBoxTimeshifting.Text = folderBrowserDialog.SelectedPath;
}

private void linkLabelWiki_LinkClicked(object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e)
{
ProcessStartInfo sInfo = new ProcessStartInfo("http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/0_What's_New/1.9.x/TV%2F%2FRadio_Advanced_Options_added");
Process.Start(sInfo);
}
}
}

0 comments on commit b749f3c

Please sign in to comment.