/// <summary> /// /// </summary> public CategoryTreeWnd() { theInstance = this; InitializeComponent(); categoryTree.ImageList = StructCategory.icons; BuildCategories(); }
/// <summary> /// /// </summary> public MultiSelectorController() { CategoryTreeWnd.ShowForm(); CategoryTreeWnd.OnNodeSelected += new NodeSelectedEvent(OnNodeSelected); dummy = (GenericStructureContribution)PluginManager.GetContribution("null-contrib"); // // Windows フォーム デザイナ サポートに必要です。 // InitializeComponent(); WorldDefinition.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); }