コード例 #1
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EditMessage));
     this.RTB = new JHUI.Controls.JTextBox();
     this.SuspendLayout();
     //
     // RTB
     //
     this.RTB.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                              | System.Windows.Forms.AnchorStyles.Left)
                                                             | System.Windows.Forms.AnchorStyles.Right)));
     //
     //
     //
     this.RTB.CustomButton.Image         = null;
     this.RTB.CustomButton.Location      = new System.Drawing.Point(294, 1);
     this.RTB.CustomButton.Name          = "";
     this.RTB.CustomButton.Size          = new System.Drawing.Size(77, 77);
     this.RTB.CustomButton.Style         = JHUI.JColorStyle.Gold;
     this.RTB.CustomButton.TabIndex      = 1;
     this.RTB.CustomButton.Theme         = JHUI.JThemeStyle.Dark;
     this.RTB.CustomButton.UseSelectable = true;
     this.RTB.CustomButton.Visible       = false;
     this.RTB.Lines            = new string[0];
     this.RTB.Location         = new System.Drawing.Point(18, 27);
     this.RTB.MaxLength        = 32767;
     this.RTB.Multiline        = true;
     this.RTB.Name             = "RTB";
     this.RTB.PasswordChar     = '\0';
     this.RTB.ScrollBars       = System.Windows.Forms.ScrollBars.None;
     this.RTB.SelectedText     = "";
     this.RTB.SelectionLength  = 0;
     this.RTB.SelectionStart   = 0;
     this.RTB.ShortcutsEnabled = true;
     this.RTB.Size             = new System.Drawing.Size(372, 79);
     this.RTB.Style            = JHUI.JColorStyle.Silver;
     this.RTB.TabIndex         = 0;
     this.RTB.TextWaterMark    = "";
     this.RTB.Theme            = JHUI.JThemeStyle.Dark;
     this.RTB.UseSelectable    = true;
     this.RTB.WaterMarkColor   = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
     this.RTB.WaterMarkFont    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel);
     //
     // EditMessage
     //
     this.ClientSize = new System.Drawing.Size(413, 129);
     this.Controls.Add(this.RTB);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox   = false;
     this.MinimizeBox   = false;
     this.Name          = "EditMessage";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Style         = JHUI.JColorStyle.Silver;
     this.FormClosing  += new System.Windows.Forms.FormClosingEventHandler(this.EditMessage_FormClosing);
     this.ResumeLayout(false);
 }
コード例 #2
0
        public JournalWindow(BaseControl owner)
            : base(owner)
        {
            Font        = CtlCommon.SmFont;
            Width       = 600;
            Height      = 460;
            WindowStyle = new WindowStyles(WindowStyles.wsScreenCenter, WindowStyles.wsModal, WindowStyles.wsKeyPreview);
            Shifted     = true;
            BackDraw    = false;

            fText         = new JTextBox(this);
            fText.Font    = CtlCommon.SmFont;
            fText.Left    = 10;
            fText.Top     = 10;
            fText.Width   = 580;
            fText.Height  = 440;
            fText.Visible = true;
            //this.fText.setLinks(true);
            fText.OnGetVariable = OnGetVar;
        }
