private void Main_Load(object sender, EventArgs e)
{
tbIp.Text = Properties.Settings.Default.IpAddress;
switch (Properties.Settings.Default.ClientType)
{
case ClientType.XBMC:
{
checkBoxXBMC.Checked = true;
}
break;
case ClientType.Boxee:
{
checkBoxBoxee.Checked = true;
}
break;
case ClientType.Custom:
{
checkBoxCustom.Checked = true;
}
break;
}
if (Properties.Settings.Default.AutoStartStreamViewer == true)
{
streamViewer = new StreamView();
autostartVisualFeedToolStripMenuItem.Checked = true;
}
}