Exemplo n.º 1
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UserProfile));
     this.UserInfo            = new System.Windows.Forms.TextBox();
     this.UserName            = new System.Windows.Forms.Label();
     this.label1              = new System.Windows.Forms.Label();
     this.panel1              = new System.Windows.Forms.Panel();
     this.coursebtn           = new System.Windows.Forms.Button();
     this.recentquestionsbtn  = new System.Windows.Forms.Button();
     this.profilebtn          = new System.Windows.Forms.Button();
     this.PictureChangeButton = new StudentForYou.RoundedButton();
     this.usernameChange      = new StudentForYou.RoundedButton();
     this.loggingOut          = new StudentForYou.RoundedButton();
     this.roundPicturebox1    = new StudentForYou.RoundPicturebox();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.roundPicturebox1)).BeginInit();
     this.SuspendLayout();
     //
     // UserInfo
     //
     this.UserInfo.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)));
     this.UserInfo.ForeColor = System.Drawing.SystemColors.InfoText;
     this.UserInfo.Location  = new System.Drawing.Point(410, 340);
     this.UserInfo.Multiline = true;
     this.UserInfo.Name      = "UserInfo";
     this.UserInfo.Size      = new System.Drawing.Size(407, 217);
     this.UserInfo.TabIndex  = 1;
     this.UserInfo.Leave    += new System.EventHandler(this.UserInfo_Leave);
     //
     // UserName
     //
     this.UserName.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)));
     this.UserName.Font      = new System.Drawing.Font("Microsoft Sans Serif", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.UserName.Location  = new System.Drawing.Point(450, 237);
     this.UserName.Name      = "UserName";
     this.UserName.Size      = new System.Drawing.Size(316, 73);
     this.UserName.TabIndex  = 4;
     this.UserName.Text      = "USERNAME";
     this.UserName.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // label1
     //
     this.label1.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)));
     this.label1.AutoSize = true;
     this.label1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(188, 340);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(157, 54);
     this.label1.TabIndex = 5;
     this.label1.Text     = "About ";
     //
     // panel1
     //
     this.panel1.BackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel1.Controls.Add(this.coursebtn);
     this.panel1.Controls.Add(this.recentquestionsbtn);
     this.panel1.Controls.Add(this.profilebtn);
     this.panel1.Location = new System.Drawing.Point(-5, 592);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(1255, 122);
     this.panel1.TabIndex = 12;
     //
     // coursebtn
     //
     this.coursebtn.Font     = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.coursebtn.Location = new System.Drawing.Point(16, 27);
     this.coursebtn.Margin   = new System.Windows.Forms.Padding(6);
     this.coursebtn.Name     = "coursebtn";
     this.coursebtn.Size     = new System.Drawing.Size(270, 51);
     this.coursebtn.TabIndex = 4;
     this.coursebtn.Text     = "Courses";
     this.coursebtn.UseVisualStyleBackColor = true;
     this.coursebtn.Click += new System.EventHandler(this.Coursebtn_Click);
     //
     // recentquestionsbtn
     //
     this.recentquestionsbtn.Font     = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.recentquestionsbtn.Location = new System.Drawing.Point(502, 25);
     this.recentquestionsbtn.Margin   = new System.Windows.Forms.Padding(6);
     this.recentquestionsbtn.Name     = "recentquestionsbtn";
     this.recentquestionsbtn.Size     = new System.Drawing.Size(250, 55);
     this.recentquestionsbtn.TabIndex = 2;
     this.recentquestionsbtn.Text     = "Recent questions";
     this.recentquestionsbtn.UseVisualStyleBackColor = true;
     this.recentquestionsbtn.Click += new System.EventHandler(this.Recentquestionsbtn_Click);
     //
     // profilebtn
     //
     this.profilebtn.Font     = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.profilebtn.Location = new System.Drawing.Point(964, 23);
     this.profilebtn.Margin   = new System.Windows.Forms.Padding(6);
     this.profilebtn.Name     = "profilebtn";
     this.profilebtn.Size     = new System.Drawing.Size(270, 55);
     this.profilebtn.TabIndex = 3;
     this.profilebtn.Text     = "Profile";
     this.profilebtn.UseVisualStyleBackColor = true;
     this.profilebtn.Click += new System.EventHandler(this.Profilebtn_Click);
     //
     // PictureChangeButton
     //
     this.PictureChangeButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)));
     this.PictureChangeButton.Font     = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.PictureChangeButton.Location = new System.Drawing.Point(866, 342);
     this.PictureChangeButton.Name     = "PictureChangeButton";
     this.PictureChangeButton.Size     = new System.Drawing.Size(370, 54);
     this.PictureChangeButton.TabIndex = 11;
     this.PictureChangeButton.Text     = "Change Picture";
     this.PictureChangeButton.UseVisualStyleBackColor = true;
     this.PictureChangeButton.Click += new System.EventHandler(this.PictureChangeButton_Click);
     //
     // usernameChange
     //
     this.usernameChange.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)));
     this.usernameChange.Font     = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.usernameChange.Location = new System.Drawing.Point(866, 422);
     this.usernameChange.Name     = "usernameChange";
     this.usernameChange.Size     = new System.Drawing.Size(370, 54);
     this.usernameChange.TabIndex = 8;
     this.usernameChange.Text     = "Change Username";
     this.usernameChange.UseVisualStyleBackColor = true;
     this.usernameChange.Click += new System.EventHandler(this.UsernameChange_Click);
     //
     // loggingOut
     //
     this.loggingOut.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)));
     this.loggingOut.Font     = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.loggingOut.Location = new System.Drawing.Point(866, 503);
     this.loggingOut.Name     = "loggingOut";
     this.loggingOut.Size     = new System.Drawing.Size(370, 54);
     this.loggingOut.TabIndex = 7;
     this.loggingOut.Text     = "Log Out";
     this.loggingOut.UseVisualStyleBackColor = true;
     this.loggingOut.Click += new System.EventHandler(this.LoggingOut_Click);
     //
     // roundPicturebox1
     //
     this.roundPicturebox1.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)));
     this.roundPicturebox1.Image    = ((System.Drawing.Image)(resources.GetObject("roundPicturebox1.Image")));
     this.roundPicturebox1.Location = new System.Drawing.Point(498, 12);
     this.roundPicturebox1.Name     = "roundPicturebox1";
     this.roundPicturebox1.Size     = new System.Drawing.Size(220, 222);
     this.roundPicturebox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.roundPicturebox1.TabIndex = 6;
     this.roundPicturebox1.TabStop  = false;
     this.roundPicturebox1.Click   += new System.EventHandler(this.RoundPicturebox1_Click);
     //
     // UserProfile
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
     this.ClientSize    = new System.Drawing.Size(1248, 712);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.PictureChangeButton);
     this.Controls.Add(this.usernameChange);
     this.Controls.Add(this.loggingOut);
     this.Controls.Add(this.roundPicturebox1);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.UserName);
     this.Controls.Add(this.UserInfo);
     this.MaximumSize = new System.Drawing.Size(1920, 1200);
     this.MinimumSize = new System.Drawing.Size(300, 400);
     this.Name        = "UserProfile";
     this.Text        = "StudentForYou";
     this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.UserProfile_FormClosed);
     this.Load       += new System.EventHandler(this.UserProfile_Load);
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.roundPicturebox1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }