예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DodavanjePredmetaWindow = ((HCI_Projekat.DodavanjePredmeta)(target));
                return;

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:

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

            #line default
            #line hidden
                return;

            case 9:

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

            #line default
            #line hidden
                return;

            case 10:

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

            #line default
            #line hidden
                return;

            case 11:

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

            #line default
            #line hidden
                return;

            case 12:

            #line 40 "..\..\DodavanjePredmeta.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 "..\..\DodavanjePredmeta.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.finishClick);

            #line default
            #line hidden
                return;

            case 15:

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

            #line default
            #line hidden
                return;

            case 16:

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

            #line default
            #line hidden
                return;

            case 17:

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

            #line default
            #line hidden
                return;

            case 18:

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

            #line default
            #line hidden
                return;

            case 19:

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

            #line default
            #line hidden
                return;

            case 20:

            #line 110 "..\..\DodavanjePredmeta.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 "..\..\DodavanjePredmeta.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 "..\..\DodavanjePredmeta.xaml"
                this.BackStepMenuItem.Click += new System.Windows.RoutedEventHandler(this.backStep);

            #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 137 "..\..\DodavanjePredmeta.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 143 "..\..\DodavanjePredmeta.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 149 "..\..\DodavanjePredmeta.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 155 "..\..\DodavanjePredmeta.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 161 "..\..\DodavanjePredmeta.xaml"
                this.Paste.Click += new System.Windows.RoutedEventHandler(this.pasteClick);

            #line default
            #line hidden
                return;

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

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

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

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

            case 33:
                this.OpisPredmeta = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 302 "..\..\DodavanjePredmeta.xaml"
                this.smeroviTabela.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.smeroviTabela_SelectionChanged);

            #line default
            #line hidden
                return;

            case 35:
                this.VelicinaGrupePredmet = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

            case 36:
                this.DuzinaTerminaPredmet = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

            case 37:
                this.BrojTerminaPredmet = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

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

            #line 433 "..\..\DodavanjePredmeta.xaml"
                this.quitButton.Click += new System.Windows.RoutedEventHandler(this.cancelClick);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 40:
                this.Korak2Predmet = ((System.Windows.Controls.TabItem)(target));
                return;

            case 41:
                this.PrisustvoTablePredmet = ((ToggleSwitch.HorizontalToggleSwitch)(target));
                return;

            case 42:
                this.PrisustvoProjektoraPredmet = ((ToggleSwitch.HorizontalToggleSwitch)(target));
                return;

            case 43:
                this.PrisustvoPametneTable = ((ToggleSwitch.HorizontalToggleSwitch)(target));
                return;

            case 44:
                this.Linux = ((System.Windows.Controls.RadioButton)(target));
                return;

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

            case 46:
                this.Svejedno = ((System.Windows.Controls.RadioButton)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

            case 49:
                this.quitButtonTab2 = ((System.Windows.Controls.Button)(target));

            #line 732 "..\..\DodavanjePredmeta.xaml"
                this.quitButtonTab2.Click += new System.Windows.RoutedEventHandler(this.cancelClick);

            #line default
            #line hidden
                return;

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

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

            #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.DodavanjePredmetaWindow = ((HCI_Projekat.DodavanjePredmeta)(target));
                return;

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:

            #line 456 "..\..\DodavanjePredmeta.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 "..\..\DodavanjePredmeta.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.finishClick);

            #line default
            #line hidden
                return;

            case 11:

            #line 499 "..\..\DodavanjePredmeta.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 "..\..\DodavanjePredmeta.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 "..\..\DodavanjePredmeta.xaml"
                this.BackStepMenuItem.Click += new System.Windows.RoutedEventHandler(this.backStep);

            #line default
            #line hidden
                return;

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

            #line 559 "..\..\DodavanjePredmeta.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.tabControlPredmet = ((System.Windows.Controls.TabControl)(target));
                return;

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

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

            #line 681 "..\..\DodavanjePredmeta.xaml"
                this.OznakaPredmeta.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.UnetaOznakaPredmeta);

            #line default
            #line hidden

            #line 681 "..\..\DodavanjePredmeta.xaml"
                this.OznakaPredmeta.LostFocus += new System.Windows.RoutedEventHandler(this.resetujBojuOkvira);

            #line default
            #line hidden
                return;

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

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

            #line 710 "..\..\DodavanjePredmeta.xaml"
                this.NazivPredmeta.LostFocus += new System.Windows.RoutedEventHandler(this.resetujBojuOkvira);

            #line default
            #line hidden
                return;

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

            #line 738 "..\..\DodavanjePredmeta.xaml"
                this.OpisPredmeta.LostFocus += new System.Windows.RoutedEventHandler(this.resetujBojuOkvira);

            #line default
            #line hidden
                return;

            case 25:
                this.smeroviTabela = ((System.Windows.Controls.DataGrid)(target));

            #line 759 "..\..\DodavanjePredmeta.xaml"
                this.smeroviTabela.TargetUpdated += new System.EventHandler <System.Windows.Data.DataTransferEventArgs>(this.izabranSmerPripadnostiPredmeta);

            #line default
            #line hidden
                return;

            case 26:
                this.VelicinaGrupePredmet = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

            case 27:
                this.DuzinaTerminaPredmet = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

            case 28:
                this.BrojTerminaPredmet = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

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

            #line 904 "..\..\DodavanjePredmeta.xaml"
                this.quitButton.Click += new System.Windows.RoutedEventHandler(this.cancelClick);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 31:
                this.Korak2Predmet = ((System.Windows.Controls.TabItem)(target));
                return;

            case 32:
                this.PrisustvoTablePredmet = ((ToggleSwitch.HorizontalToggleSwitch)(target));
                return;

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

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

            case 35:
                this.Linux = ((System.Windows.Controls.RadioButton)(target));

            #line 1101 "..\..\DodavanjePredmeta.xaml"
                this.Linux.Checked += new System.Windows.RoutedEventHandler(this.prikazOdgovarajucihSoftvera);

            #line default
            #line hidden
                return;

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

            #line 1102 "..\..\DodavanjePredmeta.xaml"
                this.Windows.Checked += new System.Windows.RoutedEventHandler(this.prikazOdgovarajucihSoftvera);

            #line default
            #line hidden
                return;

            case 37:
                this.Svejedno = ((System.Windows.Controls.RadioButton)(target));

            #line 1103 "..\..\DodavanjePredmeta.xaml"
                this.Svejedno.Checked += new System.Windows.RoutedEventHandler(this.prikazOdgovarajucihSoftvera);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

            case 40:
                this.quitButtonTab2 = ((System.Windows.Controls.Button)(target));

            #line 1199 "..\..\DodavanjePredmeta.xaml"
                this.quitButtonTab2.Click += new System.Windows.RoutedEventHandler(this.cancelClick);

            #line default
            #line hidden
                return;

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

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

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