Пример #1
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.textItText1 = new TextItText(new Point(0, (int)(this.pnlTop.Height)), this);
            this.save_timer  = new Timer();
            this.SuspendLayout();
            //
            // Timer
            //
            save_timer.Interval = 3000;
            save_timer.Tick    += new EventHandler(timer_Tick);
            //
            // textItText1
            //
            this.textItText1.AcceptsReturn = true;
            this.textItText1.BorderStyle   = System.Windows.Forms.BorderStyle.None;
            this.textItText1.Multiline     = true;
            this.textItText1.Name          = "textItText1";
            this.textItText1.Size          = new System.Drawing.Size(147, 30);
            this.textItText1.TabIndex      = 0;
            this.textItText1.Font          = TextStylusModel.GetInstance().DefaultFont;
            this.textItText1.MouseDown    += new System.Windows.Forms.MouseEventHandler(this.textItText1_MouseDown);

            //
            // TextItBox
            //
            this.Controls.Add(this.textItText1);
            this.Name = "TextItBox";
            this.ResumeLayout(false);
            this.PerformLayout();
        }
Пример #2
0
        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.textItText1 = new TextItText(new Point(0,(int)(this.pnlTop.Height)), this);
            this.save_timer = new Timer();
            this.SuspendLayout();
            //
            // Timer
            //
            save_timer.Interval = 3000;
            save_timer.Tick += new EventHandler(timer_Tick);
            //
            // textItText1
            //
            this.textItText1.AcceptsReturn = true;
            this.textItText1.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.textItText1.Multiline = true;
            this.textItText1.Name = "textItText1";
            this.textItText1.Size = new System.Drawing.Size(147, 30);
            this.textItText1.TabIndex = 0;
            this.textItText1.Font = TextStylusModel.GetInstance().DefaultFont;
            this.textItText1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.textItText1_MouseDown);

            //
            // TextItBox
            //
            this.Controls.Add(this.textItText1);
            this.Name = "TextItBox";
            this.ResumeLayout(false);
            this.PerformLayout();
        }