private void btnMain_Click(object sender, RoutedEventArgs e) { canvas.Children.Clear(); CVmain M = new CVmain(db); canvas.Children.Add(M); }
private void SetData() { canvas.Children.Clear(); CVmain M = new CVmain(db); canvas.Children.Add(M); }