Пример #1
0
        //────────────────────────────────────────
        /// <summary>
        /// コンストラクター。
        /// </summary>
        public UsercontrolCheckbox()
        {
            // ヌル・アクセス防止のため
            this.customcontrolCheckbox1 = new CustomcontrolCheckbox();
            this.memoryButton1 = new MemoryButtonImpl();

            InitializeComponent();
        }
Пример #2
0
        //────────────────────────────────────────
        /// <summary>
        /// コンストラクター。
        /// </summary>
        public MemoryVirticalscrollbarImpl()
        {
            this.memoryUpbutton = new MemoryButtonImpl();
            this.memoryUpbutton.Font = new System.Drawing.Font("MS UI Gothic", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(128))); ;

            this.memoryDownbutton = new MemoryButtonImpl();
            this.memoryDownbutton.Font = new System.Drawing.Font("MS UI Gothic", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(128))); ;

            this.bounds = new Rectangle();
            this.foreBrush = new SolidBrush(SystemColors.ControlText);
            this.backBrush = new SolidBrush(SystemColors.Control);
            this.font = new System.Drawing.Font("MS UI Gothic", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
            this.bMousePointed = false;
        }