private void GamoGrido_MouseDoubleClick(object sender, MouseButtonEventArgs e) { vGamo aa = (vGamo)this.GamoGrido.CurrentItem; if (!(aa == null)) { var winda = new GamoWinda(); winda.Grido.DataContext = aa; winda.Show(); } }