예제 #1
0
 protected void OnSelectedItemsChange(object sender, SelectedItemsChangeEventArgs args)
 {
     if (SelectedItemsChanged != null)
     {
         SelectedItemsChanged(sender, args);
     }
 }
예제 #2
0
 protected void DirectivesViewerSelectedItemsChanged(object sender, SelectedItemsChangeEventArgs e)
 {
     if (DirectivesViewer.SelectedItems.Count > 0)
     {
         buttonDeleteSelected.Enabled    = !ViewedType.IsSubclassOf(typeof(StaticDictionary));
         headerControl.EditButtonEnabled = true;
     }
     else
     {
         headerControl.EditButtonEnabled = false;
         buttonDeleteSelected.Enabled    = false;
     }
 }