public MainWindow() { InitializeComponent(); TimerTabItem item = new TimerTabItem(); tabControl.Items.Add(item); }
public MainWindow() { InitializeComponent(); TimerTabItem item = new TimerTabItem(); item.Unloaded += ItemOnUnloaded; tabControl.Items.Add(item); }