void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.win5 = ((Агрегатор.WinТел)(target)); return; } this._contentLoaded = true; }
private void mi5_Click(object sender, RoutedEventArgs e) // меню "Телефоны" { WinТел win = new WinТел(); win.Show(); }