Esempio n. 1
0
        /// <summary>
        /// 加文本
        /// </summary>
        public void AddText()
        {
            LayoutClass.TextboxSymbol from = new LayoutClass.TextboxSymbol(new Point(100, 100), "文本");  //??
            Point         location         = ComputeResizeLocation(from.textbox.Location, boxscale);
            TextboxSymbol text             = new TextboxSymbol(from, location, boxscale);

            this.Add(text.textbox);
        }
Esempio n. 2
0
        /// <summary>
        /// 加标题
        /// </summary>
        public void AddNewTitle()
        {
            LayoutClass.TextboxSymbol from = new LayoutClass.TextboxSymbol(new Point(30, 40), new Font("宋体", 30), Color.Black, "请输入标题");  //??
            Point         location         = ComputeResizeLocation(from.textbox.Location, boxscale);
            TextboxSymbol text             = new TextboxSymbol(from, location, boxscale);

            this.Add(text.textbox);
        }