void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UIWindow = ((Camera_Final.MainWindow)(target));
     
     #line 4 "..\..\MainWindow.xaml"
     this.UIWindow.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 4 "..\..\MainWindow.xaml"
     this.UIWindow.Closing += new System.ComponentModel.CancelEventHandler(this.UIWindow_Closing);
     
     #line default
     #line hidden
     
     #line 4 "..\..\MainWindow.xaml"
     this.UIWindow.KeyDown += new System.Windows.Input.KeyEventHandler(this.UIWindow_KeyDown);
     
     #line default
     #line hidden
     return;
     case 2:
     this.UIRoot = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.UIContent = ((System.Windows.Controls.Canvas)(target));
     return;
     case 4:
     this.UICCTV = ((System.Windows.Controls.Canvas)(target));
     return;
     case 5:
     this.UICCTVContent = ((System.Windows.Controls.Canvas)(target));
     return;
     case 6:
     this.UIBarContent = ((System.Windows.Controls.Canvas)(target));
     return;
     case 7:
     
     #line 12 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.TextBlock)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.UIMenuClick);
     
     #line default
     #line hidden
     return;
     case 8:
     this.UIRecordBtn = ((System.Windows.Controls.TextBlock)(target));
     
     #line 13 "..\..\MainWindow.xaml"
     this.UIRecordBtn.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.RecordFile);
     
     #line default
     #line hidden
     return;
     case 9:
     this.UIMap = ((System.Windows.Controls.Canvas)(target));
     return;
     case 10:
     this.UIMapImage = ((System.Windows.Controls.Image)(target));
     return;
     case 11:
     this.UIMapContent = ((System.Windows.Controls.Canvas)(target));
     return;
     case 12:
     this.UILock = ((System.Windows.Controls.Button)(target));
     
     #line 26 "..\..\MainWindow.xaml"
     this.UILock.Click += new System.Windows.RoutedEventHandler(this.LockAllAlarm);
     
     #line default
     #line hidden
     return;
     case 13:
     this.UIUnLock = ((System.Windows.Controls.Button)(target));
     
     #line 34 "..\..\MainWindow.xaml"
     this.UIUnLock.Click += new System.Windows.RoutedEventHandler(this.UnLockAllAlarm);
     
     #line default
     #line hidden
     return;
     case 14:
     this.UIRound = ((System.Windows.Controls.Button)(target));
     
     #line 41 "..\..\MainWindow.xaml"
     this.UIRound.Click += new System.Windows.RoutedEventHandler(this.UnRepeatCamera);
     
     #line default
     #line hidden
     return;
     case 15:
     this.Avartar = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 16:
     this.UIName = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 17:
     this.UIMapBtn = ((System.Windows.Controls.StackPanel)(target));
     
     #line 66 "..\..\MainWindow.xaml"
     this.UIMapBtn.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
     
     #line default
     #line hidden
     
     #line 66 "..\..\MainWindow.xaml"
     this.UIMapBtn.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
     
     #line default
     #line hidden
     
     #line 66 "..\..\MainWindow.xaml"
     this.UIMapBtn.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.ViewMap);
     
     #line default
     #line hidden
     return;
     case 18:
     
     #line 70 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.StackPanel)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
     
     #line default
     #line hidden
     
     #line 70 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.StackPanel)(target)).MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
     
     #line default
     #line hidden
     
     #line 70 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.StackPanel)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.ViewCCTV);
     
     #line default
     #line hidden
     return;
     case 19:
     this.UIAddCameraBtn = ((System.Windows.Controls.StackPanel)(target));
     
     #line 74 "..\..\MainWindow.xaml"
     this.UIAddCameraBtn.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
     
     #line default
     #line hidden
     
     #line 74 "..\..\MainWindow.xaml"
     this.UIAddCameraBtn.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
     
     #line default
     #line hidden
     
     #line 74 "..\..\MainWindow.xaml"
     this.UIAddCameraBtn.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.AddCamera);
     
     #line default
     #line hidden
     return;
     case 20:
     this.UIAlarmBtn = ((System.Windows.Controls.StackPanel)(target));
     
     #line 78 "..\..\MainWindow.xaml"
     this.UIAlarmBtn.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
     
     #line default
     #line hidden
     
     #line 78 "..\..\MainWindow.xaml"
     this.UIAlarmBtn.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
     
     #line default
     #line hidden
     
     #line 78 "..\..\MainWindow.xaml"
     this.UIAlarmBtn.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.AddAlarm);
     
     #line default
     #line hidden
     return;
     case 21:
     
     #line 82 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.StackPanel)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
     
     #line default
     #line hidden
     
     #line 82 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.StackPanel)(target)).MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
     
     #line default
     #line hidden
     
     #line 82 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.StackPanel)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Logout);
     
     #line default
     #line hidden
     return;
     case 22:
     this.UIInfoBtn = ((System.Windows.Controls.StackPanel)(target));
     
     #line 86 "..\..\MainWindow.xaml"
     this.UIInfoBtn.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);
     
     #line default
     #line hidden
     
     #line 86 "..\..\MainWindow.xaml"
     this.UIInfoBtn.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);
     
     #line default
     #line hidden
     
     #line 86 "..\..\MainWindow.xaml"
     this.UIInfoBtn.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.UserInfo);
     
     #line default
     #line hidden
     return;
     case 23:
     this.UIMenuBtn = ((System.Windows.Controls.TextBlock)(target));
     
     #line 92 "..\..\MainWindow.xaml"
     this.UIMenuBtn.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.UIMenuClick);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UIWindow = ((Camera_Final.MainWindow)(target));

            #line 4 "..\..\MainWindow.xaml"
                this.UIWindow.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 4 "..\..\MainWindow.xaml"
                this.UIWindow.Closing += new System.ComponentModel.CancelEventHandler(this.UIWindow_Closing);

            #line default
            #line hidden

            #line 4 "..\..\MainWindow.xaml"
                this.UIWindow.KeyDown += new System.Windows.Input.KeyEventHandler(this.UIWindow_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.UIRoot = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:
                this.UIContent = ((System.Windows.Controls.Canvas)(target));
                return;

            case 4:
                this.UICCTV = ((System.Windows.Controls.Canvas)(target));
                return;

            case 5:
                this.UICCTVContent = ((System.Windows.Controls.Canvas)(target));
                return;

            case 6:
                this.UIBarContent = ((System.Windows.Controls.Canvas)(target));
                return;

            case 7:

            #line 12 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.TextBlock)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.UIMenuClick);

            #line default
            #line hidden
                return;

            case 8:
                this.UIRecordBtn = ((System.Windows.Controls.TextBlock)(target));

            #line 13 "..\..\MainWindow.xaml"
                this.UIRecordBtn.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.RecordFile);

            #line default
            #line hidden
                return;

            case 9:
                this.UIMap = ((System.Windows.Controls.Canvas)(target));
                return;

            case 10:
                this.UIMapImage = ((System.Windows.Controls.Image)(target));
                return;

            case 11:
                this.UIMapContent = ((System.Windows.Controls.Canvas)(target));
                return;

            case 12:
                this.UILock = ((System.Windows.Controls.Button)(target));

            #line 26 "..\..\MainWindow.xaml"
                this.UILock.Click += new System.Windows.RoutedEventHandler(this.LockAllAlarm);

            #line default
            #line hidden
                return;

            case 13:
                this.UIUnLock = ((System.Windows.Controls.Button)(target));

            #line 34 "..\..\MainWindow.xaml"
                this.UIUnLock.Click += new System.Windows.RoutedEventHandler(this.UnLockAllAlarm);

            #line default
            #line hidden
                return;

            case 14:
                this.UIRound = ((System.Windows.Controls.Button)(target));

            #line 41 "..\..\MainWindow.xaml"
                this.UIRound.Click += new System.Windows.RoutedEventHandler(this.UnRepeatCamera);

            #line default
            #line hidden
                return;

            case 15:
                this.Avartar = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.UIName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 17:
                this.UIMapBtn = ((System.Windows.Controls.StackPanel)(target));

            #line 66 "..\..\MainWindow.xaml"
                this.UIMapBtn.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);

            #line default
            #line hidden

            #line 66 "..\..\MainWindow.xaml"
                this.UIMapBtn.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);

            #line default
            #line hidden

            #line 66 "..\..\MainWindow.xaml"
                this.UIMapBtn.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.ViewMap);

            #line default
            #line hidden
                return;

            case 18:

            #line 70 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.StackPanel)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);

            #line default
            #line hidden

            #line 70 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.StackPanel)(target)).MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);

            #line default
            #line hidden

            #line 70 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.StackPanel)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.ViewCCTV);

            #line default
            #line hidden
                return;

            case 19:
                this.UIAddCameraBtn = ((System.Windows.Controls.StackPanel)(target));

            #line 74 "..\..\MainWindow.xaml"
                this.UIAddCameraBtn.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);

            #line default
            #line hidden

            #line 74 "..\..\MainWindow.xaml"
                this.UIAddCameraBtn.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);

            #line default
            #line hidden

            #line 74 "..\..\MainWindow.xaml"
                this.UIAddCameraBtn.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.AddCamera);

            #line default
            #line hidden
                return;

            case 20:
                this.UIAlarmBtn = ((System.Windows.Controls.StackPanel)(target));

            #line 78 "..\..\MainWindow.xaml"
                this.UIAlarmBtn.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);

            #line default
            #line hidden

            #line 78 "..\..\MainWindow.xaml"
                this.UIAlarmBtn.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);

            #line default
            #line hidden

            #line 78 "..\..\MainWindow.xaml"
                this.UIAlarmBtn.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.AddAlarm);

            #line default
            #line hidden
                return;

            case 21:

            #line 82 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.StackPanel)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);

            #line default
            #line hidden

            #line 82 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.StackPanel)(target)).MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);

            #line default
            #line hidden

            #line 82 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.StackPanel)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Logout);

            #line default
            #line hidden
                return;

            case 22:
                this.UIInfoBtn = ((System.Windows.Controls.StackPanel)(target));

            #line 86 "..\..\MainWindow.xaml"
                this.UIInfoBtn.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);

            #line default
            #line hidden

            #line 86 "..\..\MainWindow.xaml"
                this.UIInfoBtn.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);

            #line default
            #line hidden

            #line 86 "..\..\MainWindow.xaml"
                this.UIInfoBtn.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.UserInfo);

            #line default
            #line hidden
                return;

            case 23:
                this.UIMenuBtn = ((System.Windows.Controls.TextBlock)(target));

            #line 92 "..\..\MainWindow.xaml"
                this.UIMenuBtn.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.UIMenuClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }