Ejemplo n.º 1
0
        public bool zheng_zai_Sui_Zuan_Zhong = false;//正在随钻中
        //GetItemDataTableByName()
        void createForm()
        {
            //"new" order
            Childform form = new Childform();

            form.MdiParent   = this;
            form.mf          = this.mf;
            form.WindowState = FormWindowState.Maximized;



            form.Show();
        }
Ejemplo n.º 2
0
        private void BaseLineForm_Load(object sender, EventArgs e)
        {
            this.IsMdiContainer = true;
            // this.mf.cf.MdiParent = this;
            Childform cf = new Childform();

            this.cf      = cf;
            cf.MdiParent = this;

            cf.WindowState = FormWindowState.Maximized;
            cf.Show();

            /**
             * vdEntities arr = this.mf.cf.vdScrollableControl1.BaseControl.ActiveDocument.ActiveLayOut.Entities;//获取主窗体中vd画的所有实体
             * foreach(vdFigure figure in arr)
             * {
             *  vdFigure copyfigure = (vdFigure)figure.Clone(cf.vdScrollableControl1.BaseControl.ActiveDocument);
             *  cf.vdScrollableControl1.BaseControl.ActiveDocument.ActiveLayOut.Entities.Add(copyfigure);
             * }**/
            this.Fdraw_pic(true);   //没有点绘图按钮
            cf.vdScrollableControl1.BaseControl.ActiveDocument.ZoomExtents();
        }