Exemplo n.º 1
0
        private void menuSettings_Click(object sender, RoutedEventArgs e)
        {
            const string tabId = "Reclaimer::Settings";

            if (Substrate.ShowTabById(tabId))
            {
                return;
            }

            var settings = new Controls.SettingViewer();

            settings.TabModel.ContentId = tabId;
            Substrate.AddTool(settings.TabModel, this, Dock.Right, new GridLength(350));
        }