35 lines
754 B
C#
35 lines
754 B
C#
using EasyTabs;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
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"
|
|
}
|
|
};
|
|
}
|
|
}
|
|
}
|