Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DodavanjeUcioniceWindow = ((HCI_Projekat.DodavanjeUcionice)(target));
                return;

            case 2:

            #line 30 "..\..\DodavanjeUcionice.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.nextClick);

            #line default
            #line hidden
                return;

            case 3:

            #line 31 "..\..\DodavanjeUcionice.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.backClick);

            #line default
            #line hidden
                return;

            case 4:

            #line 32 "..\..\DodavanjeUcionice.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.cancelClick);

            #line default
            #line hidden
                return;

            case 5:

            #line 33 "..\..\DodavanjeUcionice.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.finishClick);

            #line default
            #line hidden
                return;

            case 6:

            #line 34 "..\..\DodavanjeUcionice.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.nextStep);

            #line default
            #line hidden
                return;

            case 7:

            #line 35 "..\..\DodavanjeUcionice.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.backStep);

            #line default
            #line hidden
                return;

            case 8:

            #line 36 "..\..\DodavanjeUcionice.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.undoClick);

            #line default
            #line hidden
                return;

            case 9:

            #line 37 "..\..\DodavanjeUcionice.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.redoClick);

            #line default
            #line hidden
                return;

            case 10:

            #line 38 "..\..\DodavanjeUcionice.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.cutClick);

            #line default
            #line hidden
                return;

            case 11:

            #line 39 "..\..\DodavanjeUcionice.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.copyClick);

            #line default
            #line hidden
                return;

            case 12:

            #line 40 "..\..\DodavanjeUcionice.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.pasteClick);

            #line default
            #line hidden
                return;

            case 13:
                this.FirstMenu = ((System.Windows.Controls.Menu)(target));
                return;

            case 14:

            #line 70 "..\..\DodavanjeUcionice.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.finishClick);

            #line default
            #line hidden
                return;

            case 15:

            #line 76 "..\..\DodavanjeUcionice.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.cancelClick);

            #line default
            #line hidden
                return;

            case 16:

            #line 84 "..\..\DodavanjeUcionice.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.undoClick);

            #line default
            #line hidden
                return;

            case 17:

            #line 90 "..\..\DodavanjeUcionice.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.redoClick);

            #line default
            #line hidden
                return;

            case 18:

            #line 98 "..\..\DodavanjeUcionice.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.cutClick);

            #line default
            #line hidden
                return;

            case 19:

            #line 104 "..\..\DodavanjeUcionice.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.copyClick);

            #line default
            #line hidden
                return;

            case 20:

            #line 110 "..\..\DodavanjeUcionice.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.pasteClick);

            #line default
            #line hidden
                return;

            case 21:
                this.NextStepMenuItem = ((System.Windows.Controls.MenuItem)(target));

            #line 118 "..\..\DodavanjeUcionice.xaml"
                this.NextStepMenuItem.Click += new System.Windows.RoutedEventHandler(this.nextStep);

            #line default
            #line hidden
                return;

            case 22:
                this.BackStepMenuItem = ((System.Windows.Controls.MenuItem)(target));

            #line 119 "..\..\DodavanjeUcionice.xaml"
                this.BackStepMenuItem.Click += new System.Windows.RoutedEventHandler(this.backClick);

            #line default
            #line hidden
                return;

            case 23:
                this.SecondMenu = ((System.Windows.Controls.Menu)(target));
                return;

            case 24:
                this.Undo = ((System.Windows.Controls.MenuItem)(target));

            #line 136 "..\..\DodavanjeUcionice.xaml"
                this.Undo.Click += new System.Windows.RoutedEventHandler(this.undoClick);

            #line default
            #line hidden
                return;

            case 25:
                this.Redo = ((System.Windows.Controls.MenuItem)(target));

            #line 142 "..\..\DodavanjeUcionice.xaml"
                this.Redo.Click += new System.Windows.RoutedEventHandler(this.redoClick);

            #line default
            #line hidden
                return;

            case 26:
                this.Cut = ((System.Windows.Controls.MenuItem)(target));

            #line 148 "..\..\DodavanjeUcionice.xaml"
                this.Cut.Click += new System.Windows.RoutedEventHandler(this.cutClick);

            #line default
            #line hidden
                return;

            case 27:
                this.Copy = ((System.Windows.Controls.MenuItem)(target));

            #line 154 "..\..\DodavanjeUcionice.xaml"
                this.Copy.Click += new System.Windows.RoutedEventHandler(this.copyClick);

            #line default
            #line hidden
                return;

            case 28:
                this.Paste = ((System.Windows.Controls.MenuItem)(target));

            #line 160 "..\..\DodavanjeUcionice.xaml"
                this.Paste.Click += new System.Windows.RoutedEventHandler(this.pasteClick);

            #line default
            #line hidden
                return;

            case 29:
                this.tabControlUcionica = ((System.Windows.Controls.TabControl)(target));
                return;

            case 30:
                this.Korak1Ucionica = ((System.Windows.Controls.TabItem)(target));
                return;

            case 31:
                this.oznakaUcionica = ((System.Windows.Controls.TextBox)(target));
                return;

            case 32:
                this.opisUcionica = ((System.Windows.Controls.TextBox)(target));
                return;

            case 33:
                this.prisustvoTableUcionica = ((ToggleSwitch.HorizontalToggleSwitch)(target));
                return;

            case 34:
                this.prisustvoProjektoraUcionica = ((ToggleSwitch.HorizontalToggleSwitch)(target));
                return;

            case 35:
                this.prisustvoPametneTableUcionica = ((ToggleSwitch.HorizontalToggleSwitch)(target));
                return;

            case 36:
                this.cancelButtonTab1 = ((System.Windows.Controls.Button)(target));

            #line 377 "..\..\DodavanjeUcionice.xaml"
                this.cancelButtonTab1.Click += new System.Windows.RoutedEventHandler(this.cancelClick);

            #line default
            #line hidden
                return;

            case 37:
                this.nextButton = ((System.Windows.Controls.Button)(target));

            #line 399 "..\..\DodavanjeUcionice.xaml"
                this.nextButton.Click += new System.Windows.RoutedEventHandler(this.nextClick);

            #line default
            #line hidden
                return;

            case 38:
                this.Korak2Ucionica = ((System.Windows.Controls.TabItem)(target));
                return;

            case 39:
                this.brojRadnihMestaUcionica = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

            case 40:
                this.LinuxOSUcionica = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 41:
                this.WindowsOSUcionica = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 42:
                this.WindowsAndLinusOSUcionica = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 43:
                this.softverTabela = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 44:
                this.backButton = ((System.Windows.Controls.Button)(target));

            #line 587 "..\..\DodavanjeUcionice.xaml"
                this.backButton.Click += new System.Windows.RoutedEventHandler(this.backClick);

            #line default
            #line hidden
                return;

            case 45:
                this.cancelButtonTab2 = ((System.Windows.Controls.Button)(target));

            #line 609 "..\..\DodavanjeUcionice.xaml"
                this.cancelButtonTab2.Click += new System.Windows.RoutedEventHandler(this.cancelClick);

            #line default
            #line hidden
                return;

            case 46:
                this.finishButton = ((System.Windows.Controls.Button)(target));

            #line 631 "..\..\DodavanjeUcionice.xaml"
                this.finishButton.Click += new System.Windows.RoutedEventHandler(this.finishClick);

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

            case 2:

            #line 450 "..\..\DodavanjeUcionice.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.nextClick);

            #line default
            #line hidden
                return;

            case 3:

            #line 451 "..\..\DodavanjeUcionice.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.backClick);

            #line default
            #line hidden
                return;

            case 4:

            #line 452 "..\..\DodavanjeUcionice.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.cancelClick);

            #line default
            #line hidden
                return;

            case 5:

            #line 453 "..\..\DodavanjeUcionice.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.finishClick);

            #line default
            #line hidden
                return;

            case 6:

            #line 454 "..\..\DodavanjeUcionice.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.nextStep);

            #line default
            #line hidden
                return;

            case 7:

            #line 455 "..\..\DodavanjeUcionice.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.backStep);

            #line default
            #line hidden
                return;

            case 8:

            #line 456 "..\..\DodavanjeUcionice.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.otvoriHelp);

            #line default
            #line hidden
                return;

            case 9:
                this.FirstMenu = ((System.Windows.Controls.Menu)(target));
                return;

            case 10:

            #line 490 "..\..\DodavanjeUcionice.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.finishClick);

            #line default
            #line hidden
                return;

            case 11:

            #line 499 "..\..\DodavanjeUcionice.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.cancelClick);

            #line default
            #line hidden
                return;

            case 12:
                this.NextStepMenuItem = ((System.Windows.Controls.MenuItem)(target));

            #line 545 "..\..\DodavanjeUcionice.xaml"
                this.NextStepMenuItem.Click += new System.Windows.RoutedEventHandler(this.nextStep);

            #line default
            #line hidden
                return;

            case 13:
                this.BackStepMenuItem = ((System.Windows.Controls.MenuItem)(target));

            #line 550 "..\..\DodavanjeUcionice.xaml"
                this.BackStepMenuItem.Click += new System.Windows.RoutedEventHandler(this.backClick);

            #line default
            #line hidden
                return;

            case 14:
                this.MenuItemHelp = ((System.Windows.Controls.MenuItem)(target));

            #line 559 "..\..\DodavanjeUcionice.xaml"
                this.MenuItemHelp.Click += new System.Windows.RoutedEventHandler(this.otvoriHelp);

            #line default
            #line hidden
                return;

            case 15:
                this.SecondMenu = ((System.Windows.Controls.Menu)(target));
                return;

            case 16:
                this.Cut = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 17:
                this.Copy = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 18:
                this.Paste = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 19:
                this.tabControlUcionica = ((System.Windows.Controls.TabControl)(target));
                return;

            case 20:
                this.Korak1Ucionica = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 677 "..\..\DodavanjeUcionice.xaml"
                this.oznakaUcionica.LostFocus += new System.Windows.RoutedEventHandler(this.resetujBojuOkvira);

            #line default
            #line hidden

            #line 677 "..\..\DodavanjeUcionice.xaml"
                this.oznakaUcionica.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.UnetaOznakaUcionice);

            #line default
            #line hidden
                return;

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

            case 23:
                this.opisUcionica = ((System.Windows.Controls.TextBox)(target));

            #line 706 "..\..\DodavanjeUcionice.xaml"
                this.opisUcionica.LostFocus += new System.Windows.RoutedEventHandler(this.resetujBojuOkvira);

            #line default
            #line hidden
                return;

            case 24:
                this.prisustvoTableUcionica = ((ToggleSwitch.HorizontalToggleSwitch)(target));
                return;

            case 25:
                this.prisustvoProjektoraUcionica = ((ToggleSwitch.HorizontalToggleSwitch)(target));
                return;

            case 26:
                this.prisustvoPametneTableUcionica = ((ToggleSwitch.HorizontalToggleSwitch)(target));
                return;

            case 27:
                this.cancelButtonTab1 = ((System.Windows.Controls.Button)(target));

            #line 831 "..\..\DodavanjeUcionice.xaml"
                this.cancelButtonTab1.Click += new System.Windows.RoutedEventHandler(this.cancelClick);

            #line default
            #line hidden
                return;

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

            #line 853 "..\..\DodavanjeUcionice.xaml"
                this.nextButton.Click += new System.Windows.RoutedEventHandler(this.nextClick);

            #line default
            #line hidden
                return;

            case 29:
                this.Korak2Ucionica = ((System.Windows.Controls.TabItem)(target));
                return;

            case 30:
                this.brojRadnihMestaUcionica = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

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

            #line 967 "..\..\DodavanjeUcionice.xaml"
                this.LinuxOSUcionica.Checked += new System.Windows.RoutedEventHandler(this.prikazOdgovarajucihSoftvera);

            #line default
            #line hidden
                return;

            case 32:
                this.WindowsOSUcionica = ((System.Windows.Controls.RadioButton)(target));

            #line 968 "..\..\DodavanjeUcionice.xaml"
                this.WindowsOSUcionica.Checked += new System.Windows.RoutedEventHandler(this.prikazOdgovarajucihSoftvera);

            #line default
            #line hidden
                return;

            case 33:
                this.WindowsAndLinuxOSUcionica = ((System.Windows.Controls.RadioButton)(target));

            #line 969 "..\..\DodavanjeUcionice.xaml"
                this.WindowsAndLinuxOSUcionica.Checked += new System.Windows.RoutedEventHandler(this.prikazOdgovarajucihSoftvera);

            #line default
            #line hidden
                return;

            case 34:
                this.softverTabela = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 35:
                this.backButton = ((System.Windows.Controls.Button)(target));

            #line 1043 "..\..\DodavanjeUcionice.xaml"
                this.backButton.Click += new System.Windows.RoutedEventHandler(this.backClick);

            #line default
            #line hidden
                return;

            case 36:
                this.cancelButtonTab2 = ((System.Windows.Controls.Button)(target));

            #line 1065 "..\..\DodavanjeUcionice.xaml"
                this.cancelButtonTab2.Click += new System.Windows.RoutedEventHandler(this.cancelClick);

            #line default
            #line hidden
                return;

            case 37:
                this.finishButton = ((System.Windows.Controls.Button)(target));

            #line 1087 "..\..\DodavanjeUcionice.xaml"
                this.finishButton.Click += new System.Windows.RoutedEventHandler(this.finishClick);

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