コード例 #1
0
        private void btnStealth_Click(object sender, RoutedEventArgs e)
        {
            if (CurrentPageStatus == MainPageStauts.Stealth)
            {
                return;
            }

            CurrentPageStatus         = MainPageStauts.Stealth;
            grdMenuSelectedPan.Margin = new Thickness(0, 200, 0, 0);
            showPages();
        }
コード例 #2
0
        private void btnHistory_Click(object sender, RoutedEventArgs e)
        {
            if (CurrentPageStatus == MainPageStauts.History)
            {
                return;
            }

            CurrentPageStatus         = MainPageStauts.History;
            grdMenuSelectedPan.Margin = new Thickness(0, 120, 0, 0);
            showPages();
        }
コード例 #3
0
        private void btnAccounts_Click(object sender, RoutedEventArgs e)
        {
            if (CurrentPageStatus == MainPageStauts.Accounts)
            {
                return;
            }

            CurrentPageStatus         = MainPageStauts.Accounts;
            grdMenuSelectedPan.Margin = new Thickness(0, 40, 0, 0);
            showPages();
        }
コード例 #4
0
        private void btnTerminal_Click(object sender, RoutedEventArgs e)
        {
            if (CurrentPageStatus == MainPageStauts.Terminal)
            {
                return;
            }

            CurrentPageStatus         = MainPageStauts.Terminal;
            grdMenuSelectedPan.Margin = new Thickness(0, 160, 0, 0);
            showPages();
        }
コード例 #5
0
        private void btnDashboard_Click(object sender, RoutedEventArgs e)
        {
            if (CurrentPageStatus == MainPageStauts.Dashboard)
            {
                return;
            }

            CurrentPageStatus         = MainPageStauts.Dashboard;
            grdMenuSelectedPan.Margin = new Thickness(0, 0, 0, 0);
            showPages();
        }