Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PrincipalScreen1 = ((sistemaCorporativo.FORMS.principalScreen.PrincipalScreen)(target));

            #line 12 "..\..\..\FORMS\PrincipalScreen.xaml"
                this.PrincipalScreen1.Loaded += new System.Windows.RoutedEventHandler(this.PrincipalScreen1_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.btnPerfil = ((System.Windows.Controls.Button)(target));

            #line 103 "..\..\..\FORMS\PrincipalScreen.xaml"
                this.btnPerfil.Click += new System.Windows.RoutedEventHandler(this.btnPerfil_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.grdPrincipal = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.grdPrincipal1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:

            #line 162 "..\..\..\FORMS\PrincipalScreen.xaml"
                ((MahApps.Metro.Controls.Tile)(target)).Click += new System.Windows.RoutedEventHandler(this.Tile_Click_2);

            #line default
            #line hidden
                return;

            case 6:

            #line 168 "..\..\..\FORMS\PrincipalScreen.xaml"
                ((MahApps.Metro.Controls.Tile)(target)).Click += new System.Windows.RoutedEventHandler(this.Tile_Click_3);

            #line default
            #line hidden
                return;

            case 7:

            #line 174 "..\..\..\FORMS\PrincipalScreen.xaml"
                ((MahApps.Metro.Controls.Tile)(target)).Click += new System.Windows.RoutedEventHandler(this.Tile_Click_4);

            #line default
            #line hidden
                return;

            case 8:

            #line 180 "..\..\..\FORMS\PrincipalScreen.xaml"
                ((MahApps.Metro.Controls.Tile)(target)).Click += new System.Windows.RoutedEventHandler(this.Tile_Click_1);

            #line default
            #line hidden
                return;

            case 9:

            #line 186 "..\..\..\FORMS\PrincipalScreen.xaml"
                ((MahApps.Metro.Controls.Tile)(target)).Click += new System.Windows.RoutedEventHandler(this.Tile_Click);

            #line default
            #line hidden
                return;

            case 10:

            #line 204 "..\..\..\FORMS\PrincipalScreen.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DenunciaMenuItem_Click);

            #line default
            #line hidden
                return;

            case 11:

            #line 205 "..\..\..\FORMS\PrincipalScreen.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DenunciaAnonMenuItem_Click);

            #line default
            #line hidden
                return;

            case 12:

            #line 206 "..\..\..\FORMS\PrincipalScreen.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OcorrenciaMenuItem_Click);

            #line default
            #line hidden
                return;

            case 13:

            #line 208 "..\..\..\FORMS\PrincipalScreen.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

            case 14:

            #line 209 "..\..\..\FORMS\PrincipalScreen.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AgenteMenuItem_Click);

            #line default
            #line hidden
                return;

            case 15:

            #line 210 "..\..\..\FORMS\PrincipalScreen.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ViaturaMenuItem_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.FlyoutPrincipal = ((MahApps.Metro.Controls.FlyoutsControl)(target));
                return;

            case 17:
                this.flyoutAgente = ((MahApps.Metro.Controls.Flyout)(target));
                return;

            case 18:
                this.btnFzrLogoff = ((System.Windows.Controls.Button)(target));

            #line 233 "..\..\..\FORMS\PrincipalScreen.xaml"
                this.btnFzrLogoff.Click += new System.Windows.RoutedEventHandler(this.btnFzrLogoff_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.tgsTema = ((MahApps.Metro.Controls.ToggleSwitch)(target));

            #line 234 "..\..\..\FORMS\PrincipalScreen.xaml"
                this.tgsTema.Checked += new System.EventHandler <System.Windows.RoutedEventArgs>(this.tgsTema_Checked);

            #line default
            #line hidden

            #line 234 "..\..\..\FORMS\PrincipalScreen.xaml"
                this.tgsTema.IsCheckedChanged += new System.EventHandler(this.tgsTema_IsCheckedChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PrincipalScreen1 = ((sistemaCorporativo.FORMS.principalScreen.PrincipalScreen)(target));

            #line 13 "..\..\..\..\FORMS\PrincipalScreen.xaml"
                this.PrincipalScreen1.Loaded += new System.Windows.RoutedEventHandler(this.PrincipalScreen1_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.btnPerfil = ((System.Windows.Controls.Button)(target));

            #line 119 "..\..\..\..\FORMS\PrincipalScreen.xaml"
                this.btnPerfil.Click += new System.Windows.RoutedEventHandler(this.btnPerfil_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.grdPrincipal = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.grdDockbar = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.txbDatabase = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.txbDataHora = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.grdPrincipal1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 8:
                this.tileInvestigacao = ((MahApps.Metro.Controls.Tile)(target));

            #line 185 "..\..\..\..\FORMS\PrincipalScreen.xaml"
                this.tileInvestigacao.Click += new System.Windows.RoutedEventHandler(this.TileInvestigacao_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.tileDenuncia = ((MahApps.Metro.Controls.Tile)(target));

            #line 191 "..\..\..\..\FORMS\PrincipalScreen.xaml"
                this.tileDenuncia.Click += new System.Windows.RoutedEventHandler(this.TileDenuncia_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.tileCadUnidade = ((MahApps.Metro.Controls.Tile)(target));

            #line 198 "..\..\..\..\FORMS\PrincipalScreen.xaml"
                this.tileCadUnidade.Click += new System.Windows.RoutedEventHandler(this.tileCadUnidade_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.tileViatura = ((MahApps.Metro.Controls.Tile)(target));

            #line 205 "..\..\..\..\FORMS\PrincipalScreen.xaml"
                this.tileViatura.Click += new System.Windows.RoutedEventHandler(this.TileViatura_Click_);

            #line default
            #line hidden
                return;

            case 12:
                this.tileAgente = ((MahApps.Metro.Controls.Tile)(target));

            #line 211 "..\..\..\..\FORMS\PrincipalScreen.xaml"
                this.tileAgente.Click += new System.Windows.RoutedEventHandler(this.TileAgente_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.tileCadAgenAux = ((MahApps.Metro.Controls.Tile)(target));

            #line 223 "..\..\..\..\FORMS\PrincipalScreen.xaml"
                this.tileCadAgenAux.Click += new System.Windows.RoutedEventHandler(this.tileCadAgenAux_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.tilePessoaF = ((MahApps.Metro.Controls.Tile)(target));

            #line 229 "..\..\..\..\FORMS\PrincipalScreen.xaml"
                this.tilePessoaF.Click += new System.Windows.RoutedEventHandler(this.tilePessoaF_Click);

            #line default
            #line hidden
                return;

            case 15:

            #line 240 "..\..\..\..\FORMS\PrincipalScreen.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DenunciaMenuItem_Click);

            #line default
            #line hidden
                return;

            case 16:

            #line 241 "..\..\..\..\FORMS\PrincipalScreen.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OcorrenciaMenuItem_Click);

            #line default
            #line hidden
                return;

            case 17:

            #line 244 "..\..\..\..\FORMS\PrincipalScreen.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AgenteMenuItem_Click);

            #line default
            #line hidden
                return;

            case 18:

            #line 245 "..\..\..\..\FORMS\PrincipalScreen.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ViaturaMenuItem_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.FlyoutPrincipal = ((MahApps.Metro.Controls.FlyoutsControl)(target));
                return;

            case 20:
                this.flyoutAgente = ((MahApps.Metro.Controls.Flyout)(target));

            #line 263 "..\..\..\..\FORMS\PrincipalScreen.xaml"
                this.flyoutAgente.Loaded += new System.Windows.RoutedEventHandler(this.FlyoutAgente_Loaded);

            #line default
            #line hidden
                return;

            case 21:
                this.canvasF = ((System.Windows.Controls.Canvas)(target));
                return;

            case 22:
                this.agenteProfilePicture = ((System.Windows.Controls.Image)(target));
                return;

            case 23:
                this.lblNomeAgente = ((System.Windows.Controls.Label)(target));
                return;

            case 24:
                this.lblNivel = ((System.Windows.Controls.Label)(target));
                return;

            case 25:
                this.imgBrooch = ((System.Windows.Controls.Image)(target));
                return;

            case 26:
                this.lblCargo = ((System.Windows.Controls.Label)(target));
                return;

            case 27:
                this.lblCasosResolvidos = ((System.Windows.Controls.Label)(target));
                return;

            case 28:
                this.tgsTema = ((MahApps.Metro.Controls.ToggleSwitch)(target));

            #line 278 "..\..\..\..\FORMS\PrincipalScreen.xaml"
                this.tgsTema.Checked += new System.EventHandler <System.Windows.RoutedEventArgs>(this.tgsTema_Checked);

            #line default
            #line hidden

            #line 278 "..\..\..\..\FORMS\PrincipalScreen.xaml"
                this.tgsTema.IsCheckedChanged += new System.EventHandler(this.tgsTema_IsCheckedChanged);

            #line default
            #line hidden
                return;

            case 29:
                this.lblPtsExp = ((System.Windows.Controls.Label)(target));
                return;

            case 30:
                this.btnFzrLogoff = ((System.Windows.Controls.Button)(target));

            #line 283 "..\..\..\..\FORMS\PrincipalScreen.xaml"
                this.btnFzrLogoff.Click += new System.Windows.RoutedEventHandler(this.btnFzrLogoff_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Пример #3
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.PrincipalScreen1 = ((sistemaCorporativo.FORMS.principalScreen.PrincipalScreen)(target));
     
     #line 12 "..\..\..\FORMS\PrincipalScreen.xaml"
     this.PrincipalScreen1.Loaded += new System.Windows.RoutedEventHandler(this.PrincipalScreen1_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.btnPerfil = ((System.Windows.Controls.Button)(target));
     
     #line 103 "..\..\..\FORMS\PrincipalScreen.xaml"
     this.btnPerfil.Click += new System.Windows.RoutedEventHandler(this.btnPerfil_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.grdPrincipal = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.grdPrincipal1 = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     
     #line 159 "..\..\..\FORMS\PrincipalScreen.xaml"
     ((MahApps.Metro.Controls.Tile)(target)).Click += new System.Windows.RoutedEventHandler(this.Tile_Click_2);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 165 "..\..\..\FORMS\PrincipalScreen.xaml"
     ((MahApps.Metro.Controls.Tile)(target)).Click += new System.Windows.RoutedEventHandler(this.Tile_Click_3);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 171 "..\..\..\FORMS\PrincipalScreen.xaml"
     ((MahApps.Metro.Controls.Tile)(target)).Click += new System.Windows.RoutedEventHandler(this.Tile_Click_4);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 177 "..\..\..\FORMS\PrincipalScreen.xaml"
     ((MahApps.Metro.Controls.Tile)(target)).Click += new System.Windows.RoutedEventHandler(this.Tile_Click_1);
     
     #line default
     #line hidden
     return;
     case 9:
     
     #line 183 "..\..\..\FORMS\PrincipalScreen.xaml"
     ((MahApps.Metro.Controls.Tile)(target)).Click += new System.Windows.RoutedEventHandler(this.Tile_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     
     #line 201 "..\..\..\FORMS\PrincipalScreen.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DenunciaMenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     
     #line 202 "..\..\..\FORMS\PrincipalScreen.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DenunciaAnonMenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     
     #line 203 "..\..\..\FORMS\PrincipalScreen.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OcorrenciaMenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     
     #line 205 "..\..\..\FORMS\PrincipalScreen.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     
     #line 206 "..\..\..\FORMS\PrincipalScreen.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AgenteMenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     
     #line 207 "..\..\..\FORMS\PrincipalScreen.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ViaturaMenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.flyoutAgente = ((MahApps.Metro.Controls.Flyout)(target));
     
     #line 218 "..\..\..\FORMS\PrincipalScreen.xaml"
     this.flyoutAgente.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.flyoutAgente_PreviewMouseDown);
     
     #line default
     #line hidden
     return;
     case 17:
     this.btnFzrLogoff = ((System.Windows.Controls.Button)(target));
     
     #line 223 "..\..\..\FORMS\PrincipalScreen.xaml"
     this.btnFzrLogoff.Click += new System.Windows.RoutedEventHandler(this.btnFzrLogoff_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.tgsTema = ((MahApps.Metro.Controls.ToggleSwitch)(target));
     
     #line 224 "..\..\..\FORMS\PrincipalScreen.xaml"
     this.tgsTema.Checked += new System.EventHandler<System.Windows.RoutedEventArgs>(this.tgsTema_Checked);
     
     #line default
     #line hidden
     
     #line 224 "..\..\..\FORMS\PrincipalScreen.xaml"
     this.tgsTema.IsCheckedChanged += new System.EventHandler(this.tgsTema_IsCheckedChanged);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Пример #4
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.PrincipalScreen1 = ((sistemaCorporativo.FORMS.principalScreen.PrincipalScreen)(target));
     
     #line 12 "..\..\..\FORMS\PrincipalScreen.xaml"
     this.PrincipalScreen1.Loaded += new System.Windows.RoutedEventHandler(this.PrincipalScreen1_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.btnPerfil = ((System.Windows.Controls.Button)(target));
     
     #line 103 "..\..\..\FORMS\PrincipalScreen.xaml"
     this.btnPerfil.Click += new System.Windows.RoutedEventHandler(this.btnPerfil_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.grdPrincipal = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.grdPrincipal1 = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     
     #line 162 "..\..\..\FORMS\PrincipalScreen.xaml"
     ((MahApps.Metro.Controls.Tile)(target)).Click += new System.Windows.RoutedEventHandler(this.Tile_Click_2);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 168 "..\..\..\FORMS\PrincipalScreen.xaml"
     ((MahApps.Metro.Controls.Tile)(target)).Click += new System.Windows.RoutedEventHandler(this.Tile_Click_3);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 174 "..\..\..\FORMS\PrincipalScreen.xaml"
     ((MahApps.Metro.Controls.Tile)(target)).Click += new System.Windows.RoutedEventHandler(this.Tile_Click_4);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 180 "..\..\..\FORMS\PrincipalScreen.xaml"
     ((MahApps.Metro.Controls.Tile)(target)).Click += new System.Windows.RoutedEventHandler(this.Tile_Click_1);
     
     #line default
     #line hidden
     return;
     case 9:
     
     #line 186 "..\..\..\FORMS\PrincipalScreen.xaml"
     ((MahApps.Metro.Controls.Tile)(target)).Click += new System.Windows.RoutedEventHandler(this.Tile_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     
     #line 204 "..\..\..\FORMS\PrincipalScreen.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DenunciaMenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     
     #line 205 "..\..\..\FORMS\PrincipalScreen.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DenunciaAnonMenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     
     #line 206 "..\..\..\FORMS\PrincipalScreen.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OcorrenciaMenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     
     #line 208 "..\..\..\FORMS\PrincipalScreen.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     
     #line 209 "..\..\..\FORMS\PrincipalScreen.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AgenteMenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     
     #line 210 "..\..\..\FORMS\PrincipalScreen.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ViaturaMenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.FlyoutPrincipal = ((MahApps.Metro.Controls.FlyoutsControl)(target));
     return;
     case 17:
     this.flyoutAgente = ((MahApps.Metro.Controls.Flyout)(target));
     
     #line 228 "..\..\..\FORMS\PrincipalScreen.xaml"
     this.flyoutAgente.Loaded += new System.Windows.RoutedEventHandler(this.FlyoutAgente_Loaded);
     
     #line default
     #line hidden
     return;
     case 18:
     this.lblNomeAgente = ((System.Windows.Controls.Label)(target));
     return;
     case 19:
     this.lblNivel = ((System.Windows.Controls.Label)(target));
     return;
     case 20:
     this.lblCargo = ((System.Windows.Controls.Label)(target));
     return;
     case 21:
     this.lblCasosResolvidos = ((System.Windows.Controls.Label)(target));
     return;
     case 22:
     this.tgsTema = ((MahApps.Metro.Controls.ToggleSwitch)(target));
     
     #line 238 "..\..\..\FORMS\PrincipalScreen.xaml"
     this.tgsTema.Checked += new System.EventHandler<System.Windows.RoutedEventArgs>(this.tgsTema_Checked);
     
     #line default
     #line hidden
     
     #line 238 "..\..\..\FORMS\PrincipalScreen.xaml"
     this.tgsTema.IsCheckedChanged += new System.EventHandler(this.tgsTema_IsCheckedChanged);
     
     #line default
     #line hidden
     return;
     case 23:
     this.btnFzrLogoff = ((System.Windows.Controls.Button)(target));
     
     #line 239 "..\..\..\FORMS\PrincipalScreen.xaml"
     this.btnFzrLogoff.Click += new System.Windows.RoutedEventHandler(this.btnFzrLogoff_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }