Ejemplo n.º 1
0
        /// <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;
        }
Ejemplo n.º 2
0
        /// <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();
        }
Ejemplo n.º 3
0
 /// <summary>
 /// The constructor.
 /// </summary>
 public DataConnection1(MainEx mainForm)
 {
     _mainEx = mainForm;
     InitializeComponent();
 }