예제 #1
0
        public DockBusinessForm(SYS_BUSINESSFORM CurrForm)
        {
            InitializeComponent();

            dc.TabText = "工具箱";
            dc.Show(this.dockPanel1, DockState.DockLeft);
            dc.CloseButton = false;
            this.dockPanel1.DockLeftPortion = 0.1;

            dcbd.TabText = "业务数据";
            // 业务数据
            dcbd.CurrBusinessData = BusinessServcie.BusinessData(BusinessServcie.Business(CurrForm.REF_BUSINESS_ID).REF_BUSINESSDATA_ID);
            dcbd.Show(this.dockPanel1, DockState.DockRight);
            this.dockPanel1.DockRightPortion = 0.15;

            dp.TabText = "控件属性";
            dp.Show(this.dockPanel1);
            dp.DockTo(this.dockPanel1, DockStyle.Right);

            dfd.CurrForm             = CurrForm;
            dfd.DockProperty         = dp;   ///////////////////初使化属性框
            dfd.DockCurrBusinessData = dcbd; ///////////////////初使化业务数据
            dfd.Show(this.dockPanel1);
            DockWindowFactory.Instance.DockWindowCollection.Add(dfd);
            DockWindowFactory.Instance.CurrDockWindow = dfd;
        }