Пример #1
0
        private void uiMapTreeUserControl2_Enter(object sender, EventArgs e)
        {
            if (_currentActiveUIMap == null)
            {
                return;
            }

            _currentActiveUIMap = uiMapTreeUserControl2;
        }
Пример #2
0
        public MainForm()
        {
            InitializeComponent();

            this.splitContainer1.Panel2Collapsed = true;
            _currentActiveUIMap = uiMapTreeUserControl1;
#if DEBUG
            //txtFileName.Text = String.Format(@"{0}\Samples\MainUIMap.uitest", System.IO.Directory.GetCurrentDirectory()); // will automatically trigger load of file
#endif
        }