26 lines
540 B
C#
26 lines
540 B
C#
using EasyTabs;
|
|
|
|
namespace WebBrowser
|
|
{
|
|
public partial class AppContainer : TitleBarTabs
|
|
{
|
|
public AppContainer()
|
|
{
|
|
InitializeComponent();
|
|
AeroPeekEnabled = true;
|
|
TabRenderer = new ChromeTabRenderer(this);
|
|
|
|
}
|
|
|
|
public override TitleBarTab CreateTab()
|
|
{
|
|
return new TitleBarTab(this)
|
|
{
|
|
Content = new frmBrowser
|
|
{
|
|
Text = "New tab"
|
|
}
|
|
};
|
|
}
|
|
}
|
|
}
|