Skip to content

Commit

Permalink
Update TablesView.xaml.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
youngrake committed Apr 19, 2021
1 parent bb95d11 commit f2151e6
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions Tables/TablesView.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,8 @@ private void ButtonCloseMenu_Click(object sender, RoutedEventArgs e)

private void ListViewMenu_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
UserControl usc = null;
GridMain.Children.Clear();

switch (((ListViewItem) ((ListView) sender).SelectedItem).Name)
{
case "ItemHome":
GridMain.Children.Add(usc);
break;
case "ItemCreate":
GridMain.Children.Add(usc);
break;
default:
break;
}


}

int runningIndex;
Expand Down

0 comments on commit f2151e6

Please sign in to comment.