Beispiel #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((WpfApplication5.MainWindow)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.rectangle = ((System.Windows.Shapes.Rectangle)(target));
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.mainwindow = ((WpfApplication5.MainWindow)(target));
     return;
     case 2:
     
     #line 22 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 23 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_1);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 24 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_2);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 26 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_3);
     
     #line default
     #line hidden
     return;
     case 6:
     this.groupborder = ((System.Windows.Controls.Border)(target));
     return;
     case 7:
     this.grouplist = ((System.Windows.Controls.ListBox)(target));
     
     #line 36 "..\..\MainWindow.xaml"
     this.grouplist.GotFocus += new System.Windows.RoutedEventHandler(this.grouplist_GotFocus);
     
     #line default
     #line hidden
     
     #line 36 "..\..\MainWindow.xaml"
     this.grouplist.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.grouplist_MouseDoubleClick);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 60 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     
     #line 61 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
     
     #line default
     #line hidden
     return;
     case 10:
     this.listbox = ((System.Windows.Controls.ListBox)(target));
     
     #line 71 "..\..\MainWindow.xaml"
     this.listbox.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.listbox_MouseDoubleClick);
     
     #line default
     #line hidden
     
     #line 71 "..\..\MainWindow.xaml"
     this.listbox.GotFocus += new System.Windows.RoutedEventHandler(this.listbox_GotFocus);
     
     #line default
     #line hidden
     return;
     case 11:
     
     #line 95 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);
     
     #line default
     #line hidden
     return;
     case 12:
     
     #line 96 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_3);
     
     #line default
     #line hidden
     return;
     case 13:
     this.studborder = ((System.Windows.Controls.Border)(target));
     return;
     case 14:
     this.studentlist = ((System.Windows.Controls.ListBox)(target));
     return;
     case 15:
     
     #line 132 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_4);
     
     #line default
     #line hidden
     return;
     case 16:
     
     #line 133 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_5);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }