Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.GridMain = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:

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

            #line default
            #line hidden
                return;

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

            #line 53 "..\..\MainWindow.xaml"
                this.popUpIzlaz.Click += new System.Windows.RoutedEventHandler(this.popUpIzlaz_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.GridMenu = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.ButtonOpenMenu = ((System.Windows.Controls.Button)(target));

            #line 73 "..\..\MainWindow.xaml"
                this.ButtonOpenMenu.Click += new System.Windows.RoutedEventHandler(this.ButtonOpenMenu_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.ButtonCloseMenu = ((System.Windows.Controls.Button)(target));

            #line 76 "..\..\MainWindow.xaml"
                this.ButtonCloseMenu.Click += new System.Windows.RoutedEventHandler(this.ButtonCloseMenu_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.vinograd = ((WpfApp3.Vinograd)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 16 "..\..\PocetniProzor.xaml"
                ((WpfApp3.PocetniProzor)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden

            #line 21 "..\..\PocetniProzor.xaml"
                ((WpfApp3.PocetniProzor)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.WindowMouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:
                this.MainDialogHost = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 5:
                this.Izvestaj = ((WpfApp3.Izvestaj)(target));
                return;

            case 6:
                this.Vinograd = ((WpfApp3.Vinograd)(target));
                return;

            case 7:
                this.timokSlika = ((System.Windows.Controls.Image)(target));
                return;

            case 8:
                this.PSP = ((WpfApp3.PSP)(target));
                return;

            case 9:
                this.POP = ((WpfApp3.POP)(target));
                return;

            case 10:
                this.Home = ((System.Windows.Controls.MenuItem)(target));

            #line 75 "..\..\PocetniProzor.xaml"
                this.Home.Click += new System.Windows.RoutedEventHandler(this.Home_Click);

            #line default
            #line hidden
                return;

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

            #line 82 "..\..\PocetniProzor.xaml"
                this.Vineyard.Click += new System.Windows.RoutedEventHandler(this.Vineyard_Click);

            #line default
            #line hidden
                return;

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

            case 13:
                this.IzveštajNew = ((System.Windows.Controls.MenuItem)(target));

            #line 87 "..\..\PocetniProzor.xaml"
                this.IzveštajNew.Click += new System.Windows.RoutedEventHandler(this.IzvestajOpen_Click);

            #line default
            #line hidden
                return;

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

            #line 92 "..\..\PocetniProzor.xaml"
                this.IzvestajOpen.Click += new System.Windows.RoutedEventHandler(this.IzvestajOpen_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.IzvestajSave = ((System.Windows.Controls.MenuItem)(target));
                return;

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

            #line 102 "..\..\PocetniProzor.xaml"
                this.IzvestajExit.Click += new System.Windows.RoutedEventHandler(this.IzvestajExit_Click);

            #line default
            #line hidden
                return;

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

            #line 109 "..\..\PocetniProzor.xaml"
                this.dostava.Click += new System.Windows.RoutedEventHandler(this.dostava_Click);

            #line default
            #line hidden
                return;

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

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

            #line 119 "..\..\PocetniProzor.xaml"
                this.psp.Click += new System.Windows.RoutedEventHandler(this.psp_Click);

            #line default
            #line hidden
                return;

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

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

            #line 129 "..\..\PocetniProzor.xaml"
                this.ostvPr.Click += new System.Windows.RoutedEventHandler(this.ostvPr_Click);

            #line default
            #line hidden
                return;

            case 22:

            #line 135 "..\..\PocetniProzor.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

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

            #line 142 "..\..\PocetniProzor.xaml"
                this.Logistika.Click += new System.Windows.RoutedEventHandler(this.Logistika_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.MenuToggleButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

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

            #line 162 "..\..\PocetniProzor.xaml"
                this.pomoc.Click += new System.Windows.RoutedEventHandler(this.pomoc_Click);

            #line default
            #line hidden
                return;

            case 26:

            #line 163 "..\..\PocetniProzor.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.odjavi_Click);

            #line default
            #line hidden
                return;

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

            #line 165 "..\..\PocetniProzor.xaml"
                this.popUpIzlaz.Click += new System.Windows.RoutedEventHandler(this.popUpIzlaz_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.header = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }