/// <summary> /// The Constructor. /// </summary> /// <param name="mainEx">The main window extension class.</param> public ServerExplorerControl(MainEx mainEx) { _mainEx = mainEx; InitializeComponent(); InitializeTreeView(); IniFile.SectionList.CollectionChanged += treeView1_udate; }
/// <summary> /// The Constructor. /// </summary> /// <param name="factory"></param> public PluginInstance(Factory factory) : base(factory) { string path = AssemblyDirectory + @"\TFlexEx.ini"; if (File.Exists(path)) IniFile.Open(path); else { IniFile.CreateFile(path); IniFile.Open(path); } mainEx = new MainEx(); }
/// <summary> /// The constructor. /// </summary> public DataConnection1(MainEx mainForm) { _mainEx = mainForm; InitializeComponent(); }