public virtual void OnCustomButtonHited(CustomButtonsEventArgs e)
 {
     if (CustomButtonHited != null)
     {
         CustomButtonHited(this, e);
     }
 }
コード例 #2
0
 void propertyGridControlDescendant1_CustomButtonHited(object sendet, CustomButtonsEventArgs e)
 {
     if (e.Name == "Alphabetical" || e.Name == "ImageAlphabetical")
     {
         propertyGridControlDescendant1.OptionsView.ShowRootCategories = false;
     }
     if (e.Name == "Categorized" || e.Name == "ImageCategorized")
     {
         propertyGridControlDescendant1.OptionsView.ShowRootCategories = true;
     }
 }