public MainWindow()
        {
            InitializeComponent();

            string start     = "";
            bool   terminate = true;

            Operate.d = new FolderBrowserDialog();

            Operate.InitStartLoadPath(ref start, ref terminate);
            Operate.d.SelectedPath = start;

            //DevStart2.StartDeveloperConfig(start, ref treeVDev);

            DevStartProject devAll = new DevStartProject();

            //devAll.StartDeveloperConfig(start, ref treeVDev);
            devAll.StartDeveloperConfig(start + "//main.xml");
            AllDevices  allDev = new AllDevices(devAll.mp);
            AllModbuses allMb  = new AllModbuses(devAll.mp);

            project = devAll.mp;

            //helper.Util.project = new Project();
            //helper.Util.project.LoadProject("d:/md/pti/pr/main.xml");

            textSource.Focus();
            //textSource.SelectionStart = 0;
            //textSource.SelectionLength = 0;


            m_baseTitle = this.Title + " - ";
            OpenLastIfPossible();
        }