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