示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DodavanjeSoftveraWindow = ((HCI_Projekat.DodavanjeSoftvera)(target));
                return;

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:

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

            #line default
            #line hidden
                return;

            case 9:

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

            #line default
            #line hidden
                return;

            case 10:

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

            #line default
            #line hidden
                return;

            case 11:

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

            #line default
            #line hidden
                return;

            case 12:

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

            #line default
            #line hidden
                return;

            case 15:

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

            #line default
            #line hidden
                return;

            case 16:

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

            #line default
            #line hidden
                return;

            case 17:

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

            #line default
            #line hidden
                return;

            case 18:

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

            #line default
            #line hidden
                return;

            case 19:

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

            #line default
            #line hidden
                return;

            case 20:

            #line 105 "..\..\DodavanjeSoftvera.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 113 "..\..\DodavanjeSoftvera.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 114 "..\..\DodavanjeSoftvera.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 132 "..\..\DodavanjeSoftvera.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 138 "..\..\DodavanjeSoftvera.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 144 "..\..\DodavanjeSoftvera.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 150 "..\..\DodavanjeSoftvera.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 156 "..\..\DodavanjeSoftvera.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.Korak1Softver = ((System.Windows.Controls.TabItem)(target));
                return;

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

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

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

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

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

            case 36:
                this.proizvodjacSoftver = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 39:
                this.Korak2Softver = ((System.Windows.Controls.TabItem)(target));
                return;

            case 40:
                this.sajtSoftver = ((System.Windows.Controls.TextBox)(target));
                return;

            case 41:
                this.godinaSoftver = ((System.Windows.Controls.TextBox)(target));
                return;

            case 42:
                this.cenaSoftver = ((System.Windows.Controls.TextBox)(target));
                return;

            case 43:
                this.opisSoftver = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 558 "..\..\DodavanjeSoftvera.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 580 "..\..\DodavanjeSoftvera.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 602 "..\..\DodavanjeSoftvera.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.DodavanjeSoftveraWindow = ((HCI_Projekat.DodavanjeSoftvera)(target));
                return;

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:

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

            #line default
            #line hidden
                return;

            case 11:

            #line 444 "..\..\DodavanjeSoftvera.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 490 "..\..\DodavanjeSoftvera.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 495 "..\..\DodavanjeSoftvera.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 504 "..\..\DodavanjeSoftvera.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.Korak1Softver = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 622 "..\..\DodavanjeSoftvera.xaml"
                this.oznakaSoftver.LostFocus += new System.Windows.RoutedEventHandler(this.resetujBojuOkvira);

            #line default
            #line hidden

            #line 622 "..\..\DodavanjeSoftvera.xaml"
                this.oznakaSoftver.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.UnetaOznakaSoftvera);

            #line default
            #line hidden
                return;

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

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

            #line 651 "..\..\DodavanjeSoftvera.xaml"
                this.nazivSoftver.LostFocus += new System.Windows.RoutedEventHandler(this.resetujBojuOkvira);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 712 "..\..\DodavanjeSoftvera.xaml"
                this.proizvodjacSoftver.LostFocus += new System.Windows.RoutedEventHandler(this.resetujBojuOkvira);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line 839 "..\..\DodavanjeSoftvera.xaml"
                this.sajtSoftver.LostFocus += new System.Windows.RoutedEventHandler(this.resetujBojuOkvira);

            #line default
            #line hidden
                return;

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

            #line 867 "..\..\DodavanjeSoftvera.xaml"
                this.godinaSoftver.LostFocus += new System.Windows.RoutedEventHandler(this.resetujBojuOkvira);

            #line default
            #line hidden

            #line 867 "..\..\DodavanjeSoftvera.xaml"
                this.godinaSoftver.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.proveriUnetuGodinu);

            #line default
            #line hidden
                return;

            case 33:
                this.GreskaGodinaSoftver = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 34:
                this.cenaSoftver = ((System.Windows.Controls.TextBox)(target));

            #line 896 "..\..\DodavanjeSoftvera.xaml"
                this.cenaSoftver.LostFocus += new System.Windows.RoutedEventHandler(this.resetujBojuOkvira);

            #line default
            #line hidden

            #line 896 "..\..\DodavanjeSoftvera.xaml"
                this.cenaSoftver.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.proveriUnetuCenu);

            #line default
            #line hidden
                return;

            case 35:
                this.GreskaCenaSoftver = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 925 "..\..\DodavanjeSoftvera.xaml"
                this.opisSoftver.LostFocus += new System.Windows.RoutedEventHandler(this.resetujBojuOkvira);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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