private void Button_Click(object sender, RoutedEventArgs e) { object ID = ((Button)sender).CommandParameter; StaticStokvel.id = ID.ToString(); Stokvel_Dashboard sd = new Stokvel_Dashboard(ID.ToString()); sd.Show(); }
private void Open_Stokvel(object sender, RoutedEventArgs e) { //Button handler to open detailed Stokvel screen from button in dgrid. object ID = ((Button)sender).CommandParameter; StaticStokvel.id = ID.ToString(); Stokvel_Dashboard sd = new Stokvel_Dashboard(ID.ToString()); sd.Show(); }