Пример #1
0
        public dlgSelectTV2(CASTreeViewStep aTV)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            _cmdCancel.TabStop = false;

            mPCLoadingItem = PlaceCode.Empty;
            mSelectedNode = null;
            pIsLoadByObj = true;

            mTV = aTV;
            mTV.Dock = DockStyle.Fill;
            //mTV.AddMenuCommand(eCommand.Choice);
            mTV.Parent = this;
            //this.Controls.Add(mTV);
            mTV.BringToFront();

            _cmdCancel.Click += new EventHandler (DoCommandCancel);
            this.Load += new EventHandler (OnDlgLoad);
            this.Closed += new EventHandler (OnDlgClosed);
        }