private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form2)); this.LBLWEL = new System.Windows.Forms.Label(); this.Labelhead = new System.Windows.Forms.Label(); this.PictureBox1 = new System.Windows.Forms.PictureBox(); this.LabelLOGIN = new System.Windows.Forms.Label(); this.LabelPASS = new System.Windows.Forms.Label(); this.TEXTBOXLOGIN = new System.Windows.Forms.TextBox(); this.TextBoxPASS = new System.Windows.Forms.TextBox(); this.BTNSUBMIT = new System.Windows.Forms.Button(); this.LABELMSG = new System.Windows.Forms.Label(); this.Buttonsignup = new System.Windows.Forms.Button(); this.Lblsign = new System.Windows.Forms.Label(); this.components = new System.ComponentModel.Container(); this.WebLoginManager1 = new LimnorDatabase.WebLoginManager(this.components); ((System.ComponentModel.ISupportInitialize)(PictureBox1)).BeginInit(); this.SuspendLayout(); // // LBLWEL // this.LBLWEL.Font = new System.Drawing.Font("Arial Rounded MT Bold", 24F); this.LBLWEL.Location = new System.Drawing.Point(368, 12); this.LBLWEL.Name = "LBLWEL"; this.LBLWEL.Size = new System.Drawing.Size(190, 47); this.LBLWEL.TabIndex = 0; this.LBLWEL.Text = "WELCOME"; // // Labelhead // this.Labelhead.Font = new System.Drawing.Font("Algerian", 20.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic)))); this.Labelhead.ForeColor = System.Drawing.Color.Navy; this.Labelhead.Location = new System.Drawing.Point(368, 59); this.Labelhead.Name = "Labelhead"; this.Labelhead.Size = new System.Drawing.Size(175, 29); this.Labelhead.TabIndex = 1; this.Labelhead.Text = "LOGIN HERE"; // // PictureBox1 // this.PictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("PictureBox1.Image"))); this.PictureBox1.Location = new System.Drawing.Point(420, 104); this.PictureBox1.Name = "PictureBox1"; this.PictureBox1.Size = new System.Drawing.Size(51, 50); this.PictureBox1.TabIndex = 2; this.PictureBox1.TabStop = false; // // LabelLOGIN // this.LabelLOGIN.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F, System.Drawing.FontStyle.Bold); this.LabelLOGIN.ForeColor = System.Drawing.Color.Navy; this.LabelLOGIN.Location = new System.Drawing.Point(190, 189); this.LabelLOGIN.Name = "LabelLOGIN"; this.LabelLOGIN.Size = new System.Drawing.Size(180, 33); this.LabelLOGIN.TabIndex = 0; this.LabelLOGIN.Text = "LOGIN NAME"; // // LabelPASS // this.LabelPASS.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F, System.Drawing.FontStyle.Bold); this.LabelPASS.ForeColor = System.Drawing.Color.Navy; this.LabelPASS.Location = new System.Drawing.Point(190, 272); this.LabelPASS.Name = "LabelPASS"; this.LabelPASS.Size = new System.Drawing.Size(161, 34); this.LabelPASS.TabIndex = 0; this.LabelPASS.Text = "PASSWORD"; // // TEXTBOXLOGIN // this.TEXTBOXLOGIN.Location = new System.Drawing.Point(449, 189); this.TEXTBOXLOGIN.Name = "TEXTBOXLOGIN"; this.TEXTBOXLOGIN.Size = new System.Drawing.Size(281, 20); this.TEXTBOXLOGIN.TabIndex = 3; // // TextBoxPASS // this.TextBoxPASS.Location = new System.Drawing.Point(449, 281); this.TextBoxPASS.Name = "TextBoxPASS"; this.TextBoxPASS.Size = new System.Drawing.Size(281, 20); this.TextBoxPASS.TabIndex = 3; // // BTNSUBMIT // this.BTNSUBMIT.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Bold); this.BTNSUBMIT.ForeColor = System.Drawing.Color.Navy; this.BTNSUBMIT.Location = new System.Drawing.Point(449, 344); this.BTNSUBMIT.Name = "BTNSUBMIT"; this.BTNSUBMIT.Size = new System.Drawing.Size(116, 34); this.BTNSUBMIT.TabIndex = 4; this.BTNSUBMIT.Text = "SUBMIT"; this.BTNSUBMIT.UseVisualStyleBackColor = true; this.BTNSUBMIT.Click += new System.EventHandler(this.Click_1f72139d); // // LABELMSG // this.LABELMSG.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic)))); this.LABELMSG.ForeColor = System.Drawing.Color.Navy; this.LABELMSG.Location = new System.Drawing.Point(449, 419); this.LABELMSG.Name = "LABELMSG"; this.LABELMSG.Size = new System.Drawing.Size(116, 23); this.LABELMSG.TabIndex = 5; this.LABELMSG.Text = " MESSAGE"; // // Buttonsignup // this.Buttonsignup.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Bold); this.Buttonsignup.ForeColor = System.Drawing.Color.Navy; this.Buttonsignup.Location = new System.Drawing.Point(449, 488); this.Buttonsignup.Name = "Buttonsignup"; this.Buttonsignup.Size = new System.Drawing.Size(122, 38); this.Buttonsignup.TabIndex = 6; this.Buttonsignup.Text = "SIGNUP"; this.Buttonsignup.UseVisualStyleBackColor = true; this.Buttonsignup.Click += new System.EventHandler(this.Click_125efacd); // // Lblsign // this.Lblsign.Font = new System.Drawing.Font("Microsoft Sans Serif", 21.75F, System.Drawing.FontStyle.Bold); this.Lblsign.Location = new System.Drawing.Point(190, 488); this.Lblsign.Name = "Lblsign"; this.Lblsign.Size = new System.Drawing.Size(239, 38); this.Lblsign.TabIndex = 3; this.Lblsign.Text = "First time here?"; // // WebLoginManager1 // this.WebLoginManager1.ComponentName = "WebLoginManager1"; this.WebLoginManager1.ConnectionID = new System.Guid("50dc8941-d656-4888-9c35-65ce28a08610"); this.WebLoginManager1.DefaultConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Users\\rishabh\\OneDrive\\Documents\\" + "SOFTWAREMERCHANT.mdb;Mode=ReadWrite;"; this.WebLoginManager1.DefaultConnectionType = typeof(System.Data.OleDb.OleDbConnection); this.WebLoginManager1.FailedMessageLableId = "LABELMSG"; this.WebLoginManager1.ID = new System.Guid("99c27aed-11c7-42f2-b9f6-ddcfae9a2a15"); this.WebLoginManager1.InactivityMinutes = 10; this.WebLoginManager1.LabelToShowLoginFailedMessage = this.LABELMSG; this.WebLoginManager1.LoginFailedMessage = null; this.WebLoginManager1.LoginPermissionFailedMessage = null; this.WebLoginManager1.PasswordHash = WindowsUtility.EnumPasswordHash.MD5; this.WebLoginManager1.UserAccountIdFieldName = "USERiD"; this.WebLoginManager1.UserAccountLevelFieldName = "USER LEVEL"; this.WebLoginManager1.UserAccountLoginFieldName = "LOGIN NAME"; this.WebLoginManager1.UserAccountPasswordFieldName = "PASSWORD"; this.WebLoginManager1.UserAccountResetCodeFieldName = "RESET CODE"; this.WebLoginManager1.UserAccountResetCodeTimeFieldName = "RESET CODE EXPIRE"; this.WebLoginManager1.UserAccountSaltFieldName = "SALT"; this.WebLoginManager1.UserAccountTableName = "GLASS"; // // Form2 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.BackColor = System.Drawing.Color.Teal; this.ClientSize = new System.Drawing.Size(917, 618); this.Controls.Add(this.LBLWEL); this.Controls.Add(this.Labelhead); this.Controls.Add(this.PictureBox1); this.Controls.Add(this.LabelLOGIN); this.Controls.Add(this.LabelPASS); this.Controls.Add(this.TEXTBOXLOGIN); this.Controls.Add(this.TextBoxPASS); this.Controls.Add(this.BTNSUBMIT); this.Controls.Add(this.LABELMSG); this.Controls.Add(this.Buttonsignup); this.Controls.Add(this.Lblsign); this.DrawingLayerList = ((Limnor.Drawing2D.DrawingLayerHeaderList)(resources.GetObject("$this.DrawingLayerList"))); this.Name = "Form2"; this.Text = "Form2"; WebLoginManager1.CreateDataTable(); ((System.ComponentModel.ISupportInitialize)(PictureBox1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { LimnorDatabase.DbParameterListExt dbparameterlistext1 = new LimnorDatabase.DbParameterListExt(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CreateResetCode)); this.LabeLHEAD = new System.Windows.Forms.Label(); this.LabelLOGIN = new System.Windows.Forms.Label(); this.TextBoxLOGIN = new System.Windows.Forms.TextBox(); this.ButtonCREATE = new System.Windows.Forms.Button(); this.components = new System.ComponentModel.Container(); this.WebLoginManager1 = new LimnorDatabase.WebLoginManager(this.components); this.MailSender1 = new Limnor.Net.MailSender(); this.EasyDataSet1 = new LimnorDatabase.EasyDataSet(); ((System.ComponentModel.ISupportInitialize)(EasyDataSet1)).BeginInit(); this.SuspendLayout(); // // LabeLHEAD // this.LabeLHEAD.Font = new System.Drawing.Font("Algerian", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic)))); this.LabeLHEAD.ForeColor = System.Drawing.Color.Navy; this.LabeLHEAD.Location = new System.Drawing.Point(73, 65); this.LabeLHEAD.Name = "LabeLHEAD"; this.LabeLHEAD.Size = new System.Drawing.Size(283, 23); this.LabeLHEAD.TabIndex = 0; this.LabeLHEAD.Text = "CREATE PASSWORD RESET CODE"; // // LabelLOGIN // this.LabelLOGIN.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic)))); this.LabelLOGIN.ForeColor = System.Drawing.Color.Navy; this.LabelLOGIN.Location = new System.Drawing.Point(26, 141); this.LabelLOGIN.Name = "LabelLOGIN"; this.LabelLOGIN.Size = new System.Drawing.Size(114, 23); this.LabelLOGIN.TabIndex = 1; this.LabelLOGIN.Text = "LOGIN NAME"; // // TextBoxLOGIN // this.TextBoxLOGIN.Location = new System.Drawing.Point(160, 144); this.TextBoxLOGIN.Name = "TextBoxLOGIN"; this.TextBoxLOGIN.Size = new System.Drawing.Size(238, 20); this.TextBoxLOGIN.TabIndex = 2; // // ButtonCREATE // this.ButtonCREATE.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold); this.ButtonCREATE.Location = new System.Drawing.Point(160, 192); this.ButtonCREATE.Name = "ButtonCREATE"; this.ButtonCREATE.Size = new System.Drawing.Size(107, 28); this.ButtonCREATE.TabIndex = 3; this.ButtonCREATE.Text = "CREATE"; this.ButtonCREATE.UseVisualStyleBackColor = true; this.ButtonCREATE.Click += new System.EventHandler(this.Click_618b62c7); // // WebLoginManager1 // this.WebLoginManager1.ComponentName = "WebLoginManager1"; this.WebLoginManager1.ConnectionID = new System.Guid("1a3e6d80-9bb0-4583-8429-2967b832ae28"); this.WebLoginManager1.DefaultConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Users\\rishabh\\OneDrive\\Documents\\" + "SOFTWAREMERCHANT.mdb;Mode=ReadWrite;"; this.WebLoginManager1.DefaultConnectionType = typeof(System.Data.OleDb.OleDbConnection); this.WebLoginManager1.FailedMessageLableId = null; this.WebLoginManager1.ID = new System.Guid("e799cdf3-976e-407d-9d3a-3010d7f826a3"); this.WebLoginManager1.InactivityMinutes = 0; this.WebLoginManager1.LabelToShowLoginFailedMessage = null; this.WebLoginManager1.LoginFailedMessage = null; this.WebLoginManager1.LoginPermissionFailedMessage = null; this.WebLoginManager1.PasswordHash = WindowsUtility.EnumPasswordHash.SHA256; this.WebLoginManager1.UserAccountIdFieldName = "USERiD"; this.WebLoginManager1.UserAccountLevelFieldName = "USER LEVEL"; this.WebLoginManager1.UserAccountLoginFieldName = "LOGIN NAME"; this.WebLoginManager1.UserAccountPasswordFieldName = "PASSWORD"; this.WebLoginManager1.UserAccountResetCodeFieldName = "RESET CODE"; this.WebLoginManager1.UserAccountResetCodeTimeFieldName = "RESET CODE EXPIRE"; this.WebLoginManager1.UserAccountSaltFieldName = "SALT"; this.WebLoginManager1.UserAccountTableName = "GLASS"; // // EasyDataSet1 // this.EasyDataSet1.ConnectionID = new System.Guid("1a3e6d80-9bb0-4583-8429-2967b832ae28"); this.EasyDataSet1.DataSetName = "Data_fa3c1d71-7a61-4a1a-9c36-59a8e5585c91"; this.EasyDataSet1.DefaultConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Users\\rishabh\\OneDrive\\Documents\\" + "SOFTWAREMERCHANT.mdb;Mode=ReadWrite;"; this.EasyDataSet1.DefaultConnectionType = typeof(System.Data.OleDb.OleDbConnection); this.EasyDataSet1.Description = null; this.EasyDataSet1.DynamicParameters = dbparameterlistext1; this.EasyDataSet1.Field_DataSize = new int[] { 255 }; this.EasyDataSet1.Field_FieldCaption = new string[] { null }; this.EasyDataSet1.Field_FieldText = new string[] { "[GLASS].[E-MAIL]" }; this.EasyDataSet1.Field_FromTableName = new string[] { "GLASS" }; this.EasyDataSet1.Field_Indexed = new bool[] { false }; this.EasyDataSet1.Field_IsIdentity = new bool[] { false }; this.EasyDataSet1.Field_Name = new string[] { "E-MAIL" }; this.EasyDataSet1.Field_OleDbType = new System.Data.OleDb.OleDbType[] { System.Data.OleDb.OleDbType.VarWChar }; this.EasyDataSet1.Field_ReadOnly = new bool[] { false }; this.EasyDataSet1.From = "[GLASS]"; this.EasyDataSet1.GroupBy = null; this.EasyDataSet1.Having = null; this.EasyDataSet1.IsFieldImage = new bool[] { false }; this.EasyDataSet1.Limit = null; this.EasyDataSet1.Name = "EasyDataSet1"; this.EasyDataSet1.OrderBy = null; this.EasyDataSet1.Param_Name = new string[] { "@loginName" }; this.EasyDataSet1.Param_OleDbType = new System.Data.OleDb.OleDbType[] { System.Data.OleDb.OleDbType.VarWChar }; this.EasyDataSet1.Param_Value = new string[] { "System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c5" + "61934e089|" }; this.EasyDataSet1.TableName = "Table2873653136"; this.EasyDataSet1.UpdatableTableName = null; this.EasyDataSet1.Where = "[GLASS].[LOGIN NAME] = @loginName"; // // CreateResetCode // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.ClientSize = new System.Drawing.Size(444, 327); this.Controls.Add(this.LabeLHEAD); this.Controls.Add(this.LabelLOGIN); this.Controls.Add(this.TextBoxLOGIN); this.Controls.Add(this.ButtonCREATE); this.DrawingLayerList = ((Limnor.Drawing2D.DrawingLayerHeaderList)(resources.GetObject("$this.DrawingLayerList"))); this.Name = "CreateResetCode"; this.Text = "CreateResetCode"; WebLoginManager1.CreateDataTable(); EasyDataSet1.CreateDataTable(); EasyDataSet1.Query(); ((System.ComponentModel.ISupportInitialize)(EasyDataSet1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CreateNewUser)); LimnorDatabase.SQLNoneQuery sqlnonequery1 = new LimnorDatabase.SQLNoneQuery(); LimnorDatabase.DbParameterListExt dbparameterlistext1 = new LimnorDatabase.DbParameterListExt(); this.Label1 = new System.Windows.Forms.Label(); this.PictureBox1 = new System.Windows.Forms.PictureBox(); this.LabelLNM = new System.Windows.Forms.Label(); this.LabelSTATE = new System.Windows.Forms.Label(); this.LabelCONTACT = new System.Windows.Forms.Label(); this.LabelLOGIN = new System.Windows.Forms.Label(); this.LabelFNM = new System.Windows.Forms.Label(); this.LabelLEVEL = new System.Windows.Forms.Label(); this.LabelEMAIL = new System.Windows.Forms.Label(); this.TextBoxLNM = new System.Windows.Forms.TextBox(); this.TextBoxSTATE = new System.Windows.Forms.TextBox(); this.TextBoxCONTACT = new System.Windows.Forms.TextBox(); this.TextBoxEMAIL = new System.Windows.Forms.TextBox(); this.TextBoxLOGIN = new System.Windows.Forms.TextBox(); this.TextBoxLEVEL = new System.Windows.Forms.TextBox(); this.TextBoxFNM = new System.Windows.Forms.TextBox(); this.ButtonCREATE = new System.Windows.Forms.Button(); this.LabelMSG = new System.Windows.Forms.Label(); this.components = new System.ComponentModel.Container(); this.EasyUpdator1 = new LimnorDatabase.EasyUpdator(this.components); this.EasyDataSet1 = new LimnorDatabase.EasyDataSet(); this.WebLoginManager1 = new LimnorDatabase.WebLoginManager(this.components); this.MailSender1 = new Limnor.Net.MailSender(); ((System.ComponentModel.ISupportInitialize)(EasyDataSet1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(PictureBox1)).BeginInit(); this.SuspendLayout(); // // Label1 // this.Label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic)))); this.Label1.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; this.Label1.Location = new System.Drawing.Point(158, 27); this.Label1.Name = "Label1"; this.Label1.Size = new System.Drawing.Size(111, 23); this.Label1.TabIndex = 0; this.Label1.Text = "NEW USER"; // // PictureBox1 // this.PictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("PictureBox1.Image"))); this.PictureBox1.Location = new System.Drawing.Point(175, 53); this.PictureBox1.Name = "PictureBox1"; this.PictureBox1.Size = new System.Drawing.Size(64, 44); this.PictureBox1.TabIndex = 1; this.PictureBox1.TabStop = false; // // LabelLNM // this.LabelLNM.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic)))); this.LabelLNM.ForeColor = System.Drawing.Color.Navy; this.LabelLNM.Location = new System.Drawing.Point(31, 168); this.LabelLNM.Name = "LabelLNM"; this.LabelLNM.Size = new System.Drawing.Size(121, 23); this.LabelLNM.TabIndex = 2; this.LabelLNM.Text = " LAST NAME"; // // LabelSTATE // this.LabelSTATE.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic)))); this.LabelSTATE.ForeColor = System.Drawing.Color.Navy; this.LabelSTATE.Location = new System.Drawing.Point(78, 203); this.LabelSTATE.Name = "LabelSTATE"; this.LabelSTATE.Size = new System.Drawing.Size(74, 23); this.LabelSTATE.TabIndex = 2; this.LabelSTATE.Text = " STATE"; // // LabelCONTACT // this.LabelCONTACT.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic)))); this.LabelCONTACT.ForeColor = System.Drawing.Color.Navy; this.LabelCONTACT.Location = new System.Drawing.Point(31, 239); this.LabelCONTACT.Name = "LabelCONTACT"; this.LabelCONTACT.Size = new System.Drawing.Size(121, 23); this.LabelCONTACT.TabIndex = 2; this.LabelCONTACT.Text = "CONTACT NO"; // // LabelLOGIN // this.LabelLOGIN.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic)))); this.LabelLOGIN.ForeColor = System.Drawing.Color.Navy; this.LabelLOGIN.Location = new System.Drawing.Point(31, 322); this.LabelLOGIN.Name = "LabelLOGIN"; this.LabelLOGIN.Size = new System.Drawing.Size(121, 23); this.LabelLOGIN.TabIndex = 2; this.LabelLOGIN.Text = " LOGIN NAME"; // // LabelFNM // this.LabelFNM.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic)))); this.LabelFNM.ForeColor = System.Drawing.Color.Navy; this.LabelFNM.Location = new System.Drawing.Point(31, 131); this.LabelFNM.Name = "LabelFNM"; this.LabelFNM.Size = new System.Drawing.Size(121, 23); this.LabelFNM.TabIndex = 2; this.LabelFNM.Text = " FIRST NAME"; // // LabelLEVEL // this.LabelLEVEL.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic)))); this.LabelLEVEL.ForeColor = System.Drawing.Color.Navy; this.LabelLEVEL.Location = new System.Drawing.Point(43, 362); this.LabelLEVEL.Name = "LabelLEVEL"; this.LabelLEVEL.Size = new System.Drawing.Size(109, 23); this.LabelLEVEL.TabIndex = 2; this.LabelLEVEL.Text = "USER LEVEL"; // // LabelEMAIL // this.LabelEMAIL.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic)))); this.LabelEMAIL.ForeColor = System.Drawing.Color.Navy; this.LabelEMAIL.Location = new System.Drawing.Point(78, 275); this.LabelEMAIL.Name = "LabelEMAIL"; this.LabelEMAIL.Size = new System.Drawing.Size(74, 23); this.LabelEMAIL.TabIndex = 2; this.LabelEMAIL.Text = " E-MAIL"; // // TextBoxLNM // this.TextBoxLNM.Location = new System.Drawing.Point(248, 169); this.TextBoxLNM.Name = "TextBoxLNM"; this.TextBoxLNM.Size = new System.Drawing.Size(200, 20); this.TextBoxLNM.TabIndex = 3; // // TextBoxSTATE // this.TextBoxSTATE.Location = new System.Drawing.Point(248, 204); this.TextBoxSTATE.Name = "TextBoxSTATE"; this.TextBoxSTATE.Size = new System.Drawing.Size(200, 20); this.TextBoxSTATE.TabIndex = 3; // // TextBoxCONTACT // this.TextBoxCONTACT.Location = new System.Drawing.Point(248, 240); this.TextBoxCONTACT.Name = "TextBoxCONTACT"; this.TextBoxCONTACT.Size = new System.Drawing.Size(200, 20); this.TextBoxCONTACT.TabIndex = 3; // // TextBoxEMAIL // this.TextBoxEMAIL.Location = new System.Drawing.Point(248, 276); this.TextBoxEMAIL.Name = "TextBoxEMAIL"; this.TextBoxEMAIL.Size = new System.Drawing.Size(200, 20); this.TextBoxEMAIL.TabIndex = 3; // // TextBoxLOGIN // this.TextBoxLOGIN.Location = new System.Drawing.Point(248, 323); this.TextBoxLOGIN.Name = "TextBoxLOGIN"; this.TextBoxLOGIN.Size = new System.Drawing.Size(200, 20); this.TextBoxLOGIN.TabIndex = 3; // // TextBoxLEVEL // this.TextBoxLEVEL.Location = new System.Drawing.Point(248, 363); this.TextBoxLEVEL.Name = "TextBoxLEVEL"; this.TextBoxLEVEL.Size = new System.Drawing.Size(200, 20); this.TextBoxLEVEL.TabIndex = 3; // // TextBoxFNM // this.TextBoxFNM.Location = new System.Drawing.Point(248, 132); this.TextBoxFNM.Name = "TextBoxFNM"; this.TextBoxFNM.Size = new System.Drawing.Size(200, 20); this.TextBoxFNM.TabIndex = 3; // // ButtonCREATE // this.ButtonCREATE.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold); this.ButtonCREATE.Location = new System.Drawing.Point(248, 401); this.ButtonCREATE.Name = "ButtonCREATE"; this.ButtonCREATE.Size = new System.Drawing.Size(200, 32); this.ButtonCREATE.TabIndex = 4; this.ButtonCREATE.Text = "CREATE"; this.ButtonCREATE.UseVisualStyleBackColor = true; this.ButtonCREATE.Click += new System.EventHandler(this.Click_cbaeeb88); // // LabelMSG // this.LabelMSG.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold); this.LabelMSG.ForeColor = System.Drawing.Color.Black; this.LabelMSG.Location = new System.Drawing.Point(304, 436); this.LabelMSG.Name = "LabelMSG"; this.LabelMSG.Size = new System.Drawing.Size(82, 23); this.LabelMSG.TabIndex = 5; this.LabelMSG.Text = "MESSAGE"; // // EasyUpdator1 // this.EasyUpdator1.ConnectionID = new System.Guid("1a3e6d80-9bb0-4583-8429-2967b832ae28"); this.EasyUpdator1.DefaultConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Users\\rishabh\\OneDrive\\Documents\\" + "SOFTWAREMERCHANT.mdb;Mode=ReadWrite;"; this.EasyUpdator1.DefaultConnectionType = typeof(System.Data.OleDb.OleDbConnection); sqlnonequery1.CommandType = LimnorDatabase.enmNonQueryType.Insert; sqlnonequery1.MultiRow = false; sqlnonequery1.Param_Name = new string[] { "@firstname", "@lastname", "@state", "@contact", "@email", "@loginname", "@level" }; sqlnonequery1.Param_OleDbType = new System.Data.OleDb.OleDbType[] { System.Data.OleDb.OleDbType.VarWChar, System.Data.OleDb.OleDbType.VarWChar, System.Data.OleDb.OleDbType.VarWChar, System.Data.OleDb.OleDbType.VarWChar, System.Data.OleDb.OleDbType.VarWChar, System.Data.OleDb.OleDbType.VarWChar, System.Data.OleDb.OleDbType.Integer }; sqlnonequery1.Param_Value = new string[] { "System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c5" + "61934e089|", "System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c5" + "61934e089|", "System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c5" + "61934e089|", "System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c5" + "61934e089|", "System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c5" + "61934e089|", "System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c5" + "61934e089|", "System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c56" + "1934e089|0" }; sqlnonequery1.SQL = "INSERT INTO [GLASS] ([FIRST NAME],[LAST NAME],[STATE],[CONTACT NO],[E-MAIL],[LOGI" + "N NAME],[USER LEVEL]) VALUES (@firstname,@lastname,@state,@contact,@email,@logi" + "nname,@level)"; sqlnonequery1.TableName = ""; this.EasyUpdator1.ExecutionCommand = sqlnonequery1; this.EasyUpdator1.LastInsertID = 0; this.EasyUpdator1.Name = "EasyUpdator1"; // // EasyDataSet1 // this.EasyDataSet1.ConnectionID = new System.Guid("1a3e6d80-9bb0-4583-8429-2967b832ae28"); this.EasyDataSet1.DataSetName = "Data_632670bb-cd86-4824-abd7-fddafa4cf860"; this.EasyDataSet1.DefaultConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Users\\rishabh\\OneDrive\\Documents\\" + "SOFTWAREMERCHANT.mdb;Mode=ReadWrite;"; this.EasyDataSet1.DefaultConnectionType = typeof(System.Data.OleDb.OleDbConnection); this.EasyDataSet1.Description = null; this.EasyDataSet1.DynamicParameters = dbparameterlistext1; this.EasyDataSet1.Field_DataSize = new int[] { 4 }; this.EasyDataSet1.Field_FieldCaption = new string[] { null }; this.EasyDataSet1.Field_FieldText = new string[] { "[GLASS].[USERiD]" }; this.EasyDataSet1.Field_FromTableName = new string[] { "GLASS" }; this.EasyDataSet1.Field_Indexed = new bool[] { true }; this.EasyDataSet1.Field_IsIdentity = new bool[] { true }; this.EasyDataSet1.Field_Name = new string[] { "USERiD" }; this.EasyDataSet1.Field_OleDbType = new System.Data.OleDb.OleDbType[] { System.Data.OleDb.OleDbType.Integer }; this.EasyDataSet1.Field_ReadOnly = new bool[] { true }; this.EasyDataSet1.From = "[GLASS]"; this.EasyDataSet1.GroupBy = null; this.EasyDataSet1.Having = null; this.EasyDataSet1.IsFieldImage = new bool[] { false }; this.EasyDataSet1.Limit = null; this.EasyDataSet1.Name = "EasyDataSet1"; this.EasyDataSet1.OrderBy = null; this.EasyDataSet1.Param_Name = new string[] { "@loginName" }; this.EasyDataSet1.Param_OleDbType = new System.Data.OleDb.OleDbType[] { System.Data.OleDb.OleDbType.VarWChar }; this.EasyDataSet1.Param_Value = new string[] { "System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c5" + "61934e089|" }; this.EasyDataSet1.TableName = "Table3486311435"; this.EasyDataSet1.UpdatableTableName = "GLASS"; this.EasyDataSet1.Where = "[GLASS].[LOGIN NAME] = @loginName"; // // WebLoginManager1 // this.WebLoginManager1.ComponentName = "WebLoginManager1"; this.WebLoginManager1.ConnectionID = new System.Guid("1a3e6d80-9bb0-4583-8429-2967b832ae28"); this.WebLoginManager1.DefaultConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Users\\rishabh\\OneDrive\\Documents\\" + "SOFTWAREMERCHANT.mdb;Mode=ReadWrite;"; this.WebLoginManager1.DefaultConnectionType = typeof(System.Data.OleDb.OleDbConnection); this.WebLoginManager1.FailedMessageLableId = null; this.WebLoginManager1.ID = new System.Guid("5f30d976-45da-4402-8cd0-daf9b4f58c1d"); this.WebLoginManager1.InactivityMinutes = 0; this.WebLoginManager1.LabelToShowLoginFailedMessage = null; this.WebLoginManager1.LoginFailedMessage = null; this.WebLoginManager1.LoginPermissionFailedMessage = null; this.WebLoginManager1.PasswordHash = WindowsUtility.EnumPasswordHash.SHA256; this.WebLoginManager1.UserAccountIdFieldName = "USERiD"; this.WebLoginManager1.UserAccountLevelFieldName = "USER LEVEL"; this.WebLoginManager1.UserAccountLoginFieldName = "LOGIN NAME"; this.WebLoginManager1.UserAccountPasswordFieldName = "PASSWORD"; this.WebLoginManager1.UserAccountResetCodeFieldName = "RESET CODE"; this.WebLoginManager1.UserAccountResetCodeTimeFieldName = "RESET CODE EXPIRE"; this.WebLoginManager1.UserAccountSaltFieldName = "SALT"; this.WebLoginManager1.UserAccountTableName = "GLASS"; // // CreateNewUser // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.ClientSize = new System.Drawing.Size(472, 478); this.Controls.Add(this.Label1); this.Controls.Add(this.PictureBox1); this.Controls.Add(this.LabelLNM); this.Controls.Add(this.LabelSTATE); this.Controls.Add(this.LabelCONTACT); this.Controls.Add(this.LabelLOGIN); this.Controls.Add(this.LabelFNM); this.Controls.Add(this.LabelLEVEL); this.Controls.Add(this.LabelEMAIL); this.Controls.Add(this.TextBoxLNM); this.Controls.Add(this.TextBoxSTATE); this.Controls.Add(this.TextBoxCONTACT); this.Controls.Add(this.TextBoxEMAIL); this.Controls.Add(this.TextBoxLOGIN); this.Controls.Add(this.TextBoxLEVEL); this.Controls.Add(this.TextBoxFNM); this.Controls.Add(this.ButtonCREATE); this.Controls.Add(this.LabelMSG); this.DrawingLayerList = ((Limnor.Drawing2D.DrawingLayerHeaderList)(resources.GetObject("$this.DrawingLayerList"))); this.Name = "CreateNewUser"; this.Text = "CreateNewUser"; EasyDataSet1.CreateDataTable(); EasyDataSet1.Query(); WebLoginManager1.CreateDataTable(); ((System.ComponentModel.ISupportInitialize)(EasyDataSet1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(PictureBox1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ResetPassword)); this.LabelHEAD = new System.Windows.Forms.Label(); this.LabelRSCODE = new System.Windows.Forms.Label(); this.LabelNEWPASS = new System.Windows.Forms.Label(); this.LabelCONFPASS = new System.Windows.Forms.Label(); this.LabelLOGINNM = new System.Windows.Forms.Label(); this.TextBoxRSCODE = new System.Windows.Forms.TextBox(); this.TextBoxNEWPASS = new System.Windows.Forms.TextBox(); this.TextBoxCONFPASS = new System.Windows.Forms.TextBox(); this.TextBoxLOGINNM = new System.Windows.Forms.TextBox(); this.LabelMSG = new System.Windows.Forms.Label(); this.ButtonSUBMIT = new System.Windows.Forms.Button(); this.components = new System.ComponentModel.Container(); this.WebLoginManager1 = new LimnorDatabase.WebLoginManager(this.components); this.SuspendLayout(); // // LabelHEAD // this.LabelHEAD.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic)))); this.LabelHEAD.ForeColor = System.Drawing.Color.Navy; this.LabelHEAD.Location = new System.Drawing.Point(105, 48); this.LabelHEAD.Name = "LabelHEAD"; this.LabelHEAD.Size = new System.Drawing.Size(184, 27); this.LabelHEAD.TabIndex = 0; this.LabelHEAD.Text = "RESET PASSWORD"; // // LabelRSCODE // this.LabelRSCODE.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold); this.LabelRSCODE.ForeColor = System.Drawing.Color.Navy; this.LabelRSCODE.Location = new System.Drawing.Point(96, 155); this.LabelRSCODE.Name = "LabelRSCODE"; this.LabelRSCODE.Size = new System.Drawing.Size(117, 23); this.LabelRSCODE.TabIndex = 1; this.LabelRSCODE.Text = "RESET CODE"; // // LabelNEWPASS // this.LabelNEWPASS.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold); this.LabelNEWPASS.ForeColor = System.Drawing.Color.Navy; this.LabelNEWPASS.Location = new System.Drawing.Point(64, 197); this.LabelNEWPASS.Name = "LabelNEWPASS"; this.LabelNEWPASS.Size = new System.Drawing.Size(149, 23); this.LabelNEWPASS.TabIndex = 1; this.LabelNEWPASS.Text = "NEW PASSWORD"; // // LabelCONFPASS // this.LabelCONFPASS.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold); this.LabelCONFPASS.ForeColor = System.Drawing.Color.Navy; this.LabelCONFPASS.Location = new System.Drawing.Point(25, 235); this.LabelCONFPASS.Name = "LabelCONFPASS"; this.LabelCONFPASS.Size = new System.Drawing.Size(188, 23); this.LabelCONFPASS.TabIndex = 1; this.LabelCONFPASS.Text = "CONFIRM PASSWORD"; // // LabelLOGINNM // this.LabelLOGINNM.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold); this.LabelLOGINNM.ForeColor = System.Drawing.Color.Navy; this.LabelLOGINNM.Location = new System.Drawing.Point(102, 121); this.LabelLOGINNM.Name = "LabelLOGINNM"; this.LabelLOGINNM.Size = new System.Drawing.Size(111, 23); this.LabelLOGINNM.TabIndex = 1; this.LabelLOGINNM.Text = "LOGIN NAME"; // // TextBoxRSCODE // this.TextBoxRSCODE.Location = new System.Drawing.Point(219, 156); this.TextBoxRSCODE.Name = "TextBoxRSCODE"; this.TextBoxRSCODE.Size = new System.Drawing.Size(183, 20); this.TextBoxRSCODE.TabIndex = 2; // // TextBoxNEWPASS // this.TextBoxNEWPASS.Location = new System.Drawing.Point(219, 197); this.TextBoxNEWPASS.Name = "TextBoxNEWPASS"; this.TextBoxNEWPASS.Size = new System.Drawing.Size(183, 20); this.TextBoxNEWPASS.TabIndex = 2; // // TextBoxCONFPASS // this.TextBoxCONFPASS.Location = new System.Drawing.Point(219, 236); this.TextBoxCONFPASS.Name = "TextBoxCONFPASS"; this.TextBoxCONFPASS.Size = new System.Drawing.Size(183, 20); this.TextBoxCONFPASS.TabIndex = 2; // // TextBoxLOGINNM // this.TextBoxLOGINNM.Location = new System.Drawing.Point(219, 122); this.TextBoxLOGINNM.Name = "TextBoxLOGINNM"; this.TextBoxLOGINNM.Size = new System.Drawing.Size(183, 20); this.TextBoxLOGINNM.TabIndex = 2; // // LabelMSG // this.LabelMSG.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold); this.LabelMSG.Location = new System.Drawing.Point(219, 341); this.LabelMSG.Name = "LabelMSG"; this.LabelMSG.Size = new System.Drawing.Size(89, 23); this.LabelMSG.TabIndex = 3; this.LabelMSG.Text = "MESSAGE"; // // ButtonSUBMIT // this.ButtonSUBMIT.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold); this.ButtonSUBMIT.Location = new System.Drawing.Point(219, 289); this.ButtonSUBMIT.Name = "ButtonSUBMIT"; this.ButtonSUBMIT.Size = new System.Drawing.Size(89, 38); this.ButtonSUBMIT.TabIndex = 4; this.ButtonSUBMIT.Text = "SUBMIT"; this.ButtonSUBMIT.UseVisualStyleBackColor = true; this.ButtonSUBMIT.Click += new System.EventHandler(this.Click_5737c658); // // WebLoginManager1 // this.WebLoginManager1.ComponentName = "WebLoginManager1"; this.WebLoginManager1.ConnectionID = new System.Guid("1a3e6d80-9bb0-4583-8429-2967b832ae28"); this.WebLoginManager1.DefaultConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Users\\rishabh\\OneDrive\\Documents\\" + "SOFTWAREMERCHANT.mdb;Mode=ReadWrite;"; this.WebLoginManager1.DefaultConnectionType = typeof(System.Data.OleDb.OleDbConnection); this.WebLoginManager1.FailedMessageLableId = "LabelMSG"; this.WebLoginManager1.ID = new System.Guid("2d0d28b4-73a0-445c-a552-804358ca8ae4"); this.WebLoginManager1.InactivityMinutes = 10; this.WebLoginManager1.LabelToShowLoginFailedMessage = this.LabelMSG; this.WebLoginManager1.LoginFailedMessage = null; this.WebLoginManager1.LoginPermissionFailedMessage = null; this.WebLoginManager1.PasswordHash = WindowsUtility.EnumPasswordHash.SHA256; this.WebLoginManager1.UserAccountIdFieldName = "USERiD"; this.WebLoginManager1.UserAccountLevelFieldName = "USER LEVEL"; this.WebLoginManager1.UserAccountLoginFieldName = "E-MAIL"; this.WebLoginManager1.UserAccountPasswordFieldName = "PASSWORD"; this.WebLoginManager1.UserAccountResetCodeFieldName = "RESET CODE"; this.WebLoginManager1.UserAccountResetCodeTimeFieldName = "RESET CODE EXPIRE"; this.WebLoginManager1.UserAccountSaltFieldName = "SALT"; this.WebLoginManager1.UserAccountTableName = "GLASS"; // // ResetPassword // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.ClientSize = new System.Drawing.Size(414, 404); this.Controls.Add(this.LabelHEAD); this.Controls.Add(this.LabelRSCODE); this.Controls.Add(this.LabelNEWPASS); this.Controls.Add(this.LabelCONFPASS); this.Controls.Add(this.LabelLOGINNM); this.Controls.Add(this.TextBoxRSCODE); this.Controls.Add(this.TextBoxNEWPASS); this.Controls.Add(this.TextBoxCONFPASS); this.Controls.Add(this.TextBoxLOGINNM); this.Controls.Add(this.LabelMSG); this.Controls.Add(this.ButtonSUBMIT); this.DrawingLayerList = ((Limnor.Drawing2D.DrawingLayerHeaderList)(resources.GetObject("$this.DrawingLayerList"))); this.Name = "ResetPassword"; this.Text = "ResetPassword"; WebLoginManager1.CreateDataTable(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); LimnorDatabase.DbParameterListExt dbparameterlistext1 = new LimnorDatabase.DbParameterListExt(); LimnorDatabase.SQLNoneQuery sqlnonequery1 = new LimnorDatabase.SQLNoneQuery(); this.Label1 = new System.Windows.Forms.Label(); this.PictureBox1 = new System.Windows.Forms.PictureBox(); this.LabelLNM = new System.Windows.Forms.Label(); this.LabelFNM = new System.Windows.Forms.Label(); this.LabelSTATE = new System.Windows.Forms.Label(); this.LabelCONTACT = new System.Windows.Forms.Label(); this.LabelEMAIL = new System.Windows.Forms.Label(); this.LabelLOGIN = new System.Windows.Forms.Label(); this.LabelPASS = new System.Windows.Forms.Label(); this.TextBoxFNM = new System.Windows.Forms.TextBox(); this.TextBoxLNM = new System.Windows.Forms.TextBox(); this.TextBoxSTATE = new System.Windows.Forms.TextBox(); this.TextBoxCONTACT = new System.Windows.Forms.TextBox(); this.TextBoxEMAIL = new System.Windows.Forms.TextBox(); this.TextBoxLOGIN = new System.Windows.Forms.TextBox(); this.TextBoxPASSword = new System.Windows.Forms.TextBox(); this.ButtonCREATE = new System.Windows.Forms.Button(); this.LabelMSG = new System.Windows.Forms.Label(); this.Lblaccount = new System.Windows.Forms.Label(); this.ButtoNLOGIN = new System.Windows.Forms.Button(); this.components = new System.ComponentModel.Container(); this.WebLoginManager1 = new LimnorDatabase.WebLoginManager(this.components); this.EasyDataSet1 = new LimnorDatabase.EasyDataSet(); this.EasyUpdator1 = new LimnorDatabase.EasyUpdator(this.components); this.MailSender1 = new Limnor.Net.MailSender(); ((System.ComponentModel.ISupportInitialize)(EasyDataSet1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(PictureBox1)).BeginInit(); this.SuspendLayout(); // // Label1 // this.Label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 20.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic)))); this.Label1.ForeColor = System.Drawing.Color.Navy; this.Label1.Location = new System.Drawing.Point(316, 20); this.Label1.Name = "Label1"; this.Label1.Size = new System.Drawing.Size(220, 30); this.Label1.TabIndex = 0; this.Label1.Text = "SIGNUP HERE"; // // PictureBox1 // this.PictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("PictureBox1.Image"))); this.PictureBox1.Location = new System.Drawing.Point(384, 53); this.PictureBox1.Name = "PictureBox1"; this.PictureBox1.Size = new System.Drawing.Size(64, 44); this.PictureBox1.TabIndex = 1; this.PictureBox1.TabStop = false; // // LabelLNM // this.LabelLNM.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Bold); this.LabelLNM.ForeColor = System.Drawing.Color.Navy; this.LabelLNM.Location = new System.Drawing.Point(166, 162); this.LabelLNM.Name = "LabelLNM"; this.LabelLNM.Size = new System.Drawing.Size(160, 23); this.LabelLNM.TabIndex = 2; this.LabelLNM.Text = "LAST NAME"; // // LabelFNM // this.LabelFNM.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Bold); this.LabelFNM.ForeColor = System.Drawing.Color.Navy; this.LabelFNM.Location = new System.Drawing.Point(166, 125); this.LabelFNM.Name = "LabelFNM"; this.LabelFNM.Size = new System.Drawing.Size(170, 23); this.LabelFNM.TabIndex = 2; this.LabelFNM.Text = "FIRST NAME"; // // LabelSTATE // this.LabelSTATE.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Bold); this.LabelSTATE.ForeColor = System.Drawing.Color.Navy; this.LabelSTATE.Location = new System.Drawing.Point(166, 200); this.LabelSTATE.Name = "LabelSTATE"; this.LabelSTATE.Size = new System.Drawing.Size(94, 23); this.LabelSTATE.TabIndex = 2; this.LabelSTATE.Text = "STATE"; // // LabelCONTACT // this.LabelCONTACT.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Bold); this.LabelCONTACT.ForeColor = System.Drawing.Color.Navy; this.LabelCONTACT.Location = new System.Drawing.Point(166, 236); this.LabelCONTACT.Name = "LabelCONTACT"; this.LabelCONTACT.Size = new System.Drawing.Size(160, 23); this.LabelCONTACT.TabIndex = 2; this.LabelCONTACT.Text = "CONTACT NO"; // // LabelEMAIL // this.LabelEMAIL.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Bold); this.LabelEMAIL.ForeColor = System.Drawing.Color.Navy; this.LabelEMAIL.Location = new System.Drawing.Point(166, 275); this.LabelEMAIL.Name = "LabelEMAIL"; this.LabelEMAIL.Size = new System.Drawing.Size(98, 23); this.LabelEMAIL.TabIndex = 2; this.LabelEMAIL.Text = "E-MAIL"; // // LabelLOGIN // this.LabelLOGIN.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Bold); this.LabelLOGIN.ForeColor = System.Drawing.Color.Navy; this.LabelLOGIN.Location = new System.Drawing.Point(166, 321); this.LabelLOGIN.Name = "LabelLOGIN"; this.LabelLOGIN.Size = new System.Drawing.Size(160, 23); this.LabelLOGIN.TabIndex = 2; this.LabelLOGIN.Text = "LOGIN NAME"; // // LabelPASS // this.LabelPASS.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Bold); this.LabelPASS.ForeColor = System.Drawing.Color.Navy; this.LabelPASS.Location = new System.Drawing.Point(166, 365); this.LabelPASS.Name = "LabelPASS"; this.LabelPASS.Size = new System.Drawing.Size(160, 23); this.LabelPASS.TabIndex = 2; this.LabelPASS.Text = "PASSWORD"; // // TextBoxFNM // this.TextBoxFNM.Location = new System.Drawing.Point(489, 125); this.TextBoxFNM.Name = "TextBoxFNM"; this.TextBoxFNM.Size = new System.Drawing.Size(270, 20); this.TextBoxFNM.TabIndex = 3; // // TextBoxLNM // this.TextBoxLNM.Location = new System.Drawing.Point(489, 165); this.TextBoxLNM.Name = "TextBoxLNM"; this.TextBoxLNM.Size = new System.Drawing.Size(270, 20); this.TextBoxLNM.TabIndex = 3; // // TextBoxSTATE // this.TextBoxSTATE.Location = new System.Drawing.Point(489, 203); this.TextBoxSTATE.Name = "TextBoxSTATE"; this.TextBoxSTATE.Size = new System.Drawing.Size(270, 20); this.TextBoxSTATE.TabIndex = 3; // // TextBoxCONTACT // this.TextBoxCONTACT.Location = new System.Drawing.Point(489, 242); this.TextBoxCONTACT.Name = "TextBoxCONTACT"; this.TextBoxCONTACT.Size = new System.Drawing.Size(270, 20); this.TextBoxCONTACT.TabIndex = 3; // // TextBoxEMAIL // this.TextBoxEMAIL.Location = new System.Drawing.Point(489, 278); this.TextBoxEMAIL.Name = "TextBoxEMAIL"; this.TextBoxEMAIL.Size = new System.Drawing.Size(270, 20); this.TextBoxEMAIL.TabIndex = 3; // // TextBoxLOGIN // this.TextBoxLOGIN.Location = new System.Drawing.Point(489, 322); this.TextBoxLOGIN.Name = "TextBoxLOGIN"; this.TextBoxLOGIN.Size = new System.Drawing.Size(270, 20); this.TextBoxLOGIN.TabIndex = 3; // // TextBoxPASSword // this.TextBoxPASSword.Location = new System.Drawing.Point(489, 365); this.TextBoxPASSword.Name = "TextBoxPASSword"; this.TextBoxPASSword.Size = new System.Drawing.Size(270, 20); this.TextBoxPASSword.TabIndex = 3; // // ButtonCREATE // this.ButtonCREATE.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Bold); this.ButtonCREATE.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); this.ButtonCREATE.Location = new System.Drawing.Point(489, 408); this.ButtonCREATE.Name = "ButtonCREATE"; this.ButtonCREATE.Size = new System.Drawing.Size(200, 36); this.ButtonCREATE.TabIndex = 4; this.ButtonCREATE.Text = "CREATE"; this.ButtonCREATE.UseVisualStyleBackColor = true; this.ButtonCREATE.Click += new System.EventHandler(this.Click_5b21a0d7); // // LabelMSG // this.LabelMSG.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold); this.LabelMSG.ForeColor = System.Drawing.Color.Black; this.LabelMSG.Location = new System.Drawing.Point(489, 478); this.LabelMSG.Name = "LabelMSG"; this.LabelMSG.Size = new System.Drawing.Size(114, 23); this.LabelMSG.TabIndex = 5; this.LabelMSG.Text = "MESSAGE"; // // Lblaccount // this.Lblaccount.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F, System.Drawing.FontStyle.Bold); this.Lblaccount.Location = new System.Drawing.Point(166, 551); this.Lblaccount.Name = "Lblaccount"; this.Lblaccount.Size = new System.Drawing.Size(318, 31); this.Lblaccount.TabIndex = 3; this.Lblaccount.Text = "Already have an account?"; // // ButtoNLOGIN // this.ButtoNLOGIN.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Bold); this.ButtoNLOGIN.ForeColor = System.Drawing.Color.Navy; this.ButtoNLOGIN.Location = new System.Drawing.Point(489, 551); this.ButtoNLOGIN.Name = "ButtoNLOGIN"; this.ButtoNLOGIN.Size = new System.Drawing.Size(200, 39); this.ButtoNLOGIN.TabIndex = 6; this.ButtoNLOGIN.Text = "LOGIN"; this.ButtoNLOGIN.UseVisualStyleBackColor = true; this.ButtoNLOGIN.Click += new System.EventHandler(this.Click_22df9cba); // // WebLoginManager1 // this.WebLoginManager1.ComponentName = "WebLoginManager1"; this.WebLoginManager1.ConnectionID = new System.Guid("50dc8941-d656-4888-9c35-65ce28a08610"); this.WebLoginManager1.DefaultConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Users\\rishabh\\OneDrive\\Documents\\" + "SOFTWAREMERCHANT.mdb;Mode=ReadWrite;"; this.WebLoginManager1.DefaultConnectionType = typeof(System.Data.OleDb.OleDbConnection); this.WebLoginManager1.FailedMessageLableId = null; this.WebLoginManager1.ID = new System.Guid("5866f8b1-508e-47f0-9c59-c07e6893ab70"); this.WebLoginManager1.InactivityMinutes = 0; this.WebLoginManager1.LabelToShowLoginFailedMessage = null; this.WebLoginManager1.LoginFailedMessage = null; this.WebLoginManager1.LoginPermissionFailedMessage = null; this.WebLoginManager1.PasswordHash = WindowsUtility.EnumPasswordHash.SHA256; this.WebLoginManager1.UserAccountIdFieldName = "USERiD"; this.WebLoginManager1.UserAccountLevelFieldName = "USER LEVEL"; this.WebLoginManager1.UserAccountLoginFieldName = "LOGIN NAME"; this.WebLoginManager1.UserAccountPasswordFieldName = "PASSWORD"; this.WebLoginManager1.UserAccountResetCodeFieldName = "RESET CODE"; this.WebLoginManager1.UserAccountResetCodeTimeFieldName = "RESET CODE EXPIRE"; this.WebLoginManager1.UserAccountSaltFieldName = "SALT"; this.WebLoginManager1.UserAccountTableName = "GLASS"; // // EasyDataSet1 // this.EasyDataSet1.ConnectionID = new System.Guid("50dc8941-d656-4888-9c35-65ce28a08610"); this.EasyDataSet1.DataSetName = "Data_cfc53ca6-cc5c-4dad-a6bf-cc872e254d13"; this.EasyDataSet1.DefaultConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Users\\rishabh\\OneDrive\\Documents\\" + "SOFTWAREMERCHANT.mdb;Mode=ReadWrite;"; this.EasyDataSet1.DefaultConnectionType = typeof(System.Data.OleDb.OleDbConnection); this.EasyDataSet1.Description = null; this.EasyDataSet1.DynamicParameters = dbparameterlistext1; this.EasyDataSet1.Field_DataSize = new int[] { 4 }; this.EasyDataSet1.Field_FieldCaption = new string[] { null }; this.EasyDataSet1.Field_FieldText = new string[] { "[GLASS].[USERiD]" }; this.EasyDataSet1.Field_FromTableName = new string[] { "GLASS" }; this.EasyDataSet1.Field_Indexed = new bool[] { true }; this.EasyDataSet1.Field_IsIdentity = new bool[] { true }; this.EasyDataSet1.Field_Name = new string[] { "USERiD" }; this.EasyDataSet1.Field_OleDbType = new System.Data.OleDb.OleDbType[] { System.Data.OleDb.OleDbType.Integer }; this.EasyDataSet1.Field_ReadOnly = new bool[] { true }; this.EasyDataSet1.From = "[GLASS]"; this.EasyDataSet1.GroupBy = null; this.EasyDataSet1.Having = null; this.EasyDataSet1.IsFieldImage = new bool[] { false }; this.EasyDataSet1.Limit = null; this.EasyDataSet1.Name = "EasyDataSet1"; this.EasyDataSet1.OrderBy = null; this.EasyDataSet1.Param_Name = new string[] { "@loginName" }; this.EasyDataSet1.Param_OleDbType = new System.Data.OleDb.OleDbType[] { System.Data.OleDb.OleDbType.VarWChar }; this.EasyDataSet1.Param_Value = new string[] { "System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c5" + "61934e089|" }; this.EasyDataSet1.TableName = "Table4010146875"; this.EasyDataSet1.UpdatableTableName = "GLASS"; this.EasyDataSet1.Where = "[GLASS].[LOGIN NAME] = @loginName"; // // EasyUpdator1 // this.EasyUpdator1.ConnectionID = new System.Guid("50dc8941-d656-4888-9c35-65ce28a08610"); this.EasyUpdator1.DefaultConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Users\\rishabh\\OneDrive\\Documents\\" + "SOFTWAREMERCHANT.mdb;Mode=ReadWrite;"; this.EasyUpdator1.DefaultConnectionType = typeof(System.Data.OleDb.OleDbConnection); sqlnonequery1.CommandType = LimnorDatabase.enmNonQueryType.Insert; sqlnonequery1.MultiRow = false; sqlnonequery1.Param_Name = new string[] { "@FIRSTNM", "@LASTNM", "@STATE", "@CONTACT", "@EMAIL", "@LOGINNM", "@PASS" }; sqlnonequery1.Param_OleDbType = new System.Data.OleDb.OleDbType[] { System.Data.OleDb.OleDbType.VarWChar, System.Data.OleDb.OleDbType.VarWChar, System.Data.OleDb.OleDbType.VarWChar, System.Data.OleDb.OleDbType.VarWChar, System.Data.OleDb.OleDbType.VarWChar, System.Data.OleDb.OleDbType.VarWChar, System.Data.OleDb.OleDbType.VarWChar }; sqlnonequery1.Param_Value = new string[] { "System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c5" + "61934e089|", "System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c5" + "61934e089|", "System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c5" + "61934e089|", "System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c5" + "61934e089|", "System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c5" + "61934e089|", "System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c5" + "61934e089|", "System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c5" + "61934e089|" }; sqlnonequery1.SQL = "INSERT INTO [GLASS] ([FIRST NAME],[LAST NAME],[STATE],[CONTACT NO],[E-MAIL],[LOGI" + "N NAME],[PASSWORD]) VALUES (@FIRSTNM,@LASTNM,@STATE,@CONTACT,@EMAIL,@LOGINNM,@P" + "ASS)"; sqlnonequery1.TableName = ""; this.EasyUpdator1.ExecutionCommand = sqlnonequery1; this.EasyUpdator1.LastInsertID = 0; this.EasyUpdator1.Name = "EasyUpdator1"; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.BackColor = System.Drawing.Color.Teal; this.ClientSize = new System.Drawing.Size(917, 618); this.Controls.Add(this.Label1); this.Controls.Add(this.PictureBox1); this.Controls.Add(this.LabelLNM); this.Controls.Add(this.LabelFNM); this.Controls.Add(this.LabelSTATE); this.Controls.Add(this.LabelCONTACT); this.Controls.Add(this.LabelEMAIL); this.Controls.Add(this.LabelLOGIN); this.Controls.Add(this.LabelPASS); this.Controls.Add(this.TextBoxFNM); this.Controls.Add(this.TextBoxLNM); this.Controls.Add(this.TextBoxSTATE); this.Controls.Add(this.TextBoxCONTACT); this.Controls.Add(this.TextBoxEMAIL); this.Controls.Add(this.TextBoxLOGIN); this.Controls.Add(this.TextBoxPASSword); this.Controls.Add(this.ButtonCREATE); this.Controls.Add(this.LabelMSG); this.Controls.Add(this.Lblaccount); this.Controls.Add(this.ButtoNLOGIN); this.DrawingLayerList = ((Limnor.Drawing2D.DrawingLayerHeaderList)(resources.GetObject("$this.DrawingLayerList"))); this.Name = "Form1"; this.Text = "Form1"; WebLoginManager1.CreateDataTable(); EasyDataSet1.CreateDataTable(); EasyDataSet1.Query(); ((System.ComponentModel.ISupportInitialize)(EasyDataSet1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(PictureBox1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(changePassword)); this.LabelCURRPASS = new System.Windows.Forms.Label(); this.LABELNEWPASS = new System.Windows.Forms.Label(); this.LabelCONFRPASS = new System.Windows.Forms.Label(); this.LabelLOGIN = new System.Windows.Forms.Label(); this.TextBoxCURRPASS = new System.Windows.Forms.TextBox(); this.TextBoxNEWPASS = new System.Windows.Forms.TextBox(); this.TextBoxCONFPASS = new System.Windows.Forms.TextBox(); this.TextBoxLOGIN = new System.Windows.Forms.TextBox(); this.ButtoNSUBMIT = new System.Windows.Forms.Button(); this.LabelCHHEAD = new System.Windows.Forms.Label(); this.LabelMSG = new System.Windows.Forms.Label(); this.components = new System.ComponentModel.Container(); this.WebLoginManager1 = new LimnorDatabase.WebLoginManager(this.components); this.SuspendLayout(); // // LabelCURRPASS // this.LabelCURRPASS.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic)))); this.LabelCURRPASS.ForeColor = System.Drawing.Color.Navy; this.LabelCURRPASS.Location = new System.Drawing.Point(25, 103); this.LabelCURRPASS.Name = "LabelCURRPASS"; this.LabelCURRPASS.Size = new System.Drawing.Size(194, 23); this.LabelCURRPASS.TabIndex = 0; this.LabelCURRPASS.Text = "CURRENT PASSWORD"; // // LABELNEWPASS // this.LABELNEWPASS.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic)))); this.LABELNEWPASS.ForeColor = System.Drawing.Color.Navy; this.LABELNEWPASS.Location = new System.Drawing.Point(68, 177); this.LABELNEWPASS.Name = "LABELNEWPASS"; this.LABELNEWPASS.Size = new System.Drawing.Size(151, 23); this.LABELNEWPASS.TabIndex = 0; this.LABELNEWPASS.Text = "NEW PASSWORD"; // // LabelCONFRPASS // this.LabelCONFRPASS.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic)))); this.LabelCONFRPASS.ForeColor = System.Drawing.Color.Navy; this.LabelCONFRPASS.Location = new System.Drawing.Point(25, 223); this.LabelCONFRPASS.Name = "LabelCONFRPASS"; this.LabelCONFRPASS.Size = new System.Drawing.Size(194, 23); this.LabelCONFRPASS.TabIndex = 0; this.LabelCONFRPASS.Text = "CONFIRM PASSWORD"; // // LabelLOGIN // this.LabelLOGIN.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic)))); this.LabelLOGIN.ForeColor = System.Drawing.Color.Navy; this.LabelLOGIN.Location = new System.Drawing.Point(106, 55); this.LabelLOGIN.Name = "LabelLOGIN"; this.LabelLOGIN.Size = new System.Drawing.Size(113, 23); this.LabelLOGIN.TabIndex = 0; this.LabelLOGIN.Text = "LOGIN NAME"; // // TextBoxCURRPASS // this.TextBoxCURRPASS.Location = new System.Drawing.Point(259, 106); this.TextBoxCURRPASS.Name = "TextBoxCURRPASS"; this.TextBoxCURRPASS.Size = new System.Drawing.Size(190, 20); this.TextBoxCURRPASS.TabIndex = 1; // // TextBoxNEWPASS // this.TextBoxNEWPASS.Location = new System.Drawing.Point(259, 178); this.TextBoxNEWPASS.Name = "TextBoxNEWPASS"; this.TextBoxNEWPASS.Size = new System.Drawing.Size(190, 20); this.TextBoxNEWPASS.TabIndex = 1; // // TextBoxCONFPASS // this.TextBoxCONFPASS.Location = new System.Drawing.Point(259, 226); this.TextBoxCONFPASS.Name = "TextBoxCONFPASS"; this.TextBoxCONFPASS.Size = new System.Drawing.Size(190, 20); this.TextBoxCONFPASS.TabIndex = 1; // // TextBoxLOGIN // this.TextBoxLOGIN.Location = new System.Drawing.Point(259, 58); this.TextBoxLOGIN.Name = "TextBoxLOGIN"; this.TextBoxLOGIN.Size = new System.Drawing.Size(190, 20); this.TextBoxLOGIN.TabIndex = 1; // // ButtoNSUBMIT // this.ButtoNSUBMIT.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic)))); this.ButtoNSUBMIT.ForeColor = System.Drawing.Color.Navy; this.ButtoNSUBMIT.Location = new System.Drawing.Point(259, 268); this.ButtoNSUBMIT.Name = "ButtoNSUBMIT"; this.ButtoNSUBMIT.Size = new System.Drawing.Size(190, 31); this.ButtoNSUBMIT.TabIndex = 2; this.ButtoNSUBMIT.Text = "SUBMIT"; this.ButtoNSUBMIT.UseVisualStyleBackColor = true; this.ButtoNSUBMIT.Click += new System.EventHandler(this.Click_a9d460fd); // // LabelCHHEAD // this.LabelCHHEAD.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic)))); this.LabelCHHEAD.ForeColor = System.Drawing.Color.Black; this.LabelCHHEAD.Location = new System.Drawing.Point(259, 9); this.LabelCHHEAD.Name = "LabelCHHEAD"; this.LabelCHHEAD.Size = new System.Drawing.Size(190, 23); this.LabelCHHEAD.TabIndex = 3; this.LabelCHHEAD.Text = "CHANGE PASSWORD"; // // LabelMSG // this.LabelMSG.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold); this.LabelMSG.Location = new System.Drawing.Point(313, 316); this.LabelMSG.Name = "LabelMSG"; this.LabelMSG.Size = new System.Drawing.Size(81, 23); this.LabelMSG.TabIndex = 4; this.LabelMSG.Text = "MESSAGE"; // // WebLoginManager1 // this.WebLoginManager1.ComponentName = "WebLoginManager1"; this.WebLoginManager1.ConnectionID = new System.Guid("1a3e6d80-9bb0-4583-8429-2967b832ae28"); this.WebLoginManager1.DefaultConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Users\\rishabh\\OneDrive\\Documents\\" + "SOFTWAREMERCHANT.mdb;Mode=ReadWrite;"; this.WebLoginManager1.DefaultConnectionType = typeof(System.Data.OleDb.OleDbConnection); this.WebLoginManager1.FailedMessageLableId = "LabelMSG"; this.WebLoginManager1.ID = new System.Guid("a6fba34f-2cc3-4182-96ff-96b09992880c"); this.WebLoginManager1.InactivityMinutes = 10; this.WebLoginManager1.LabelToShowLoginFailedMessage = this.LabelMSG; this.WebLoginManager1.LoginFailedMessage = null; this.WebLoginManager1.LoginPermissionFailedMessage = null; this.WebLoginManager1.PasswordHash = WindowsUtility.EnumPasswordHash.SHA256; this.WebLoginManager1.UserAccountIdFieldName = "USERiD"; this.WebLoginManager1.UserAccountLevelFieldName = "USER LEVEL"; this.WebLoginManager1.UserAccountLoginFieldName = "LOGIN NAME"; this.WebLoginManager1.UserAccountPasswordFieldName = "PASSWORD"; this.WebLoginManager1.UserAccountResetCodeFieldName = "RESET CODE"; this.WebLoginManager1.UserAccountResetCodeTimeFieldName = "RESET CODE EXPIRE"; this.WebLoginManager1.UserAccountSaltFieldName = "SALT"; this.WebLoginManager1.UserAccountTableName = "GLASS"; // // changePassword // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.ClientSize = new System.Drawing.Size(477, 348); this.Controls.Add(this.LabelCURRPASS); this.Controls.Add(this.LABELNEWPASS); this.Controls.Add(this.LabelCONFRPASS); this.Controls.Add(this.LabelLOGIN); this.Controls.Add(this.TextBoxCURRPASS); this.Controls.Add(this.TextBoxNEWPASS); this.Controls.Add(this.TextBoxCONFPASS); this.Controls.Add(this.TextBoxLOGIN); this.Controls.Add(this.ButtoNSUBMIT); this.Controls.Add(this.LabelCHHEAD); this.Controls.Add(this.LabelMSG); this.DrawingLayerList = ((Limnor.Drawing2D.DrawingLayerHeaderList)(resources.GetObject("$this.DrawingLayerList"))); this.Name = "changePassword"; this.Text = "changePassword"; WebLoginManager1.CreateDataTable(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UserLogin)); this.LabelPASS = new System.Windows.Forms.Label(); this.Label2147483646 = new System.Windows.Forms.Label(); this.PictureBox1 = new System.Windows.Forms.PictureBox(); this.LabelLOGIN = new System.Windows.Forms.Label(); this.TextBoxPASS = new System.Windows.Forms.TextBox(); this.TEXTBOXLOGIN = new System.Windows.Forms.TextBox(); this.BTNSUBMIT = new System.Windows.Forms.Button(); this.LABELMSG = new System.Windows.Forms.Label(); this.components = new System.ComponentModel.Container(); this.WebLoginManager1 = new LimnorDatabase.WebLoginManager(this.components); ((System.ComponentModel.ISupportInitialize)(PictureBox1)).BeginInit(); this.SuspendLayout(); // // LabelPASS // this.LabelPASS.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic)))); this.LabelPASS.ForeColor = System.Drawing.Color.Navy; this.LabelPASS.Location = new System.Drawing.Point(52, 177); this.LabelPASS.Name = "LabelPASS"; this.LabelPASS.Size = new System.Drawing.Size(111, 23); this.LabelPASS.TabIndex = 0; this.LabelPASS.Text = "PASSWORD"; // // Label2147483646 // this.Label2147483646.Font = new System.Drawing.Font("Algerian", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic)))); this.Label2147483646.ForeColor = System.Drawing.Color.Navy; this.Label2147483646.Location = new System.Drawing.Point(147, 31); this.Label2147483646.Name = "Label2147483646"; this.Label2147483646.Size = new System.Drawing.Size(113, 23); this.Label2147483646.TabIndex = 1; this.Label2147483646.Text = "LOGIN PAGE"; // // PictureBox1 // this.PictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("PictureBox1.Image"))); this.PictureBox1.Location = new System.Drawing.Point(175, 57); this.PictureBox1.Name = "PictureBox1"; this.PictureBox1.Size = new System.Drawing.Size(51, 50); this.PictureBox1.TabIndex = 2; this.PictureBox1.TabStop = false; // // LabelLOGIN // this.LabelLOGIN.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic)))); this.LabelLOGIN.ForeColor = System.Drawing.Color.Navy; this.LabelLOGIN.Location = new System.Drawing.Point(42, 131); this.LabelLOGIN.Name = "LabelLOGIN"; this.LabelLOGIN.Size = new System.Drawing.Size(121, 23); this.LabelLOGIN.TabIndex = 0; this.LabelLOGIN.Text = "LOGIN NAME"; // // TextBoxPASS // this.TextBoxPASS.Location = new System.Drawing.Point(202, 179); this.TextBoxPASS.Name = "TextBoxPASS"; this.TextBoxPASS.Size = new System.Drawing.Size(181, 20); this.TextBoxPASS.TabIndex = 3; // // TEXTBOXLOGIN // this.TEXTBOXLOGIN.Location = new System.Drawing.Point(202, 134); this.TEXTBOXLOGIN.Name = "TEXTBOXLOGIN"; this.TEXTBOXLOGIN.Size = new System.Drawing.Size(181, 20); this.TEXTBOXLOGIN.TabIndex = 3; // // BTNSUBMIT // this.BTNSUBMIT.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic)))); this.BTNSUBMIT.ForeColor = System.Drawing.Color.Navy; this.BTNSUBMIT.Location = new System.Drawing.Point(144, 234); this.BTNSUBMIT.Name = "BTNSUBMIT"; this.BTNSUBMIT.Size = new System.Drawing.Size(116, 34); this.BTNSUBMIT.TabIndex = 4; this.BTNSUBMIT.Text = "SUBMIT"; this.BTNSUBMIT.UseVisualStyleBackColor = true; this.BTNSUBMIT.Click += new System.EventHandler(this.Click_9b033231); // // LABELMSG // this.LABELMSG.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic)))); this.LABELMSG.ForeColor = System.Drawing.Color.Navy; this.LABELMSG.Location = new System.Drawing.Point(144, 282); this.LABELMSG.Name = "LABELMSG"; this.LABELMSG.Size = new System.Drawing.Size(116, 23); this.LABELMSG.TabIndex = 5; this.LABELMSG.Text = " MESSAGE"; // // WebLoginManager1 // this.WebLoginManager1.ComponentName = "WebLoginManager1"; this.WebLoginManager1.ConnectionID = new System.Guid("1a3e6d80-9bb0-4583-8429-2967b832ae28"); this.WebLoginManager1.DefaultConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Users\\rishabh\\OneDrive\\Documents\\" + "SOFTWAREMERCHANT.mdb;Mode=ReadWrite;"; this.WebLoginManager1.DefaultConnectionType = typeof(System.Data.OleDb.OleDbConnection); this.WebLoginManager1.FailedMessageLableId = "LABELMSG"; this.WebLoginManager1.ID = new System.Guid("dfc298bb-0960-49bf-b1ec-eb260632a388"); this.WebLoginManager1.InactivityMinutes = 10; this.WebLoginManager1.LabelToShowLoginFailedMessage = this.LABELMSG; this.WebLoginManager1.LoginFailedMessage = null; this.WebLoginManager1.LoginPermissionFailedMessage = null; this.WebLoginManager1.PasswordHash = WindowsUtility.EnumPasswordHash.SHA256; this.WebLoginManager1.UserAccountIdFieldName = "USERiD"; this.WebLoginManager1.UserAccountLevelFieldName = "USER LEVEL"; this.WebLoginManager1.UserAccountLoginFieldName = "LOGIN NAME"; this.WebLoginManager1.UserAccountPasswordFieldName = "PASSWORD"; this.WebLoginManager1.UserAccountResetCodeFieldName = "RESET CODE"; this.WebLoginManager1.UserAccountResetCodeTimeFieldName = "RESET CODE EXPIRE"; this.WebLoginManager1.UserAccountSaltFieldName = "SALT"; this.WebLoginManager1.UserAccountTableName = "GLASS"; this.WebLoginManager1.UserLogin += new Limnor.WebBuilder.SimpleCall(this.UserLogin_7783a68c); // // UserLogin // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.ClientSize = new System.Drawing.Size(424, 348); this.Controls.Add(this.LabelPASS); this.Controls.Add(this.Label2147483646); this.Controls.Add(this.PictureBox1); this.Controls.Add(this.LabelLOGIN); this.Controls.Add(this.TextBoxPASS); this.Controls.Add(this.TEXTBOXLOGIN); this.Controls.Add(this.BTNSUBMIT); this.Controls.Add(this.LABELMSG); this.DrawingLayerList = ((Limnor.Drawing2D.DrawingLayerHeaderList)(resources.GetObject("$this.DrawingLayerList"))); this.Name = "UserLogin"; this.Text = "UserLogin"; WebLoginManager1.CreateDataTable(); ((System.ComponentModel.ISupportInitialize)(PictureBox1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }