Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\MainWindow.xaml"
                ((SydneyOverlay.MainWindow)(target)).Drop += new System.Windows.DragEventHandler(this.Image_Drop);

            #line default
            #line hidden

            #line 10 "..\..\MainWindow.xaml"
                ((SydneyOverlay.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden
                return;

            case 2:
                this.btnOpen = ((System.Windows.Controls.MenuItem)(target));

            #line 15 "..\..\MainWindow.xaml"
                this.btnOpen.Click += new System.Windows.RoutedEventHandler(this.btnOpen_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.btnOverNew = ((System.Windows.Controls.MenuItem)(target));

            #line 21 "..\..\MainWindow.xaml"
                this.btnOverNew.Click += new System.Windows.RoutedEventHandler(this.btnOverNew_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.btnOverEdit = ((System.Windows.Controls.MenuItem)(target));

            #line 23 "..\..\MainWindow.xaml"
                this.btnOverEdit.Click += new System.Windows.RoutedEventHandler(this.btnOverEdit_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.btnOverDeleteCurrent = ((System.Windows.Controls.MenuItem)(target));

            #line 25 "..\..\MainWindow.xaml"
                this.btnOverDeleteCurrent.Click += new System.Windows.RoutedEventHandler(this.btnOverDeleteCurrent_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.btnOptionsVoiceEnabled = ((System.Windows.Controls.MenuItem)(target));

            #line 29 "..\..\MainWindow.xaml"
                this.btnOptionsVoiceEnabled.Click += new System.Windows.RoutedEventHandler(this.btnOptionsVoiceEnabled_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.btnMediaExpressEnabled = ((System.Windows.Controls.MenuItem)(target));

            #line 32 "..\..\MainWindow.xaml"
                this.btnMediaExpressEnabled.Click += new System.Windows.RoutedEventHandler(this.btnMediaExpressEnabled_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.btmLoadASAMReport = ((System.Windows.Controls.MenuItem)(target));

            #line 38 "..\..\MainWindow.xaml"
                this.btmLoadASAMReport.Click += new System.Windows.RoutedEventHandler(this.btmLoadASAMReport_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.btnCreateASAMReport = ((System.Windows.Controls.MenuItem)(target));

            #line 40 "..\..\MainWindow.xaml"
                this.btnCreateASAMReport.Click += new System.Windows.RoutedEventHandler(this.btnCreateASAMReport_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.OverlayComboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 53 "..\..\MainWindow.xaml"
                this.OverlayComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.OverlayComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.IDText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.DateText = ((System.Windows.Controls.TextBox)(target));

            #line 64 "..\..\MainWindow.xaml"
                this.DateText.Loaded += new System.Windows.RoutedEventHandler(this.DateText_Loaded);

            #line default
            #line hidden
                return;

            case 13:
                this.RectArea = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 14:
                this.AreasComboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 77 "..\..\MainWindow.xaml"
                this.AreasComboBox.Loaded += new System.Windows.RoutedEventHandler(this.ComboBox_Areas_Loaded);

            #line default
            #line hidden

            #line 78 "..\..\MainWindow.xaml"
                this.AreasComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_Areas_SelectionChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.RectIssue = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 16:
                this.CriteriasComboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 92 "..\..\MainWindow.xaml"
                this.CriteriasComboBox.Loaded += new System.Windows.RoutedEventHandler(this.ComboBox_Criterias_Loaded);

            #line default
            #line hidden

            #line 93 "..\..\MainWindow.xaml"
                this.CriteriasComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_Criterias_SelectionChanged);

            #line default
            #line hidden
                return;

            case 17:
                this.RectRating = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 18:
                this.RatingComboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 107 "..\..\MainWindow.xaml"
                this.RatingComboBox.Loaded += new System.Windows.RoutedEventHandler(this.RatingComboBox_Loaded);

            #line default
            #line hidden

            #line 108 "..\..\MainWindow.xaml"
                this.RatingComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.RatingComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 19:
                this.RectLocation = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 20:
                this.LocationComboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 122 "..\..\MainWindow.xaml"
                this.LocationComboBox.Loaded += new System.Windows.RoutedEventHandler(this.LocationComboBox_Loaded);

            #line default
            #line hidden

            #line 123 "..\..\MainWindow.xaml"
                this.LocationComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LocationComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 21:
                this.CommentsBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:

            #line 145 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Write_Button_Click);

            #line default
            #line hidden
                return;

            case 23:

            #line 154 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_Button_Click);

            #line default
            #line hidden
                return;

            case 24:

            #line 162 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Discard_Button_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.TextContent = ((CustomXaml.OutlinedText)(target));
                return;

            case 26:
                this.imgPhoto = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 9 "..\..\MainWindow.xaml"
     ((SydneyOverlay.MainWindow)(target)).Drop += new System.Windows.DragEventHandler(this.Image_Drop);
     
     #line default
     #line hidden
     
     #line 10 "..\..\MainWindow.xaml"
     ((SydneyOverlay.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);
     
     #line default
     #line hidden
     return;
     case 2:
     this.btnOpen = ((System.Windows.Controls.MenuItem)(target));
     
     #line 15 "..\..\MainWindow.xaml"
     this.btnOpen.Click += new System.Windows.RoutedEventHandler(this.btnOpen_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.btnOverNew = ((System.Windows.Controls.MenuItem)(target));
     
     #line 21 "..\..\MainWindow.xaml"
     this.btnOverNew.Click += new System.Windows.RoutedEventHandler(this.btnOverNew_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.btnOverEdit = ((System.Windows.Controls.MenuItem)(target));
     
     #line 23 "..\..\MainWindow.xaml"
     this.btnOverEdit.Click += new System.Windows.RoutedEventHandler(this.btnOverEdit_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.btnOverDeleteCurrent = ((System.Windows.Controls.MenuItem)(target));
     
     #line 25 "..\..\MainWindow.xaml"
     this.btnOverDeleteCurrent.Click += new System.Windows.RoutedEventHandler(this.btnOverDeleteCurrent_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.btnOptionsVoiceEnabled = ((System.Windows.Controls.MenuItem)(target));
     
     #line 29 "..\..\MainWindow.xaml"
     this.btnOptionsVoiceEnabled.Click += new System.Windows.RoutedEventHandler(this.btnOptionsVoiceEnabled_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.btnMediaExpressEnabled = ((System.Windows.Controls.MenuItem)(target));
     
     #line 32 "..\..\MainWindow.xaml"
     this.btnMediaExpressEnabled.Click += new System.Windows.RoutedEventHandler(this.btnMediaExpressEnabled_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.btmLoadASAMReport = ((System.Windows.Controls.MenuItem)(target));
     
     #line 38 "..\..\MainWindow.xaml"
     this.btmLoadASAMReport.Click += new System.Windows.RoutedEventHandler(this.btmLoadASAMReport_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.btnCreateASAMReport = ((System.Windows.Controls.MenuItem)(target));
     
     #line 40 "..\..\MainWindow.xaml"
     this.btnCreateASAMReport.Click += new System.Windows.RoutedEventHandler(this.btnCreateASAMReport_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.OverlayComboBox = ((System.Windows.Controls.ComboBox)(target));
     
     #line 53 "..\..\MainWindow.xaml"
     this.OverlayComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.OverlayComboBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 11:
     this.IDText = ((System.Windows.Controls.TextBox)(target));
     return;
     case 12:
     this.DateText = ((System.Windows.Controls.TextBox)(target));
     
     #line 64 "..\..\MainWindow.xaml"
     this.DateText.Loaded += new System.Windows.RoutedEventHandler(this.DateText_Loaded);
     
     #line default
     #line hidden
     return;
     case 13:
     this.RectArea = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 14:
     this.AreasComboBox = ((System.Windows.Controls.ComboBox)(target));
     
     #line 77 "..\..\MainWindow.xaml"
     this.AreasComboBox.Loaded += new System.Windows.RoutedEventHandler(this.ComboBox_Areas_Loaded);
     
     #line default
     #line hidden
     
     #line 78 "..\..\MainWindow.xaml"
     this.AreasComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_Areas_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 15:
     this.RectIssue = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 16:
     this.CriteriasComboBox = ((System.Windows.Controls.ComboBox)(target));
     
     #line 92 "..\..\MainWindow.xaml"
     this.CriteriasComboBox.Loaded += new System.Windows.RoutedEventHandler(this.ComboBox_Criterias_Loaded);
     
     #line default
     #line hidden
     
     #line 93 "..\..\MainWindow.xaml"
     this.CriteriasComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_Criterias_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 17:
     this.RectRating = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 18:
     this.RatingComboBox = ((System.Windows.Controls.ComboBox)(target));
     
     #line 107 "..\..\MainWindow.xaml"
     this.RatingComboBox.Loaded += new System.Windows.RoutedEventHandler(this.RatingComboBox_Loaded);
     
     #line default
     #line hidden
     
     #line 108 "..\..\MainWindow.xaml"
     this.RatingComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.RatingComboBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 19:
     this.RectLocation = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 20:
     this.LocationComboBox = ((System.Windows.Controls.ComboBox)(target));
     
     #line 122 "..\..\MainWindow.xaml"
     this.LocationComboBox.Loaded += new System.Windows.RoutedEventHandler(this.LocationComboBox_Loaded);
     
     #line default
     #line hidden
     
     #line 123 "..\..\MainWindow.xaml"
     this.LocationComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LocationComboBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 21:
     this.CommentsBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 22:
     
     #line 145 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Write_Button_Click);
     
     #line default
     #line hidden
     return;
     case 23:
     
     #line 154 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_Button_Click);
     
     #line default
     #line hidden
     return;
     case 24:
     
     #line 162 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Discard_Button_Click);
     
     #line default
     #line hidden
     return;
     case 25:
     this.TextContent = ((CustomXaml.OutlinedText)(target));
     return;
     case 26:
     this.imgPhoto = ((System.Windows.Controls.Image)(target));
     return;
     }
     this._contentLoaded = true;
 }