mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-03 23:12:42 +00:00
28 lines
608 B
C#
28 lines
608 B
C#
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Windows;
|
|
|
|
namespace CefSharp.Wpf.Example
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for TestWindow.xaml
|
|
/// </summary>
|
|
public partial class StandardTabControlWindow : Window
|
|
{
|
|
public List<ChromiumWebBrowser> Tabs { get; }
|
|
|
|
public StandardTabControlWindow()
|
|
{
|
|
InitializeComponent();
|
|
|
|
Tabs = Enumerable.Range(1, 10).Select(x => new ChromiumWebBrowser
|
|
{
|
|
Address = "google.com"
|
|
}).ToList();
|
|
|
|
DataContext = this;
|
|
|
|
}
|
|
}
|
|
}
|