コード例 #3
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AddTrigger));
     this.IndexTB = new JHUI.Controls.JTextBox();
     this.NameTB  = new JHUI.Controls.JTextBox();
     this.SuspendLayout();
     //
     // IndexTB
     //
     this.IndexTB.BackColor = System.Drawing.Color.White;
     //
     //
     //
     this.IndexTB.CustomButton.Image         = null;
     this.IndexTB.CustomButton.Location      = new System.Drawing.Point(242, 2);
     this.IndexTB.CustomButton.Name          = "";
     this.IndexTB.CustomButton.Size          = new System.Drawing.Size(17, 17);
     this.IndexTB.CustomButton.Style         = JHUI.JColorStyle.Blue;
     this.IndexTB.CustomButton.TabIndex      = 1;
     this.IndexTB.CustomButton.Theme         = JHUI.JThemeStyle.Light;
     this.IndexTB.CustomButton.UseSelectable = true;
     this.IndexTB.CustomButton.Visible       = false;
     this.IndexTB.ForeColor        = System.Drawing.Color.Black;
     this.IndexTB.Lines            = new string[0];
     this.IndexTB.Location         = new System.Drawing.Point(12, 24);
     this.IndexTB.MaxLength        = 32767;
     this.IndexTB.Name             = "IndexTB";
     this.IndexTB.PasswordChar     = '\0';
     this.IndexTB.TextWaterMark    = "Triger Index";
     this.IndexTB.ScrollBars       = System.Windows.Forms.ScrollBars.None;
     this.IndexTB.SelectedText     = "";
     this.IndexTB.SelectionLength  = 0;
     this.IndexTB.SelectionStart   = 0;
     this.IndexTB.ShortcutsEnabled = true;
     this.IndexTB.Size             = new System.Drawing.Size(262, 22);
     this.IndexTB.Style            = JHUI.JColorStyle.Silver;
     this.IndexTB.TabIndex         = 0;
     this.IndexTB.TextWaterMark    = "Triger Index";
     this.IndexTB.Theme            = JHUI.JThemeStyle.Dark;
     this.IndexTB.UseSelectable    = true;
     this.IndexTB.WaterMarkColor   = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
     this.IndexTB.WaterMarkFont    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel);
     //
     // NameTB
     //
     this.NameTB.BackColor = System.Drawing.Color.White;
     //
     //
     //
     this.NameTB.CustomButton.Image         = null;
     this.NameTB.CustomButton.Location      = new System.Drawing.Point(242, 2);
     this.NameTB.CustomButton.Name          = "";
     this.NameTB.CustomButton.Size          = new System.Drawing.Size(17, 17);
     this.NameTB.CustomButton.Style         = JHUI.JColorStyle.Blue;
     this.NameTB.CustomButton.TabIndex      = 1;
     this.NameTB.CustomButton.Theme         = JHUI.JThemeStyle.Light;
     this.NameTB.CustomButton.UseSelectable = true;
     this.NameTB.CustomButton.Visible       = false;
     this.NameTB.ForeColor        = System.Drawing.Color.Black;
     this.NameTB.Lines            = new string[0];
     this.NameTB.Location         = new System.Drawing.Point(12, 52);
     this.NameTB.MaxLength        = 32767;
     this.NameTB.Name             = "NameTB";
     this.NameTB.PasswordChar     = '\0';
     this.NameTB.TextWaterMark    = "Triger Name";
     this.NameTB.ScrollBars       = System.Windows.Forms.ScrollBars.None;
     this.NameTB.SelectedText     = "";
     this.NameTB.SelectionLength  = 0;
     this.NameTB.SelectionStart   = 0;
     this.NameTB.ShortcutsEnabled = true;
     this.NameTB.Size             = new System.Drawing.Size(262, 22);
     this.NameTB.Style            = JHUI.JColorStyle.Silver;
     this.NameTB.TabIndex         = 2;
     this.NameTB.TextWaterMark    = "Triger Name";
     this.NameTB.Theme            = JHUI.JThemeStyle.Dark;
     this.NameTB.UseSelectable    = true;
     this.NameTB.WaterMarkColor   = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
     this.NameTB.WaterMarkFont    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel);
     //
     // AddTrigger
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
     this.ClientSize          = new System.Drawing.Size(290, 87);
     this.Controls.Add(this.NameTB);
     this.Controls.Add(this.IndexTB);
     this.Font          = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ForeColor     = System.Drawing.Color.Black;
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Margin        = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.MaximizeBox   = false;
     this.MinimizeBox   = false;
     this.Name          = "AddTrigger";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Style         = JHUI.JColorStyle.Silver;
     this.FormClosing  += new System.Windows.Forms.FormClosingEventHandler(this.AddTrigger_FormClosing);
     this.ResumeLayout(false);
 }