コード例 #1
0
ファイル: CypherxLabel.cs プロジェクト: salwanbrother/salwan
        public CypherxLabel()
        {
            Color color;

            CypherxLabel.__ENCAddToList(this);
            FC        = Color.FromArgb(124, 195, 255);
            Font      = new Font("Arial", 8.0F);
            ForeColor = FC;
            BackColor = Color.Transparent;
        }
コード例 #2
0
        private void InitializeComponent()
        {
            Color color;
            Point point1;
            Size  size1;
            SizeF sizeF1;

            components = new Container();
            ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(Licence_Agreement));

            RTheme1       = new RTheme();
            Label1        = new Label();
            RButton2      = new RButton();
            RButton1      = new RButton();
            CypherxLabel1 = new CypherxLabel();
            Timer1        = new Timer(components);
            RTheme1.SuspendLayout();
            SuspendLayout();
            RTheme1.BackColor = Color.FromArgb(28, 28, 28);
            RTheme1.Controls.Add(Label1);
            RTheme1.Controls.Add(RButton2);
            RTheme1.Controls.Add(RButton1);
            RTheme1.Controls.Add(CypherxLabel1);
            RTheme1.Dock      = DockStyle.Fill;
            RTheme1.ForeColor = Color.White;
            RTheme1.Image     = null;
            Point point2 = new Point(0, 0);

            RTheme1.Location   = point2;
            RTheme1.MoveHeight = 26;
            RTheme1.Name       = "RTheme1";
            RTheme1.Resizable  = false;
            Size size2 = new Size(523, 327);

            RTheme1.Size            = size2;
            RTheme1.TabIndex        = 0;
            RTheme1.Text            = "                                                   Terms of Service and License Agreement";
            RTheme1.TransparencyKey = Color.Fuchsia;
            point2                    = new Point(190, 268);
            Label1.Location           = point2;
            Label1.Name               = "Label1";
            size2                     = new Size(143, 48);
            Label1.Size               = size2;
            Label1.TabIndex           = 3;
            Label1.TextAlign          = ContentAlignment.MiddleCenter;
            RButton2.Image            = null;
            point2                    = new Point(12, 268);
            RButton2.Location         = point2;
            RButton2.Name             = "RButton2";
            RButton2.NoRounding       = false;
            size2                     = new Size(172, 48);
            RButton2.Size             = size2;
            RButton2.TabIndex         = 2;
            RButton2.Text             = "Decline";
            RButton1.Enabled          = false;
            RButton1.Image            = null;
            point2                    = new Point(339, 268);
            RButton1.Location         = point2;
            RButton1.Name             = "RButton1";
            RButton1.NoRounding       = false;
            size2                     = new Size(172, 48);
            RButton1.Size             = size2;
            RButton1.TabIndex         = 1;
            RButton1.Text             = "Accept";
            CypherxLabel1.BackColor   = Color.Transparent;
            CypherxLabel1.BorderStyle = BorderStyle.FixedSingle;
            CypherxLabel1.Font        = new Font("Comic Sans MS", 8.5F, FontStyle.Bold);
            CypherxLabel1.ForeColor   = Color.FromArgb(124, 195, 255);
            point2                    = new Point(12, 34);
            CypherxLabel1.Location    = point2;
            CypherxLabel1.Name        = "CypherxLabel1";
            size2                     = new Size(499, 231);
            CypherxLabel1.Size        = size2;
            CypherxLabel1.TabIndex    = 0;
            CypherxLabel1.Text        = componentResourceManager.GetString("CypherxLabel1.Text");
            SizeF sizeF2 = new SizeF(6.0F, 13.0F);

            AutoScaleDimensions = sizeF2;
            AutoScaleMode       = AutoScaleMode.Font;
            size2      = new Size(523, 327);
            ClientSize = size2;
            Controls.Add(RTheme1);
            FormBorderStyle = FormBorderStyle.None;
            Name            = "Licence_Agreement";
            Opacity         = 0.0;
            StartPosition   = FormStartPosition.CenterScreen;
            Text            = "Licence_Agreement";
            TopMost         = true;
            TransparencyKey = Color.Fuchsia;
            RTheme1.ResumeLayout(false);
            ResumeLayout(false);
        }
コード例 #3
0
ファイル: Changelog.cs プロジェクト: salwanbrother/salwan
        private void InitializeComponent()
        {
            Color color;
            Point point1;
            Size  size1;
            SizeF sizeF1;

            ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(Changelog));

            RTheme1        = new RTheme();
            RButtonRed1    = new RButtonRed();
            Changeloglabel = new CypherxLabel();
            RTheme1.SuspendLayout();
            SuspendLayout();
            RTheme1.BackColor = Color.FromArgb(28, 28, 28);
            RTheme1.Controls.Add(RButtonRed1);
            RTheme1.Controls.Add(Changeloglabel);
            RTheme1.Dock      = DockStyle.Fill;
            RTheme1.ForeColor = Color.White;
            RTheme1.Image     = null;
            Point point2 = new Point(0, 0);

            RTheme1.Location   = point2;
            RTheme1.MoveHeight = 26;
            RTheme1.Name       = "RTheme1";
            RTheme1.Resizable  = false;
            Size size2 = new Size(269, 439);

            RTheme1.Size            = size2;
            RTheme1.TabIndex        = 0;
            RTheme1.Text            = "                                 Changelog";
            RTheme1.TransparencyKey = Color.Fuchsia;
            RButtonRed1.Image       = null;
            point2 = new Point(241, 3);
            RButtonRed1.Location   = point2;
            RButtonRed1.Name       = "RButtonRed1";
            RButtonRed1.NoRounding = false;
            size2                      = new Size(23, 21);
            RButtonRed1.Size           = size2;
            RButtonRed1.TabIndex       = 6;
            Changeloglabel.BackColor   = Color.Transparent;
            Changeloglabel.BorderStyle = BorderStyle.FixedSingle;
            Changeloglabel.Font        = new Font("Arial", 8.0F);
            Changeloglabel.ForeColor   = Color.FromArgb(124, 195, 255);
            point2                     = new Point(12, 33);
            Changeloglabel.Location    = point2;
            Changeloglabel.Name        = "Changeloglabel";
            size2                      = new Size(245, 394);
            Changeloglabel.Size        = size2;
            Changeloglabel.TabIndex    = 1;
            Changeloglabel.Text        = componentResourceManager.GetString("Changeloglabel.Text");
            SizeF sizeF2 = new SizeF(6.0F, 13.0F);

            AutoScaleDimensions = sizeF2;
            AutoScaleMode       = AutoScaleMode.Font;
            size2      = new Size(269, 439);
            ClientSize = size2;
            Controls.Add(RTheme1);
            FormBorderStyle = FormBorderStyle.None;
            Icon            = (Icon)componentResourceManager.GetObject("$this.Icon");
            Name            = "Changelog";
            StartPosition   = FormStartPosition.CenterScreen;
            Text            = "Changelog";
            TopMost         = true;
            TransparencyKey = Color.Fuchsia;
            RTheme1.ResumeLayout(false);
            ResumeLayout(false);
        }