Пример #1
0
 public DialogWindow(MainWindow mw)
 {
     InitializeComponent();
     InfoDialog id = new InfoDialog();
     id.okButton.Click += OkButton_Click;
     Title = "Connection Error";
     SizeToContent = SizeToContent.WidthAndHeight;
     WindowStyle = WindowStyle.None;
     WindowStartupLocation = WindowStartupLocation.CenterScreen;
     ResizeMode = ResizeMode.NoResize;
     Content = id;
     mw_copy = mw;
 }
Пример #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.load = ((Hardver_Softver_Sarajevo.MainWindow)(target));
     
     #line 9 "..\..\MainWindow.xaml"
     this.load.Closing += new System.ComponentModel.CancelEventHandler(this.load_Closing);
     
     #line default
     #line hidden
     
     #line 9 "..\..\MainWindow.xaml"
     this.load.KeyDown += new System.Windows.Input.KeyEventHandler(this.load_KeyDown);
     
     #line default
     #line hidden
     return;
     case 2:
     this.colorDisplay = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.idStack = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 4:
     this.timeStack = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 5:
     this.colorStack = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 6:
     this.tagStack = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 7:
     this.buggyTimelineScroll = ((System.Windows.Controls.ScrollViewer)(target));
     
     #line 53 "..\..\MainWindow.xaml"
     this.buggyTimelineScroll.ScrollChanged += new System.Windows.Controls.ScrollChangedEventHandler(this.buggyTimelineScroll_ScrollChanged);
     
     #line default
     #line hidden
     return;
     case 8:
     this.timelineStack = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 9:
     this.ChartContainer = ((System.Windows.Controls.Grid)(target));
     return;
     case 10:
     this.successfulColorScanChart = ((System.Windows.Controls.Grid)(target));
     return;
     case 11:
     this.successfulRfidScanChart = ((System.Windows.Controls.Grid)(target));
     return;
     }
     this._contentLoaded = true;
 }