Cosmos/source2/VSIP/Cosmos.VS.Package/DebugOptionsPropertyPage.cs
DanStory_cp 3c724726fc Incremental check-in.
Added BuildOptionsPropertyPage(.cs) class and file.
Added ConfiguationBase(.cs) class and file.
Added DebugOptionsPropertyPage(.cs) class and file.
Added DebugOptionsQemu(.cs) class and file.
Added required guids of new property pages to Guids(.cs).
Added TitleDivision(.cs) class and file.
2009-05-23 12:21:32 +00:00

42 lines
990 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;
namespace Cosmos.VS.Package
{
[Guid(Guids.DebugOptionsPropertyPage)]
public partial class DebugOptionsPropertyPage : ConfigurationBase
{
public DebugOptionsPropertyPage()
{
InitializeComponent();
//TODO: Remove test call.
this.SetConfiguration(new DebugOptionsQemu());
}
protected void SetConfiguration(Control configuration)
{
this.panelDebugConfig.SuspendLayout();
this.panelDebugConfig.Controls.Clear();
if (configuration != null)
{
this.panelDebugConfig.Controls.Add(configuration);
configuration.Dock = DockStyle.Fill;
this.panelDebugConfig.Visible = true;
}
else
{ this.panelDebugConfig.Visible = false; }
this.panelDebugConfig.ResumeLayout();
}
}
}