コード例 #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.This = ((Playout.MainWindow)(target));
     
     #line 8 "..\..\..\MainWindow.xaml"
     this.This.Loaded += new System.Windows.RoutedEventHandler(this.This_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.playoutFrame = ((Playout.UI.PlayOutFrame)(target));
     return;
     case 3:
     this.contentFrame = ((Playout.UI.PicFrame)(target));
     return;
     case 4:
     this.loggrid = ((System.Windows.Controls.DataGrid)(target));
     
     #line 356 "..\..\..\MainWindow.xaml"
     this.loggrid.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.grid_MouseDoubleClick);
     
     #line default
     #line hidden
     
     #line 356 "..\..\..\MainWindow.xaml"
     this.loggrid.BeginningEdit += new System.EventHandler<System.Windows.Controls.DataGridBeginningEditEventArgs>(this.grid_BeginningEdit);
     
     #line default
     #line hidden
     
     #line 356 "..\..\..\MainWindow.xaml"
     this.loggrid.DragEnter += new System.Windows.DragEventHandler(this.grid_DragEnter);
     
     #line default
     #line hidden
     return;
     case 5:
     this.errorListBox = ((System.Windows.Controls.ListBox)(target));
     return;
     case 6:
     this.errorStatus = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 7:
     this.error_label = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.error_btn = ((System.Windows.Controls.Button)(target));
     
     #line 499 "..\..\..\MainWindow.xaml"
     this.error_btn.Click += new System.Windows.RoutedEventHandler(this.error_btn_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
コード例 #2
0
 public void assignNewOnAirHandler(PlayOutFrame frame)
 {
     frame.newOnAirStatus += new PlayOutFrame.newOnAirStatusHandler(frame_newOnAirStatus);
     
 }