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(); }
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(); }
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(); }
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(); }
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(); }