コード例 #1
0
        private void provider_CloudRemoved(object sender, CloudEventArgs e)
        {
            Models.Cloud   cloud         = e.Cloud;
            CloudViewModel cloudViewItem = clouds.SingleOrDefault((i) => i.Cloud.Equals(cloud));

            clouds.Remove(cloudViewItem);
        }
コード例 #2
0
 private void provider_CloudAdded(object sender, CloudEventArgs e)
 {
     clouds.Add(new CloudTreeViewItemViewModel(e.Cloud));
 }
コード例 #3
0
 private void provider_CloudChanged(object sender, CloudEventArgs e)
 {
     Refresh(e.Cloud);
 }
コード例 #4
0
 private void provider_CloudChanged(object sender, CloudEventArgs e)
 {
     Refresh(e.Cloud);
 }
コード例 #5
0
 private void provider_CloudRemoved(object sender, CloudEventArgs e)
 {
     CloudTreeViewItemViewModel cloudTreeViewItem = clouds.SingleOrDefault((i) => i.Cloud.Equals(e.Cloud));
     clouds.Remove(cloudTreeViewItem);
 }
コード例 #6
0
 private void provider_CloudAdded(object sender, CloudEventArgs e)
 {
     clouds.Add(new CloudTreeViewItemViewModel(e.Cloud));
 }