Esempio n. 1
0
        private void CreateControls()
        {
            SuspendLayout();

            panel          = new PictureBox();
            panel.SizeMode = PictureBoxSizeMode.AutoSize;
            panel.Image    = Resources.Info_Panel;
            panel.SetDragable(this);
            Size = panel.Size;
            Controls.Add(panel);

            //닫기버튼
            closeBtn          = new PictureBox();
            closeBtn.Cursor   = Cursors.Hand;
            closeBtn.SizeMode = PictureBoxSizeMode.AutoSize;
            closeBtn.Image    = Resources.Option_CloseBtn;
            closeBtn.Location = new Point(536, Height - 46);
            closeBtn.SetMouseEvent(Color.White, Color.White.Lighting(-10), Color.White.Lighting(-20));
            closeBtn.Click += (object sender, EventArgs e) => {
                Close();
            };
            panel.Controls.Add(closeBtn);

            //버전
            versionText          = new AAText();
            versionText.Location = new Point(38, 80);
            versionText.Font     = FontManager.스웨거체;
            versionText.FontSize = 14;
            versionText.Text     = AppInfo.version;
            versionText.color    = Color.FromArgb(64, 64, 64);
            panel.Controls.Add(versionText);

            ResumeLayout();
        }
Esempio n. 2
0
        private void CreateControls()
        {
            SuspendLayout();

            yyText = new AAText();
            mmText = new AAText();
            ddText = new AAText();
            hhText = new AAText();

            yyText.BackColor = mmText.BackColor = ddText.BackColor = hhText.BackColor = Color.Transparent;
            yyText.Cursor    = mmText.Cursor = ddText.Cursor = hhText.Cursor = Cursors.SizeNS;
            yyText.Location  = new Point(yyTextRight, 26);
            mmText.Location  = new Point(mmTextRight, 54);
            ddText.Location  = new Point(ddTextRight, 54);
            hhText.Location  = new Point(hhTextRIght, 54);

            yyText.Font     = mmText.Font = ddText.Font = hhText.Font = FontManager.만화진흥원체;
            yyText.FontSize = 16;
            mmText.FontSize = ddText.FontSize = hhText.FontSize = 24;
            yyText.color    = mmText.color = ddText.color = hhText.color = Color.FromArgb(184, 184, 184);

            Controls.Add(yyText);
            Controls.Add(mmText);
            Controls.Add(ddText);
            Controls.Add(hhText);

            panelImage.SendToBack();
            hhText.BringToFront();

            ResumeLayout();
        }
Esempio n. 3
0
        private void CreateControls()
        {
            SuspendLayout();

            panel           = new ThreePatch(Resources.Detail_Panel_Left, Resources.Detail_Panel_Mid, Resources.Detail_Panel_Right);
            panel.BackColor = Color.Transparent;
            text            = new AAText();
            text.BackColor  = Color.FromArgb(41, 41, 41);
            text.Font       = FontManager.만화진흥원체;
            text.FontSize   = 12;
            text.color      = Color.White;
            text.Location   = new Point(panel.left.Width, (panel.left.Height - text.Height) / 2 + 3);

            Controls.Add(panel);
            Controls.Add(text);
            text.BringToFront();

            ResumeLayout();
        }