示例#1
0
 public CategoryTreeWnd()
 {
     theInstance = this;
     InitializeComponent();
     categoryTree.ImageList = StructCategory.icons;
     BuildCategories();
 }
 public MultiSelectorController()
 {
     CategoryTreeWnd.ShowForm();
     CategoryTreeWnd.OnNodeSelected += new NodeSelectedEvent(OnNodeSelected);
     dummy = (GenericStructureContribution)PluginManager.theInstance.getContribution("null-contrib");
     //
     // Windows フォーム デザイナ サポートに必要です。
     //
     InitializeComponent();
     World.world.viewOptions.OnViewOptionChanged += new OptionChangedHandler(this.redrawPreview);
     OnNodeSelected(CategoryTreeWnd.getSelectedCategory(), 0);
     if (typeBox.Items.Count != 0)
     {
         typeBox_SelectedIndexChanged(this, null);
     }
     //SetAllCategories();
     bShowDetail = false;
     btnDetail_Click(this, null);
 }