src/FingersDance/MainSurfaceWindow.xaml.cs
changeset 168 d70ee2002f75
parent 162 0b9f989bcb37
child 182 25b49d4f1635
equal deleted inserted replaced
165:e78e40b9d761 168:d70ee2002f75
   488                         Panel4 = null;
   488                         Panel4 = null;
   489                         break;
   489                         break;
   490                 }
   490                 }
   491             }
   491             }
   492             root.Children.Remove(((UserControlClose)sender));
   492             root.Children.Remove(((UserControlClose)sender));
       
   493             if (Panel1 == null && Panel2 == null && Panel3 == null && Panel4 == null)
       
   494                 _mainviewmodel.CloseSession();
   493         }
   495         }
   494 
   496 
   495 
   497 
   496         //On success annotation Display annotations in the different Panels
   498         //On success annotation Display annotations in the different Panels
   497         private void Panel_OnSuccessAnnotation(object sender, EventArgs e)
   499         private void Panel_OnSuccessAnnotation(object sender, EventArgs e)