void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.enabledSwitch = ((MahApps.Metro.Controls.ToggleSwitch)(target));
                return;

            case 2:
                this.visibleSwitch = ((MahApps.Metro.Controls.ToggleSwitch)(target));
                return;

            case 3:
                this.DownButton = ((MahApps.Metro.Controls.DropDownButton)(target));
                return;

            case 4:
                this.DownButton1 = ((MahApps.Metro.Controls.DropDownButton)(target));
                return;

            case 5:
                this.SplitButton0 = ((MahApps.Metro.Controls.SplitButton)(target));
                return;

            case 6:
                this.SplitButton1 = ((MahApps.Metro.Controls.SplitButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.yearButton = ((MahApps.Metro.Controls.SplitButton)(target));

            #line 19 "..\..\..\Box\Show3.xaml"
                this.yearButton.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.year_SelectionChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.monthButton = ((MahApps.Metro.Controls.SplitButton)(target));

            #line 21 "..\..\..\Box\Show3.xaml"
                this.monthButton.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.month_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.dayButton = ((MahApps.Metro.Controls.SplitButton)(target));

            #line 23 "..\..\..\Box\Show3.xaml"
                this.dayButton.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.day_SelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.report_FlipView = ((MahApps.Metro.Controls.FlipView)(target));

            #line 29 "..\..\..\Box\Show3.xaml"
                this.report_FlipView.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.report_FlipView_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:

            #line 35 "..\..\..\Box\Show3.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.NameBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.Split4Groups = ((MahApps.Metro.Controls.SplitButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 4
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.TicketListFilter = ((MahApps.Metro.Controls.SplitButton)(target));
     return;
     case 2:
     this.lbl_ticketCount = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.btn_showAddTicket = ((System.Windows.Controls.Button)(target));
     return;
     case 4:
     this.viewTickets = ((System.Windows.Controls.DataGrid)(target));
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.ctfBox = ((System.Windows.Controls.ListBox)(target));

            #line 49 "..\..\..\Views\TestCaseView.xaml"
                this.ctfBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ctfBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:

            #line 54 "..\..\..\Views\TestCaseView.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Run_Test);

            #line default
            #line hidden
                return;

            case 4:

            #line 55 "..\..\..\Views\TestCaseView.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Run_All_Test);

            #line default
            #line hidden
                return;

            case 5:

            #line 56 "..\..\..\Views\TestCaseView.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.adicionarTestCase);

            #line default
            #line hidden
                return;

            case 6:

            #line 57 "..\..\..\Views\TestCaseView.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.copiarTeste);

            #line default
            #line hidden
                return;

            case 7:

            #line 58 "..\..\..\Views\TestCaseView.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.removerTestCase);

            #line default
            #line hidden
                return;

            case 8:

            #line 59 "..\..\..\Views\TestCaseView.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ordernarCTFporNome);

            #line default
            #line hidden
                return;

            case 9:
                this.sistemaComboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 83 "..\..\..\Views\TestCaseView.xaml"
                this.sistemaComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.selectedSistema_Changed);

            #line default
            #line hidden
                return;

            case 10:
                this.navegadorSelectBtn = ((MahApps.Metro.Controls.SplitButton)(target));
                return;

            case 11:

            #line 104 "..\..\..\Views\TestCaseView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Run_Test);

            #line default
            #line hidden
                return;

            case 12:

            #line 123 "..\..\..\Views\TestCaseView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.abrirCTF);

            #line default
            #line hidden
                return;

            case 13:

            #line 137 "..\..\..\Views\TestCaseView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.salvarCasodeTeste);

            #line default
            #line hidden
                return;

            case 14:

            #line 153 "..\..\..\Views\TestCaseView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.abrirLog);

            #line default
            #line hidden
                return;

            case 15:
                this.formBox = ((System.Windows.Controls.Grid)(target));
                return;

            case 16:
                this.codBlock = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.nomeBlock = ((System.Windows.Controls.TextBox)(target));
                return;

            case 18:
                this.descBlock = ((System.Windows.Controls.TextBox)(target));
                return;

            case 19:
                this.lastExecBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 20:
                this.lastSitBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 21:
                this.qtdExec = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 22:
                this.qtdApr = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 24:
                this.moduloBlock = ((System.Windows.Controls.TextBox)(target));
                return;

            case 25:
                this.funcaoBlock = ((System.Windows.Controls.TextBox)(target));
                return;

            case 26:
                this.preCondBlock = ((System.Windows.Controls.TextBox)(target));
                return;

            case 27:
                this.posCondBlock = ((System.Windows.Controls.TextBox)(target));
                return;

            case 28:
                this.tempoEstimadoBox = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 29:
                this.formBox2 = ((System.Windows.Controls.Grid)(target));
                return;

            case 30:
                this.gridBox = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 31:

            #line 232 "..\..\..\Views\TestCaseView.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.editarAcao);

            #line default
            #line hidden
                return;

            case 32:

            #line 233 "..\..\..\Views\TestCaseView.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.removerPasso);

            #line default
            #line hidden
                return;

            case 33:

            #line 234 "..\..\..\Views\TestCaseView.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.adicionarPassoAbaixo);

            #line default
            #line hidden
                return;

            case 34:

            #line 235 "..\..\..\Views\TestCaseView.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.abrirDetalhesPasso);

            #line default
            #line hidden
                return;

            case 35:

            #line 321 "..\..\..\Views\TestCaseView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.removerPasso);

            #line default
            #line hidden
                return;

            case 36:

            #line 332 "..\..\..\Views\TestCaseView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.adicionarPasso);

            #line default
            #line hidden
                return;

            case 37:

            #line 343 "..\..\..\Views\TestCaseView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.lerLoteDeTestes);

            #line default
            #line hidden
                return;

            case 38:

            #line 355 "..\..\..\Views\TestCaseView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.salvarEmArqLote);

            #line default
            #line hidden
                return;

            case 39:

            #line 366 "..\..\..\Views\TestCaseView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.subirPosPasso);

            #line default
            #line hidden
                return;

            case 40:

            #line 373 "..\..\..\Views\TestCaseView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.descerPosPasso);

            #line default
            #line hidden
                return;

            case 41:
                this.velocSlider = ((System.Windows.Controls.Slider)(target));
                return;

            case 42:
                this.timesToExecute = ((MahApps.Metro.Controls.NumericUpDown)(target));
                return;

            case 43:

            #line 391 "..\..\..\Views\TestCaseView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.adicionarTestCase);

            #line default
            #line hidden
                return;

            case 44:

            #line 403 "..\..\..\Views\TestCaseView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.removerTestCase);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 6
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 7 "..\..\..\Views\AdminUsers.xaml"
     ((petratracker.Controls.AdminUsers)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.UserListFilter = ((MahApps.Metro.Controls.SplitButton)(target));
     
     #line 29 "..\..\..\Views\AdminUsers.xaml"
     this.UserListFilter.Click += new System.Windows.RoutedEventHandler(this.UserListFilter_Click);
     
     #line default
     #line hidden
     
     #line 30 "..\..\..\Views\AdminUsers.xaml"
     this.UserListFilter.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.UserListFilter_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 3:
     this.chx_userfilter = ((System.Windows.Controls.CheckBox)(target));
     
     #line 34 "..\..\..\Views\AdminUsers.xaml"
     this.chx_userfilter.Checked += new System.Windows.RoutedEventHandler(this.UserListFilter_Click);
     
     #line default
     #line hidden
     
     #line 34 "..\..\..\Views\AdminUsers.xaml"
     this.chx_userfilter.Unchecked += new System.Windows.RoutedEventHandler(this.UserListFilter_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.lbl_userCount = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.actionBar = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 6:
     this.btn_activateUser = ((System.Windows.Controls.Button)(target));
     
     #line 42 "..\..\..\Views\AdminUsers.xaml"
     this.btn_activateUser.Click += new System.Windows.RoutedEventHandler(this.btn_activateUser_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.btn_deactivateUser = ((System.Windows.Controls.Button)(target));
     
     #line 50 "..\..\..\Views\AdminUsers.xaml"
     this.btn_deactivateUser.Click += new System.Windows.RoutedEventHandler(this.btn_deactivateUser_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.btn_showAddUser = ((System.Windows.Controls.Button)(target));
     
     #line 59 "..\..\..\Views\AdminUsers.xaml"
     this.btn_showAddUser.Click += new System.Windows.RoutedEventHandler(this.btn_showAddUser_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.viewUsers = ((System.Windows.Controls.DataGrid)(target));
     
     #line 73 "..\..\..\Views\AdminUsers.xaml"
     this.viewUsers.AutoGeneratingColumn += new System.EventHandler<System.Windows.Controls.DataGridAutoGeneratingColumnEventArgs>(this.viewUsers_AutoGeneratingColumn);
     
     #line default
     #line hidden
     
     #line 75 "..\..\..\Views\AdminUsers.xaml"
     this.viewUsers.PreviewMouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.viewUsers_PreviewMouseDoubleClick);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.myTab = ((System.Windows.Controls.TabControl)(target));

            #line 75 "..\..\MainWindow.xaml"
                this.myTab.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.myTab_SelectionChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.home_image = ((System.Windows.Controls.Image)(target));
                return;

            case 3:
                this.lightTile = ((MahApps.Metro.Controls.Tile)(target));

            #line 86 "..\..\MainWindow.xaml"
                this.lightTile.Click += new System.Windows.RoutedEventHandler(this.lihgtsTileClick);

            #line default
            #line hidden
                return;

            case 4:
                this.waterHeaterTile = ((MahApps.Metro.Controls.Tile)(target));

            #line 96 "..\..\MainWindow.xaml"
                this.waterHeaterTile.Click += new System.Windows.RoutedEventHandler(this.waterHeaterTileClick);

            #line default
            #line hidden
                return;

            case 5:
                this.acTile = ((MahApps.Metro.Controls.Tile)(target));

            #line 109 "..\..\MainWindow.xaml"
                this.acTile.Click += new System.Windows.RoutedEventHandler(this.acTileClick);

            #line default
            #line hidden
                return;

            case 6:
                this.heatingTile = ((MahApps.Metro.Controls.Tile)(target));

            #line 118 "..\..\MainWindow.xaml"
                this.heatingTile.Click += new System.Windows.RoutedEventHandler(this.heatingTileClick);

            #line default
            #line hidden
                return;

            case 7:
                this.oulteTitle = ((MahApps.Metro.Controls.Tile)(target));

            #line 127 "..\..\MainWindow.xaml"
                this.oulteTitle.Click += new System.Windows.RoutedEventHandler(this.oulteTitleClick);

            #line default
            #line hidden
                return;

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

            #line 135 "..\..\MainWindow.xaml"
                this.beatteryTile.Click += new System.Windows.RoutedEventHandler(this.beatteryTileClick);

            #line default
            #line hidden
                return;

            case 9:
                this.report_image = ((System.Windows.Controls.Image)(target));
                return;

            case 10:
                this.yearButton = ((MahApps.Metro.Controls.SplitButton)(target));

            #line 164 "..\..\MainWindow.xaml"
                this.yearButton.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.year_SelectionChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.monthButton = ((MahApps.Metro.Controls.SplitButton)(target));

            #line 166 "..\..\MainWindow.xaml"
                this.monthButton.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.month_SelectionChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.dayButton = ((MahApps.Metro.Controls.SplitButton)(target));

            #line 168 "..\..\MainWindow.xaml"
                this.dayButton.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.day_SelectionChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.report_FlipView = ((MahApps.Metro.Controls.FlipView)(target));

            #line 173 "..\..\MainWindow.xaml"
                this.report_FlipView.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.reportFlipView_SelectionChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.OK = ((System.Windows.Controls.Image)(target));
                return;

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

            case 16:
                this.setting = ((MahApps.Metro.Controls.FlipView)(target));

            #line 201 "..\..\MainWindow.xaml"
                this.setting.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.settingFlipView_SelectionChanged);

            #line default
            #line hidden
                return;

            case 17:
                this.ok1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 18:
                this.ok2 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 19:
                this.setting_image = ((System.Windows.Controls.Image)(target));
                return;

            case 20:
                this.settingTitleBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 21:
                this.settingFlipView = ((MahApps.Metro.Controls.FlipView)(target));

            #line 246 "..\..\MainWindow.xaml"
                this.settingFlipView.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.settingFlipView_SelectionChanged);

            #line default
            #line hidden
                return;

            case 22:
                this.waterHaterOpenHourSBtn = ((MahApps.Metro.Controls.SplitButton)(target));

            #line 303 "..\..\MainWindow.xaml"
                this.waterHaterOpenHourSBtn.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.openHour_SelectionChanged);

            #line default
            #line hidden
                return;

            case 23:
                this.waterHaterOpenMinuteSBtn = ((MahApps.Metro.Controls.SplitButton)(target));

            #line 306 "..\..\MainWindow.xaml"
                this.waterHaterOpenMinuteSBtn.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.openMinute_SelectionChanged);

            #line default
            #line hidden
                return;

            case 24:
                this.waterHaterCloseHourSBtn = ((MahApps.Metro.Controls.SplitButton)(target));

            #line 311 "..\..\MainWindow.xaml"
                this.waterHaterCloseHourSBtn.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.closeHour_SelectionChanged);

            #line default
            #line hidden
                return;

            case 25:
                this.waterHaterCloseMinuteSBtn = ((MahApps.Metro.Controls.SplitButton)(target));

            #line 314 "..\..\MainWindow.xaml"
                this.waterHaterCloseMinuteSBtn.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.closeMinute_SelectionChanged);

            #line default
            #line hidden
                return;

            case 26:

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

            #line default
            #line hidden
                return;

            case 27:

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

            #line default
            #line hidden
                return;

            case 28:

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\MainWindow.xaml"
                ((Company.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MetroWindow_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.LabelAccount = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.ButtonExit = ((System.Windows.Controls.Button)(target));

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

            #line default
            #line hidden
                return;

            case 4:
                this.groupBox = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 5:
                this.dataGrid2 = ((System.Windows.Controls.DataGrid)(target));

            #line 47 "..\..\MainWindow.xaml"
                this.dataGrid2.AutoGeneratedColumns += new System.EventHandler(this.dataGrid2_AutoGeneratedColumns);

            #line default
            #line hidden

            #line 47 "..\..\MainWindow.xaml"
                this.dataGrid2.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dataGrid2_SelectionChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.expander2 = ((System.Windows.Controls.Expander)(target));

            #line 49 "..\..\MainWindow.xaml"
                this.expander2.Expanded += new System.Windows.RoutedEventHandler(this.expander2_Expanded);

            #line default
            #line hidden

            #line 49 "..\..\MainWindow.xaml"
                this.expander2.Collapsed += new System.Windows.RoutedEventHandler(this.expander2_Collapsed);

            #line default
            #line hidden
                return;

            case 7:
                this.tabControl = ((System.Windows.Controls.TabControl)(target));
                return;

            case 8:
                this.ButtonAdd = ((System.Windows.Controls.Button)(target));

            #line 65 "..\..\MainWindow.xaml"
                this.ButtonAdd.Click += new System.Windows.RoutedEventHandler(this.ButtonAdd_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.textBoxAddFIO = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.label_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.label_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.DatePickerAddDate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 14:
                this.label_Copy2 = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.label_Copy3 = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.textBoxAddPassword = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.SplitRate = ((MahApps.Metro.Controls.SplitButton)(target));
                return;

            case 18:
                this.label_Copy11 = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.SplitPercent = ((MahApps.Metro.Controls.SplitButton)(target));
                return;

            case 20:
                this.label_Copy12 = ((System.Windows.Controls.Label)(target));
                return;

            case 21:
                this.SplitPercentWorker = ((MahApps.Metro.Controls.SplitButton)(target));
                return;

            case 22:
                this.combobox = ((WpfChosenControl.ChosenControl)(target));
                return;

            case 23:
                this.comboboxChief = ((WpfChosenControl.ChosenControl)(target));
                return;

            case 24:
                this.comboBoxGroup = ((System.Windows.Controls.ComboBox)(target));

            #line 103 "..\..\MainWindow.xaml"
                this.comboBoxGroup.DropDownOpened += new System.EventHandler(this.comboBoxGroup_DropDownOpened);

            #line default
            #line hidden

            #line 103 "..\..\MainWindow.xaml"
                this.comboBoxGroup.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBoxGroup_SelectionChanged);

            #line default
            #line hidden
                return;

            case 25:
                this.ButtonDel = ((System.Windows.Controls.Button)(target));

            #line 113 "..\..\MainWindow.xaml"
                this.ButtonDel.Click += new System.Windows.RoutedEventHandler(this.ButtonDel_Click);

            #line default
            #line hidden
                return;

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

            case 27:
                this.textBoxDel = ((System.Windows.Controls.TextBox)(target));
                return;

            case 28:
                this.labelStatus = ((System.Windows.Controls.Label)(target));
                return;

            case 29:
                this.ButtonEdit = ((System.Windows.Controls.Button)(target));

            #line 127 "..\..\MainWindow.xaml"
                this.ButtonEdit.Click += new System.Windows.RoutedEventHandler(this.ButtonEdit_Click);

            #line default
            #line hidden
                return;

            case 30:
                this.textBoxEditFio = ((System.Windows.Controls.TextBox)(target));
                return;

            case 31:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

            case 32:
                this.label_Copy15 = ((System.Windows.Controls.Label)(target));
                return;

            case 33:
                this.label_Copy16 = ((System.Windows.Controls.Label)(target));
                return;

            case 34:
                this.DatePickerAddDate2 = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 35:
                this.label_Copy17 = ((System.Windows.Controls.Label)(target));
                return;

            case 36:
                this.label_Copy18 = ((System.Windows.Controls.Label)(target));
                return;

            case 37:
                this.textBoxAddPassword2 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 38:
                this.SplitRate2 = ((MahApps.Metro.Controls.SplitButton)(target));
                return;

            case 39:
                this.label_Copy19 = ((System.Windows.Controls.Label)(target));
                return;

            case 40:
                this.SplitPercent2 = ((MahApps.Metro.Controls.SplitButton)(target));
                return;

            case 41:
                this.label_Copy20 = ((System.Windows.Controls.Label)(target));
                return;

            case 42:
                this.SplitPercentWorker2 = ((MahApps.Metro.Controls.SplitButton)(target));
                return;

            case 43:
                this.comboboxSubEdit = ((WpfChosenControl.ChosenControl)(target));
                return;

            case 44:
                this.comboboxChiefEdit = ((WpfChosenControl.ChosenControl)(target));
                return;

            case 45:
                this.comboBoxGroupEdit = ((System.Windows.Controls.ComboBox)(target));

            #line 165 "..\..\MainWindow.xaml"
                this.comboBoxGroupEdit.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBoxGroup_SelectionChanged);

            #line default
            #line hidden

            #line 165 "..\..\MainWindow.xaml"
                this.comboBoxGroupEdit.DropDownOpened += new System.EventHandler(this.comboBoxGroup_DropDownOpened);

            #line default
            #line hidden
                return;

            case 46:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 9
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\MainWindow.xaml"
                ((Radar_Starter.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.MetroWindow_Closing);

            #line default
            #line hidden

            #line 10 "..\..\MainWindow.xaml"
                ((Radar_Starter.MainWindow)(target)).StateChanged += new System.EventHandler(this.MetroWindow_StateChanged_1);

            #line default
            #line hidden
                return;

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:
                this.TextBoxGamePCIP = ((System.Windows.Controls.TextBox)(target));

            #line 47 "..\..\MainWindow.xaml"
                this.TextBoxGamePCIP.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox1_TextChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.TextBoxRadarPCIP = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.Button1 = ((System.Windows.Controls.Button)(target));

            #line 49 "..\..\MainWindow.xaml"
                this.Button1.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.Badge1 = ((MahApps.Metro.Controls.Badged)(target));
                return;

            case 9:
                this.comboBoxLanInternet = ((System.Windows.Controls.ComboBox)(target));

            #line 52 "..\..\MainWindow.xaml"
                this.comboBoxLanInternet.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.lablRadarPCIP = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.Badge2 = ((MahApps.Metro.Controls.Badged)(target));
                return;

            case 12:
                this.comboBoxLanInternet2 = ((System.Windows.Controls.ComboBox)(target));

            #line 56 "..\..\MainWindow.xaml"
                this.comboBoxLanInternet2.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged_1);

            #line default
            #line hidden
                return;

            case 13:
                this.LabelLanInternet2 = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.TextBoxCmd = ((System.Windows.Controls.TextBox)(target));

            #line 59 "..\..\MainWindow.xaml"
                this.TextBoxCmd.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.RadioArp = ((System.Windows.Controls.RadioButton)(target));

            #line 60 "..\..\MainWindow.xaml"
                this.RadioArp.Checked += new System.Windows.RoutedEventHandler(this.RadioArp_Checked);

            #line default
            #line hidden

            #line 60 "..\..\MainWindow.xaml"
                this.RadioArp.Unchecked += new System.Windows.RoutedEventHandler(this.RadioArp_Unchecked);

            #line default
            #line hidden
                return;

            case 16:
                this.RadioCustomIp = ((System.Windows.Controls.RadioButton)(target));

            #line 61 "..\..\MainWindow.xaml"
                this.RadioCustomIp.Checked += new System.Windows.RoutedEventHandler(this.RadioCustomIp_Checked);

            #line default
            #line hidden

            #line 61 "..\..\MainWindow.xaml"
                this.RadioCustomIp.Unchecked += new System.Windows.RoutedEventHandler(this.RadioCustomIp_Unchecked);

            #line default
            #line hidden
                return;

            case 17:
                this.RadioPCAP = ((System.Windows.Controls.RadioButton)(target));

            #line 62 "..\..\MainWindow.xaml"
                this.RadioPCAP.Checked += new System.Windows.RoutedEventHandler(this.RadioPCAP_Checked);

            #line default
            #line hidden

            #line 62 "..\..\MainWindow.xaml"
                this.RadioPCAP.Unchecked += new System.Windows.RoutedEventHandler(this.RadioPCAP_Unchecked);

            #line default
            #line hidden
                return;

            case 18:
                this.RadioAuto = ((System.Windows.Controls.RadioButton)(target));

            #line 63 "..\..\MainWindow.xaml"
                this.RadioAuto.Checked += new System.Windows.RoutedEventHandler(this.RadioAuto_Checked);

            #line default
            #line hidden

            #line 63 "..\..\MainWindow.xaml"
                this.RadioAuto.Unchecked += new System.Windows.RoutedEventHandler(this.RadioAuto_Unchecked);

            #line default
            #line hidden
                return;

            case 19:
                this.ButtonDorU = ((System.Windows.Controls.Button)(target));

            #line 64 "..\..\MainWindow.xaml"
                this.ButtonDorU.Click += new System.Windows.RoutedEventHandler(this.ShowProgressDialog);

            #line default
            #line hidden
                return;

            case 20:
                this.Badge3 = ((MahApps.Metro.Controls.Badged)(target));
                return;

            case 21:
                this.ComboBoxRadar = ((MahApps.Metro.Controls.SplitButton)(target));

            #line 69 "..\..\MainWindow.xaml"
                this.ComboBoxRadar.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBoxRadar_SelectionChanged);

            #line default
            #line hidden
                return;

            case 22:
                this.Badge4 = ((MahApps.Metro.Controls.Badged)(target));
                return;

            case 23:
                this.ComboBoxMap = ((MahApps.Metro.Controls.SplitButton)(target));
                return;

            case 24:
                this.ButtonInject = ((System.Windows.Controls.Button)(target));

            #line 97 "..\..\MainWindow.xaml"
                this.ButtonInject.Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 25:
                this.TextBoxPak = ((System.Windows.Controls.TextBox)(target));

            #line 100 "..\..\MainWindow.xaml"
                this.TextBoxPak.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.TextBoxPath_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 26:
                this.TextBoxAhk = ((System.Windows.Controls.TextBox)(target));

            #line 101 "..\..\MainWindow.xaml"
                this.TextBoxAhk.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.TextBoxAhk_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 27:

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

            #line default
            #line hidden
                return;

            case 28:
                this.ButtonPakClear = ((System.Windows.Controls.Button)(target));

            #line 103 "..\..\MainWindow.xaml"
                this.ButtonPakClear.Click += new System.Windows.RoutedEventHandler(this.Button_Click_4);

            #line default
            #line hidden
                return;

            case 29:
                this.RadiButtonPak1 = ((System.Windows.Controls.RadioButton)(target));

            #line 104 "..\..\MainWindow.xaml"
                this.RadiButtonPak1.Checked += new System.Windows.RoutedEventHandler(this.RadiButtonPak1_Checked);

            #line default
            #line hidden
                return;

            case 30:
                this.RadioButtonPak2 = ((System.Windows.Controls.RadioButton)(target));

            #line 105 "..\..\MainWindow.xaml"
                this.RadioButtonPak2.Checked += new System.Windows.RoutedEventHandler(this.RadioButtonPak2_Checked);

            #line default
            #line hidden
                return;

            case 31:
                this.RadioButtonPak3 = ((System.Windows.Controls.RadioButton)(target));

            #line 106 "..\..\MainWindow.xaml"
                this.RadioButtonPak3.Checked += new System.Windows.RoutedEventHandler(this.RadioButtonPak3_Checked);

            #line default
            #line hidden
                return;

            case 32:

            #line 108 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 33:

            #line 109 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked_1);

            #line default
            #line hidden
                return;

            case 34:
                this.settingsFlyout = ((MahApps.Metro.Controls.Flyout)(target));
                return;

            case 35:
                this.SplitTheme = ((MahApps.Metro.Controls.SplitButton)(target));

            #line 120 "..\..\MainWindow.xaml"
                this.SplitTheme.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Themes_SelectionChanged);

            #line default
            #line hidden
                return;

            case 36:
                this.SplitDark = ((MahApps.Metro.Controls.SplitButton)(target));

            #line 129 "..\..\MainWindow.xaml"
                this.SplitDark.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Themes_SelectionChanged2);

            #line default
            #line hidden
                return;

            case 37:
                this.TextBoxJson = ((System.Windows.Controls.TextBox)(target));

            #line 134 "..\..\MainWindow.xaml"
                this.TextBoxJson.Loaded += new System.Windows.RoutedEventHandler(this.TextBoxJson_Loaded);

            #line default
            #line hidden
                return;

            case 38:
                this.ButtonSaveJson = ((System.Windows.Controls.Button)(target));

            #line 135 "..\..\MainWindow.xaml"
                this.ButtonSaveJson.Click += new System.Windows.RoutedEventHandler(this.ButtonSaveJson_Click);

            #line default
            #line hidden
                return;

            case 39:
                this.RlocVer = ((System.Windows.Controls.Label)(target));
                return;

            case 40:
                this.RLastVer = ((System.Windows.Controls.Label)(target));
                return;

            case 41:
                this.SplitConnect = ((MahApps.Metro.Controls.SplitButton)(target));

            #line 145 "..\..\MainWindow.xaml"
                this.SplitConnect.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Connect_SelectionChanged);

            #line default
            #line hidden
                return;

            case 42:
                this.progressBar1 = ((System.Windows.Controls.ProgressBar)(target));

            #line 152 "..\..\MainWindow.xaml"
                this.progressBar1.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.ProgBarDownload_ValueChanged);

            #line default
            #line hidden
                return;

            case 43:
                this.ButtonStopRadar = ((System.Windows.Controls.Button)(target));

            #line 153 "..\..\MainWindow.xaml"
                this.ButtonStopRadar.Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 10
