Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DodavanjeSmeraWindow = ((HCI_Projekat.DodavanjeSmera)(target));
                return;

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

            #line 289 "..\..\DodavanjeSmera.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.otvoriDatum);

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

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

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 473 "..\..\DodavanjeSmera.xaml"
                this.OznakaSmera.LostFocus += new System.Windows.RoutedEventHandler(this.resetujBojuOkvira);

            #line default
            #line hidden

            #line 473 "..\..\DodavanjeSmera.xaml"
                this.OznakaSmera.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.UnetaOznakaSmera);

            #line default
            #line hidden
                return;

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

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

            #line 502 "..\..\DodavanjeSmera.xaml"
                this.NazivSmera.LostFocus += new System.Windows.RoutedEventHandler(this.resetujBojuOkvira);

            #line default
            #line hidden

            #line 502 "..\..\DodavanjeSmera.xaml"
                this.NazivSmera.KeyDown += new System.Windows.Input.KeyEventHandler(this.otvori);

            #line default
            #line hidden
                return;

            case 17:
                this.DatumUvodjenja = ((System.Windows.Controls.DatePicker)(target));

            #line 530 "..\..\DodavanjeSmera.xaml"
                this.DatumUvodjenja.LostFocus += new System.Windows.RoutedEventHandler(this.resetujBojuOkvira);

            #line default
            #line hidden
                return;

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

            #line 558 "..\..\DodavanjeSmera.xaml"
                this.OpisSmera.LostFocus += new System.Windows.RoutedEventHandler(this.resetujBojuOkvira);

            #line default
            #line hidden

            #line 558 "..\..\DodavanjeSmera.xaml"
                this.OpisSmera.KeyDown += new System.Windows.Input.KeyEventHandler(this.otvoriUnazad);

            #line default
            #line hidden
                return;

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

            #line 581 "..\..\DodavanjeSmera.xaml"
                this.quitButtonTab.Click += new System.Windows.RoutedEventHandler(this.cancelClick);

            #line default
            #line hidden
                return;

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

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

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

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

            #line 24 "..\..\DodavanjeSmera.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.otvoriDatum);

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:

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

            #line default
            #line hidden
                return;

            case 9:

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

            #line default
            #line hidden
                return;

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

            case 11:

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

            #line default
            #line hidden
                return;

            case 12:

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

            #line default
            #line hidden
                return;

            case 13:

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

            #line default
            #line hidden
                return;

            case 14:

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

            #line default
            #line hidden
                return;

            case 15:

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

            #line default
            #line hidden
                return;

            case 16:

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

            #line default
            #line hidden
                return;

            case 17:

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line 230 "..\..\DodavanjeSmera.xaml"
                this.NazivSmera.KeyDown += new System.Windows.Input.KeyEventHandler(this.otvori);

            #line default
            #line hidden
                return;

            case 26:
                this.DatumUvodjenja = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            #line 287 "..\..\DodavanjeSmera.xaml"
                this.OpisSmera.KeyDown += new System.Windows.Input.KeyEventHandler(this.otvoriUnazad);

            #line default
            #line hidden
                return;

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

            #line 310 "..\..\DodavanjeSmera.xaml"
                this.quitButtonTab.Click += new System.Windows.RoutedEventHandler(this.cancelClick);

            #line default
            #line hidden
                return;

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

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

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