void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.AboutBellRingers = ((BellRingers.About)(target)); return; case 2: this.version = ((System.Windows.Controls.Label)(target)); return; case 3: this.buildDate = ((System.Windows.Controls.Label)(target)); return; case 4: this.ok = ((System.Windows.Controls.Button)(target)); #line 12 "..\..\About.xaml" this.ok.Click += new System.Windows.RoutedEventHandler(this.ok_Click); #line default #line hidden return; } this._contentLoaded = true; }
private void about_Click(object sender, RoutedEventArgs e) { About aboutWindow = new About(); aboutWindow.ShowDialog(); }