private void Initialize_Pages()
        {
            try
            {
                Sell_Page = new Transactions(Transactions_Types.Sell);
                Sell_Back_Page = new Transactions(Transactions_Types.Sell_Back); ;
                Outcome_Page = new Outcome_Page();
            }
            catch
            {

            }
        }
Exemple #2
0
        private void Initialize_Pages()
        {
            try
            {
                Projects_Page = new Products();
                Pages_Page = new Outcome_Page();
                Tasks_Page = new Propertiess();
                Users_Page = new Transactions(Transactions_Types.Buy);
            }
            catch
            {

            }
        }
Exemple #3
0
        private void BTN_19_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                Button btn = sender as Button;
                if(btn.Name.StartsWith("Tab_") && !Tab_Panel.Children.Contains(btn))
                {
                    Close_Page(btn);
                }
                else if(btn.Name != Selected_Button && btn.Name.Replace("Tab_", "") != Selected_Button)
                {
                    if(Depreciation_Page == null) { Depreciation_Page = new Transactions(Transactions_Types.Depreciation); }
                    Frame.Navigate(Depreciation_Page);
                    Set_Selected(btn);
                }
            }
            catch
            {

            }
        }