void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MW = ((Tischreservierung_Customer.MainWindow)(target)); return; case 2: this.ContentC = ((System.Windows.Controls.ContentControl)(target)); return; } this._contentLoaded = true; }
public Ansicht2(MainWindow parent) { this.parent = parent; InitializeComponent(); }