private void FinishInitialize() { RecursiveSortMenuItem(addNodeToolStripMenuItem, null); if (!initialized) { if (FlowTreeView != null) { foreach (CustomToolStripMenuItem menu in addNodeToolStripMenuItem.DropDownItems) { FlowTreeView.ReprecateMenuToTree(menu); } FlowTreeView.SetFilters(filters.ToArray()); FlowTreeView.SelectedFilterChanged += FlowTreeView_SelectedFilterChanged; } #if DEBUG FlowSourceDumper.WriteToText("text.ini"); FlowSourceDumper.CheckPropertyType(); FlowSourceDumper.CheckPropertyColor(colorDictionary); FlowSourceDumper.CheckEnumTypeFormatter(); FlowSourceDumper.CheckTypeSerializer(); #endif } initialized = true; }