Example #1
0
 private void btnClk_Click(object sender, RoutedEventArgs e)
 {
     ClkWidnow window = new ClkWidnow();
     this.setDialog();
     window.setDialog = new SetDialogFunc(setDialog);
     window.ShowDialog();
 }
Example #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((StationManager.ClkWidnow)(target));
     
     #line 9 "..\..\ClkWidnow.xaml"
     this.Window.Closed += new System.EventHandler(this.Window_Closed);
     
     #line default
     #line hidden
     
     #line 9 "..\..\ClkWidnow.xaml"
     this.Window.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.lblTitle = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.timeLine = ((StationManager.WpfTimeLine)(target));
     return;
     case 5:
     this.lblTruckNo = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.lblPushTime = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.lblStationName = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.lblType = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.btnPrint = ((System.Windows.Controls.Button)(target));
     
     #line 25 "..\..\ClkWidnow.xaml"
     this.btnPrint.Click += new System.Windows.RoutedEventHandler(this.btnPrint_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.btnClose = ((System.Windows.Controls.Button)(target));
     
     #line 26 "..\..\ClkWidnow.xaml"
     this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }