Пример #1
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///DepreciationPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            pageRoot              = (global::FinancialCalculations.Common.LayoutAwarePage) this.FindName("pageRoot");
            ChangeListColor       = (global::Windows.UI.Xaml.Media.Animation.Storyboard) this.FindName("ChangeListColor");
            grid                  = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("grid");
            stackPanel            = (global::Windows.UI.Xaml.Controls.StackPanel) this.FindName("stackPanel");
            stackPanel1           = (global::Windows.UI.Xaml.Controls.StackPanel) this.FindName("stackPanel1");
            stackPanel2           = (global::Windows.UI.Xaml.Controls.StackPanel) this.FindName("stackPanel2");
            lstDepreciation       = (global::Windows.UI.Xaml.Controls.ListBox) this.FindName("lstDepreciation");
            btnCalculate          = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnCalculate");
            txtInitialCost        = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("txtInitialCost");
            txtFinalValue         = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("txtFinalValue");
            cboLife               = (global::Windows.UI.Xaml.Controls.ComboBox) this.FindName("cboLife");
            textBlock             = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("textBlock");
            textBlock1            = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("textBlock1");
            textBlock2            = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("textBlock2");
            textBlock3            = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("textBlock3");
            backButton            = (global::Windows.UI.Xaml.Controls.Button) this.FindName("backButton");
            pageTitle             = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("pageTitle");
            ApplicationViewStates = (global::Windows.UI.Xaml.VisualStateGroup) this.FindName("ApplicationViewStates");
            FullScreenLandscape   = (global::Windows.UI.Xaml.VisualState) this.FindName("FullScreenLandscape");
            Filled                = (global::Windows.UI.Xaml.VisualState) this.FindName("Filled");
            FullScreenPortrait    = (global::Windows.UI.Xaml.VisualState) this.FindName("FullScreenPortrait");
            Snapped               = (global::Windows.UI.Xaml.VisualState) this.FindName("Snapped");
            btnClearAll           = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnClearAll");
        }
Пример #2
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///FutureValuePage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            pageRoot              = (global::FinancialCalculations.Common.LayoutAwarePage) this.FindName("pageRoot");
            DropDownResult        = (global::Windows.UI.Xaml.Media.Animation.Storyboard) this.FindName("DropDownResult");
            grid                  = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("grid");
            stackPanel1           = (global::Windows.UI.Xaml.Controls.StackPanel) this.FindName("stackPanel1");
            stackPanel            = (global::Windows.UI.Xaml.Controls.StackPanel) this.FindName("stackPanel");
            txtMonthlyInvestment  = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("txtMonthlyInvestment");
            txtInterestRate       = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("txtInterestRate");
            txtYears              = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("txtYears");
            tblkFutureValue       = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("tblkFutureValue");
            btnCalculate          = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnCalculate");
            textBlock             = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("textBlock");
            textBlock1            = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("textBlock1");
            textBlock2            = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("textBlock2");
            textBlock3            = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("textBlock3");
            backButton            = (global::Windows.UI.Xaml.Controls.Button) this.FindName("backButton");
            pageTitle             = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("pageTitle");
            ApplicationViewStates = (global::Windows.UI.Xaml.VisualStateGroup) this.FindName("ApplicationViewStates");
            FullScreenLandscape   = (global::Windows.UI.Xaml.VisualState) this.FindName("FullScreenLandscape");
            Filled                = (global::Windows.UI.Xaml.VisualState) this.FindName("Filled");
            FullScreenPortrait    = (global::Windows.UI.Xaml.VisualState) this.FindName("FullScreenPortrait");
            Snapped               = (global::Windows.UI.Xaml.VisualState) this.FindName("Snapped");
            btnClearAll           = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnClearAll");
        }
Пример #3
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///MenuPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            pageRoot              = (global::FinancialCalculations.Common.LayoutAwarePage) this.FindName("pageRoot");
            spSnappedDisplay      = (global::Windows.UI.Xaml.Controls.StackPanel) this.FindName("spSnappedDisplay");
            stackPanel            = (global::Windows.UI.Xaml.Controls.StackPanel) this.FindName("stackPanel");
            image                 = (global::Windows.UI.Xaml.Controls.Image) this.FindName("image");
            btnFutureValue        = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnFutureValue");
            btnDepreciation       = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnDepreciation");
            backButton            = (global::Windows.UI.Xaml.Controls.Button) this.FindName("backButton");
            pageTitle             = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("pageTitle");
            ApplicationViewStates = (global::Windows.UI.Xaml.VisualStateGroup) this.FindName("ApplicationViewStates");
            FullScreenLandscape   = (global::Windows.UI.Xaml.VisualState) this.FindName("FullScreenLandscape");
            Filled                = (global::Windows.UI.Xaml.VisualState) this.FindName("Filled");
            FullScreenPortrait    = (global::Windows.UI.Xaml.VisualState) this.FindName("FullScreenPortrait");
            Snapped               = (global::Windows.UI.Xaml.VisualState) this.FindName("Snapped");
        }