void Initialize(FeatureLevel featureLevel) { Title = "About " + TwAssembly.CompanyAndTitle(); ImageIcon.Source = TwGui.GetIcon32(); LabelTitle.Text = TwAssembly.CompanyAndTitle(); LabelVersion.Text = TwAssembly.CompleteVersion() + " " + featureLevel.Text; LabelCopyright.Text = TwAssembly.Copyright(); var hyperlink = new Hyperlink(); hyperlink.NavigateUri = new System.Uri(TwEnvironment.WebSite); hyperlink.RequestNavigate += new RequestNavigateEventHandler(HyperlinkAbout_RequestNavigate); hyperlink.Inlines.Add(TwEnvironment.WebSite); LabelHyperlink.Inlines.Add(hyperlink); }
void InitializeVersionDisplay() { LabelVersion.Content = (MenuBarNag != null ? MenuBarNag + " | " : "") + "Ver " + TwAssembly.CompleteVersion() + " " + featureLevel.Text; LabelVersion.ToolTip = "Trace Wizard version: " + TwAssembly.CompleteVersion() + "\r\n" + "Feature level: " + featureLevel.Text; }