void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Reglr = ((Tenno.Regularions)(target)); #line 8 "..\..\Regularions.xaml" this.Reglr.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.Texter = ((System.Windows.Controls.TextBox)(target)); return; } this._contentLoaded = true; }
private void RegButton_Click(object sender, RoutedEventArgs e) { Regularions reg = new Regularions(); reg.Show(); }