Esempio n. 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.placeholder = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 2:
                this.mainBody = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.MainBreadCrumb = ((ShopInventory.Pages.Common.BreadCrumb)(target));
                return;

            case 4:
                this.bodyContainer = ((System.Windows.Controls.ContentPresenter)(target));
                return;

            case 5:
                this.loadingCanvas = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.waitingTxt = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.PopupContainer = ((ShopInventory.Pages.Common.ModalContainer)(target));
                return;
            }
            this._contentLoaded = true;
        }
 public static ModalContainer getInstance()
 {
     if (currentInstance == null)
     {
         currentInstance = new ModalContainer();
     }
     return(currentInstance);
 }
Esempio n. 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.root = ((ShopInventory.Pages.Common.ModalContainer)(target));
                return;

            case 2:
                this.RoundBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 3:
                this.innerContents = ((System.Windows.Controls.ContentPresenter)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.container = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.initialPage_header = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.LblApplicationName = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.initialPage_body = ((WpfPageTransitions.PageTransition)(target));
                return;

            case 5:
                this.initialPage_Footer = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.loadingCanvas = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.waitingTxt = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.PopupContainer = ((ShopInventory.Pages.Common.ModalContainer)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.placeholder = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 2:
                this.mainBody = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.navigationbar = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 4:
                this.menuPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 5:
                this.menu_main_project = ((System.Windows.Controls.Menu)(target));
                return;

            case 6:
                this.MENU_PRODUCTS = ((System.Windows.Controls.MenuItem)(target));

            #line 152 "..\..\..\MainWindow.xaml"
                this.MENU_PRODUCTS.Click += new System.Windows.RoutedEventHandler(this.ClickOnProducts);

            #line default
            #line hidden
                return;

            case 7:
                this.products_menuHeaderDock = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 8:
                this.menuBarProducts = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 9:
                this.MENU_PRODUCTS_headerIcon = ((System.Windows.Controls.Image)(target));
                return;

            case 10:
                this.productsMain_menuHeaderText = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 189 "..\..\..\MainWindow.xaml"
                this.billing_MENU.Click += new System.Windows.RoutedEventHandler(this.OnClick_Billing);

            #line default
            #line hidden
                return;

            case 12:
                this.billing_mainMenuHeaderDock = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 13:
                this.menuBarBilling = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 14:
                this.billing_MENU_HeaderIcon = ((System.Windows.Controls.Image)(target));
                return;

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

            case 16:
                this.userActionPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 17:
                this.LblMainWindowWelcome = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 18:
                this.LblMainWindowUser = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 19:
                this.img_user = ((System.Windows.Controls.Image)(target));
                return;

            case 20:

            #line 239 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.StackPanel)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.clickOneLogoutBtn);

            #line default
            #line hidden
                return;

            case 21:
                this.img_logout = ((System.Windows.Controls.Image)(target));

            #line 249 "..\..\..\MainWindow.xaml"
                this.img_logout.MouseEnter += new System.Windows.Input.MouseEventHandler(this.img_logout_MouseEnter);

            #line default
            #line hidden

            #line 249 "..\..\..\MainWindow.xaml"
                this.img_logout.MouseLeave += new System.Windows.Input.MouseEventHandler(this.img_logout_MouseLeave);

            #line default
            #line hidden
                return;

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

            #line 260 "..\..\..\MainWindow.xaml"
                this.TxtLogout.MouseEnter += new System.Windows.Input.MouseEventHandler(this.TxtLogout_MouseEnter);

            #line default
            #line hidden

            #line 260 "..\..\..\MainWindow.xaml"
                this.TxtLogout.MouseLeave += new System.Windows.Input.MouseEventHandler(this.TxtLogout_MouseLeave);

            #line default
            #line hidden
                return;

            case 23:
                this.MainBreadCrumb = ((ShopInventory.Pages.Common.BreadCrumb)(target));
                return;

            case 24:
                this.bodyContainer = ((System.Windows.Controls.ContentPresenter)(target));
                return;

            case 25:
                this.loadingCanvas = ((System.Windows.Controls.Grid)(target));
                return;

            case 26:
                this.waitingTxt = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 27:
                this.PopupContainer = ((ShopInventory.Pages.Common.ModalContainer)(target));
                return;
            }
            this._contentLoaded = true;
        }
 public ModalContainer()
 {
     InitializeComponent();
     currentInstance = this;
 }