Esempio n. 1
0
        public TabMonitor(IReadOnlyDictionary <string, string> names)
        {
            this.names = names;

            Application.Current.MainWindow.ContentRendered += ContentRendered;
            TabView.Rename(names);

            void ContentRendered(object s, EventArgs e)
            {
                Application.Current.MainWindow.ContentRendered -= ContentRendered;
                Initialize();
            }
        }
Esempio n. 2
0
 public void ForceRename() => TabView.Rename(names);
Esempio n. 3
0
 public void Rename(IReadOnlyDictionary <string, string> names)
 => TabView.Rename(this.names = names);