-1
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MainTabControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
     return;
     case 2:
     this.UserListFilter = ((MahApps.Metro.Controls.SplitButton)(target));
     return;
     case 3:
     this.chx_userfilter = ((System.Windows.Controls.CheckBox)(target));
     
     #line 45 "..\..\..\Views\ERPSettingsView.xaml"
     this.chx_userfilter.Checked += new System.Windows.RoutedEventHandler(this.chx_userfilter_Checked);
     
     #line default
     #line hidden
     
     #line 45 "..\..\..\Views\ERPSettingsView.xaml"
     this.chx_userfilter.Unchecked += new System.Windows.RoutedEventHandler(this.chx_userfilter_Checked);
     
     #line default
     #line hidden
     return;
     case 4:
     this.lbl_userCount = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.actionBar = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 6:
     this.btn_activateUser = ((System.Windows.Controls.Button)(target));
     return;
     case 7:
     this.btn_deactivateUser = ((System.Windows.Controls.Button)(target));
     return;
     case 8:
     this.btn_showAddUser = ((System.Windows.Controls.Button)(target));
     return;
     case 9:
     this.viewUsers = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 10:
     this.txtFirstName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 11:
     this.txtLastName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 12:
     this.txtEmail = ((System.Windows.Controls.TextBox)(target));
     return;
     case 13:
     this.txtPassword = ((System.Windows.Controls.PasswordBox)(target));
     return;
     case 14:
     this.cmbUserDeparment = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 15:
     this.time_interval_updatenotifications = ((MahApps.Metro.Controls.NumericUpDown)(target));
     return;
     case 16:
     this.tb_emailsmtphost = ((System.Windows.Controls.TextBox)(target));
     return;
     case 17:
     this.smtpring = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     case 18:
     this.tb_emailfrom = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.enabledSwitch = ((MahApps.Metro.Controls.ToggleSwitch)(target));
     return;
     case 2:
     this.visibleSwitch = ((MahApps.Metro.Controls.ToggleSwitch)(target));
     return;
     case 3:
     this.DownButton = ((MahApps.Metro.Controls.DropDownButton)(target));
     return;
     case 4:
     this.DownButton1 = ((MahApps.Metro.Controls.DropDownButton)(target));
     return;
     case 5:
     this.SplitButton0 = ((MahApps.Metro.Controls.SplitButton)(target));
     return;
     case 6:
     this.SplitButton1 = ((MahApps.Metro.Controls.SplitButton)(target));
     return;
     }
     this._contentLoaded = true;
 }