private void provider_CloudRemoved(object sender, CloudEventArgs e)
        {
            Types.Cloud    cloud         = e.Cloud;
            CloudViewModel cloudViewItem = clouds.SingleOrDefault((i) => i.Cloud.Equals(cloud));

            clouds.Remove(cloudViewItem);
        }
 private void OpenApplication(Application application)
 {
     if (application.Parent != null)
     {
         CloudViewModel selectedCloudViewModel = Clouds.SingleOrDefault((i) => i.Cloud.Equals(application.Parent));
         if (selectedCloudViewModel == null)
         {
             Types.Cloud currentCloud = provider.Clouds.SingleOrDefault((c) => c.Equals(application.Parent));
             selectedCloudViewModel = new CloudViewModel(currentCloud);
             Clouds.Add(selectedCloudViewModel);
         }
         SelectedCloudView = selectedCloudViewModel;
     }
     SelectedCloudView.SelectedApplication       = application;
     SelectedCloudView.IsApplicationViewSelected = true;
 }