Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace Atres_V2_
- {
- using Atres_V2_.My;
- using Bunifu.Framework.UI;
- using MaterialSkin;
- using MaterialSkin.Controls;
- using Microsoft.VisualBasic;
- using Microsoft.VisualBasic.CompilerServices;
- using System;
- using System.ComponentModel;
- using System.Diagnostics;
- using System.Drawing;
- using System.Runtime.CompilerServices;
- using System.Windows.Forms;
- [DesignerGenerated]
- public class Form1 : Form
- {
- [CompilerGenerated, DebuggerBrowsable(DebuggerBrowsableState.Never), AccessedThroughProperty("BunifuDragControl1")]
- private BunifuDragControl _BunifuDragControl1;
- [CompilerGenerated, DebuggerBrowsable(DebuggerBrowsableState.Never), AccessedThroughProperty("BunifuDragControl2")]
- private BunifuDragControl _BunifuDragControl2;
- [CompilerGenerated, DebuggerBrowsable(DebuggerBrowsableState.Never), AccessedThroughProperty("Label1")]
- private Label _Label1;
- [CompilerGenerated, DebuggerBrowsable(DebuggerBrowsableState.Never), AccessedThroughProperty("MaterialLabel1")]
- private MaterialLabel _MaterialLabel1;
- [CompilerGenerated, DebuggerBrowsable(DebuggerBrowsableState.Never), AccessedThroughProperty("MaterialLabel2")]
- private MaterialLabel _MaterialLabel2;
- [CompilerGenerated, DebuggerBrowsable(DebuggerBrowsableState.Never), AccessedThroughProperty("MaterialRaisedButton1")]
- private MaterialRaisedButton _MaterialRaisedButton1;
- [CompilerGenerated, DebuggerBrowsable(DebuggerBrowsableState.Never), AccessedThroughProperty("Panel1")]
- private Panel _Panel1;
- [CompilerGenerated, DebuggerBrowsable(DebuggerBrowsableState.Never), AccessedThroughProperty("Textbox1")]
- private BunifuMetroTextbox _Textbox1;
- [CompilerGenerated, DebuggerBrowsable(DebuggerBrowsableState.Never), AccessedThroughProperty("Textbox2")]
- private BunifuMetroTextbox _Textbox2;
- private IContainer components;
- public Form1()
- {
- this.InitializeComponent();
- }
- [DebuggerNonUserCode]
- protected override void Dispose(bool disposing)
- {
- try
- {
- if (disposing && (this.components > null))
- {
- this.components.Dispose();
- }
- }
- finally
- {
- base.Dispose(disposing);
- }
- }
- [DebuggerStepThrough]
- private void InitializeComponent()
- {
- this.components = new System.ComponentModel.Container();
- this.BunifuDragControl1 = new BunifuDragControl(this.components);
- this.Textbox1 = new BunifuMetroTextbox();
- this.Textbox2 = new BunifuMetroTextbox();
- this.MaterialLabel1 = new MaterialLabel();
- this.MaterialLabel2 = new MaterialLabel();
- this.Panel1 = new Panel();
- this.Label1 = new Label();
- this.MaterialRaisedButton1 = new MaterialRaisedButton();
- this.BunifuDragControl2 = new BunifuDragControl(this.components);
- this.Panel1.SuspendLayout();
- base.SuspendLayout();
- this.BunifuDragControl1.Fixed = true;
- this.BunifuDragControl1.Horizontal = true;
- this.BunifuDragControl1.TargetControl = this;
- this.BunifuDragControl1.Vertical = true;
- this.Textbox1.BackColor = Color.White;
- this.Textbox1.BorderColorFocused = Color.DodgerBlue;
- this.Textbox1.BorderColorIdle = Color.FromArgb(0x40, 0x40, 0x40);
- this.Textbox1.BorderColorMouseHover = Color.DodgerBlue;
- this.Textbox1.BorderThickness = 3;
- this.Textbox1.Cursor = Cursors.IBeam;
- this.Textbox1.Font = new Font("Microsoft Sans Serif", 9.75f);
- this.Textbox1.ForeColor = Color.FromArgb(0x40, 0x40, 0x40);
- this.Textbox1.isPassword = false;
- this.Textbox1.Location = new Point(0x75, 150);
- this.Textbox1.Margin = new Padding(4);
- this.Textbox1.Name = "Textbox1";
- this.Textbox1.Size = new Size(0xec, 0x2c);
- this.Textbox1.TabIndex = 0;
- this.Textbox1.Text = "Username";
- this.Textbox1.TextAlign = HorizontalAlignment.Left;
- this.Textbox2.BackColor = Color.White;
- this.Textbox2.BorderColorFocused = Color.DodgerBlue;
- this.Textbox2.BorderColorIdle = Color.FromArgb(0x40, 0x40, 0x40);
- this.Textbox2.BorderColorMouseHover = Color.DodgerBlue;
- this.Textbox2.BorderThickness = 3;
- this.Textbox2.Cursor = Cursors.IBeam;
- this.Textbox2.Font = new Font("Microsoft Sans Serif", 9.75f);
- this.Textbox2.ForeColor = Color.FromArgb(0x40, 0x40, 0x40);
- this.Textbox2.isPassword = true;
- this.Textbox2.Location = new Point(0x75, 230);
- this.Textbox2.Margin = new Padding(4);
- this.Textbox2.Name = "Textbox2";
- this.Textbox2.Size = new Size(0xec, 0x2c);
- this.Textbox2.TabIndex = 1;
- this.Textbox2.Text = "Password";
- this.Textbox2.TextAlign = HorizontalAlignment.Left;
- this.MaterialLabel1.AutoSize = true;
- this.MaterialLabel1.Depth = 0;
- this.MaterialLabel1.Font = new Font("Roboto", 11f);
- this.MaterialLabel1.ForeColor = Color.FromArgb(0xde, 0, 0, 0);
- this.MaterialLabel1.Location = new Point(12, 150);
- this.MaterialLabel1.MouseState = MaterialSkin.MouseState.HOVER;
- this.MaterialLabel1.Name = "MaterialLabel1";
- this.MaterialLabel1.Size = new Size(0x51, 0x13);
- this.MaterialLabel1.TabIndex = 2;
- this.MaterialLabel1.Text = "Username:";
- this.MaterialLabel2.AutoSize = true;
- this.MaterialLabel2.Depth = 0;
- this.MaterialLabel2.Font = new Font("Roboto", 11f);
- this.MaterialLabel2.ForeColor = Color.FromArgb(0xde, 0, 0, 0);
- this.MaterialLabel2.Location = new Point(12, 230);
- this.MaterialLabel2.MouseState = MaterialSkin.MouseState.HOVER;
- this.MaterialLabel2.Name = "MaterialLabel2";
- this.MaterialLabel2.Size = new Size(0x4f, 0x13);
- this.MaterialLabel2.TabIndex = 3;
- this.MaterialLabel2.Text = "Password:";
- this.Panel1.BackColor = Color.FromArgb(0, 0xff, 0x80);
- this.Panel1.Controls.Add(this.Label1);
- this.Panel1.Location = new Point(-5, -5);
- this.Panel1.Name = "Panel1";
- this.Panel1.Size = new Size(430, 0x60);
- this.Panel1.TabIndex = 4;
- this.Label1.AutoSize = true;
- this.Label1.Font = new Font("Segoe Print", 26.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
- this.Label1.Location = new Point(0x11, 0x17);
- this.Label1.Name = "Label1";
- this.Label1.Size = new Size(0xac, 0x3e);
- this.Label1.TabIndex = 0;
- this.Label1.Text = "AtresV2";
- this.MaterialRaisedButton1.Depth = 0;
- this.MaterialRaisedButton1.Location = new Point(0x75, 0x130);
- this.MaterialRaisedButton1.MouseState = MaterialSkin.MouseState.HOVER;
- this.MaterialRaisedButton1.Name = "MaterialRaisedButton1";
- this.MaterialRaisedButton1.Primary = true;
- this.MaterialRaisedButton1.Size = new Size(0xec, 0x33);
- this.MaterialRaisedButton1.TabIndex = 5;
- this.MaterialRaisedButton1.Text = "LOGIN";
- this.MaterialRaisedButton1.UseVisualStyleBackColor = true;
- this.BunifuDragControl2.Fixed = true;
- this.BunifuDragControl2.Horizontal = true;
- this.BunifuDragControl2.TargetControl = this.Panel1;
- this.BunifuDragControl2.Vertical = true;
- base.AutoScaleDimensions = new SizeF(6f, 13f);
- base.AutoScaleMode = AutoScaleMode.Font;
- this.BackColor = Color.Gray;
- base.ClientSize = new Size(0x1a5, 0x1a2);
- base.Controls.Add(this.MaterialRaisedButton1);
- base.Controls.Add(this.Panel1);
- base.Controls.Add(this.MaterialLabel2);
- base.Controls.Add(this.MaterialLabel1);
- base.Controls.Add(this.Textbox2);
- base.Controls.Add(this.Textbox1);
- base.FormBorderStyle = FormBorderStyle.None;
- base.Name = "Form1";
- base.ShowIcon = false;
- base.StartPosition = FormStartPosition.CenterScreen;
- this.Text = "Form1";
- this.Panel1.ResumeLayout(false);
- this.Panel1.PerformLayout();
- base.ResumeLayout(false);
- base.PerformLayout();
- }
- private void MaterialRaisedButton1_Click(object sender, EventArgs e)
- {
- if (this.Textbox1.Text == "Mohammad")
- {
- if (this.Textbox2.Text == "HUB")
- {
- MyProject.Forms.Form2.Show();
- base.Hide();
- }
- else
- {
- Interaction.MsgBox("Please Enter a Vaild Username Or Password", MsgBoxStyle.ApplicationModal, null);
- }
- }
- if (this.Textbox1.Text == "Qtx")
- {
- if (this.Textbox2.Text == "syc77sas")
- {
- MyProject.Forms.Form2.Show();
- base.Hide();
- }
- else
- {
- Interaction.MsgBox("Please Enter a Vaild Username Or Password", MsgBoxStyle.ApplicationModal, null);
- }
- }
- if (this.Textbox1.Text == "Syv")
- {
- if (this.Textbox2.Text == "asu22dsa")
- {
- MyProject.Forms.Form2.Show();
- base.Hide();
- }
- else
- {
- Interaction.MsgBox("Please Enter a Vaild Username Or Password", MsgBoxStyle.ApplicationModal, null);
- }
- }
- if (this.Textbox1.Text == "Gis")
- {
- if (this.Textbox2.Text == "yds72sas")
- {
- MyProject.Forms.Form2.Show();
- base.Hide();
- }
- else
- {
- Interaction.MsgBox("Please Enter a Vaild Username Or Password", MsgBoxStyle.ApplicationModal, null);
- }
- }
- if (this.Textbox1.Text == "Aum")
- {
- if (this.Textbox2.Text == "des87sas")
- {
- MyProject.Forms.Form2.Show();
- base.Hide();
- }
- else
- {
- Interaction.MsgBox("Please Enter a Vaild Username Or Password", MsgBoxStyle.ApplicationModal, null);
- }
- }
- if (this.Textbox1.Text == "Ais")
- {
- if (this.Textbox2.Text == "gos62sas")
- {
- MyProject.Forms.Form2.Show();
- base.Hide();
- }
- else
- {
- Interaction.MsgBox("Please Enter a Vaild Username Or Password", MsgBoxStyle.ApplicationModal, null);
- }
- }
- if (this.Textbox1.Text == "Dam")
- {
- if (this.Textbox2.Text == "yjs92was")
- {
- MyProject.Forms.Form2.Show();
- base.Hide();
- }
- else
- {
- Interaction.MsgBox("Please Enter a Vaild Username Or Password", MsgBoxStyle.ApplicationModal, null);
- }
- }
- if (this.Textbox1.Text == "Jev")
- {
- if (this.Textbox2.Text == "lys21ksa")
- {
- MyProject.Forms.Form2.Show();
- base.Hide();
- }
- else
- {
- Interaction.MsgBox("Please Enter a Vaild Username Or Password", MsgBoxStyle.ApplicationModal, null);
- }
- }
- if (this.Textbox1.Text == "Sus")
- {
- if (this.Textbox2.Text == "lig21sas")
- {
- MyProject.Forms.Form2.Show();
- base.Hide();
- }
- else
- {
- Interaction.MsgBox("Please Enter a Vaild Username Or Password", MsgBoxStyle.ApplicationModal, null);
- }
- }
- if (this.Textbox1.Text == "Ams")
- {
- if (this.Textbox2.Text == "iam64cns")
- {
- MyProject.Forms.Form2.Show();
- base.Hide();
- }
- else
- {
- Interaction.MsgBox("Please Enter a Vaild Username Or Password", MsgBoxStyle.ApplicationModal, null);
- }
- }
- if (this.Textbox1.Text == "t1ps")
- {
- if (this.Textbox2.Text == "ahmad24")
- {
- MyProject.Forms.Form2.Show();
- base.Hide();
- }
- else
- {
- Interaction.MsgBox("Please Enter a Vaild Username Or Password", MsgBoxStyle.ApplicationModal, null);
- }
- }
- if (this.Textbox1.Text == "Ips")
- {
- if (this.Textbox2.Text == "sic82jas")
- {
- MyProject.Forms.Form2.Show();
- base.Hide();
- }
- else
- {
- Interaction.MsgBox("Please Enter a Vaild Username Or Password", MsgBoxStyle.ApplicationModal, null);
- }
- }
- if (this.Textbox1.Text == "Asc")
- {
- if (this.Textbox2.Text == "ysm21sad")
- {
- MyProject.Forms.Form2.Show();
- base.Hide();
- }
- else
- {
- Interaction.MsgBox("Please Enter a Vaild Username Or Password", MsgBoxStyle.ApplicationModal, null);
- }
- }
- if (this.Textbox1.Text == "Obs")
- {
- if (this.Textbox2.Text == "nns22sjw")
- {
- MyProject.Forms.Form2.Show();
- base.Hide();
- }
- else
- {
- Interaction.MsgBox("Please Enter a Vaild Username Or Password", MsgBoxStyle.ApplicationModal, null);
- }
- }
- if (this.Textbox1.Text == "Bym")
- {
- if (this.Textbox2.Text == "Hes77jsa")
- {
- MyProject.Forms.Form2.Show();
- base.Hide();
- }
- else
- {
- Interaction.MsgBox("Please Enter a Vaild Username Or Password", MsgBoxStyle.ApplicationModal, null);
- }
- }
- }
- private void MaterialRaisedButton1_Click_1(object sender, EventArgs e)
- {
- if (this.Textbox1.Text == "Mohammad")
- {
- if (this.Textbox2.Text == "HUB")
- {
- MyProject.Forms.Form2.Show();
- base.Hide();
- }
- else
- {
- Interaction.MsgBox("Please Enter a Vaild Username Or Password", MsgBoxStyle.ApplicationModal, null);
- }
- }
- if (this.Textbox1.Text == "Qtx")
- {
- if (this.Textbox2.Text == "syc77sas")
- {
- MyProject.Forms.Form2.Show();
- base.Hide();
- }
- else
- {
- Interaction.MsgBox("Please Enter a Vaild Username Or Password", MsgBoxStyle.ApplicationModal, null);
- }
- }
- if (this.Textbox1.Text == "Syv")
- {
- if (this.Textbox2.Text == "asu22dsa")
- {
- MyProject.Forms.Form2.Show();
- base.Hide();
- }
- else
- {
- Interaction.MsgBox("Please Enter a Vaild Username Or Password", MsgBoxStyle.ApplicationModal, null);
- }
- }
- if (this.Textbox1.Text == "Gis")
- {
- if (this.Textbox2.Text == "yds72sas")
- {
- MyProject.Forms.Form2.Show();
- base.Hide();
- }
- else
- {
- Interaction.MsgBox("Please Enter a Vaild Username Or Password", MsgBoxStyle.ApplicationModal, null);
- }
- }
- if (this.Textbox1.Text == "Aum")
- {
- if (this.Textbox2.Text == "des87sas")
- {
- MyProject.Forms.Form2.Show();
- base.Hide();
- }
- else
- {
- Interaction.MsgBox("Please Enter a Vaild Username Or Password", MsgBoxStyle.ApplicationModal, null);
- }
- }
- if (this.Textbox1.Text == "Ais")
- {
- if (this.Textbox2.Text == "gos62sas")
- {
- MyProject.Forms.Form2.Show();
- base.Hide();
- }
- else
- {
- Interaction.MsgBox("Please Enter a Vaild Username Or Password", MsgBoxStyle.ApplicationModal, null);
- }
- }
- if (this.Textbox1.Text == "Dam")
- {
- if (this.Textbox2.Text == "yjs92was")
- {
- MyProject.Forms.Form2.Show();
- base.Hide();
- }
- else
- {
- Interaction.MsgBox("Please Enter a Vaild Username Or Password", MsgBoxStyle.ApplicationModal, null);
- }
- }
- if (this.Textbox1.Text == "Jev")
- {
- if (this.Textbox2.Text == "lys21ksa")
- {
- MyProject.Forms.Form2.Show();
- base.Hide();
- }
- else
- {
- Interaction.MsgBox("Please Enter a Vaild Username Or Password", MsgBoxStyle.ApplicationModal, null);
- }
- }
- if (this.Textbox1.Text == "Sus")
- {
- if (this.Textbox2.Text == "lig21sas")
- {
- MyProject.Forms.Form2.Show();
- base.Hide();
- }
- else
- {
- Interaction.MsgBox("Please Enter a Vaild Username Or Password", MsgBoxStyle.ApplicationModal, null);
- }
- }
- if (this.Textbox1.Text == "Ams")
- {
- if (this.Textbox2.Text == "iam64cns")
- {
- MyProject.Forms.Form2.Show();
- base.Hide();
- }
- else
- {
- Interaction.MsgBox("Please Enter a Vaild Username Or Password", MsgBoxStyle.ApplicationModal, null);
- }
- }
- if (this.Textbox1.Text == "t1ps")
- {
- if (this.Textbox2.Text == "ahmad24")
- {
- MyProject.Forms.Form2.Show();
- base.Hide();
- }
- else
- {
- Interaction.MsgBox("Please Enter a Vaild Username Or Password", MsgBoxStyle.ApplicationModal, null);
- }
- }
- if (this.Textbox1.Text == "Ips")
- {
- if (this.Textbox2.Text == "sic82jas")
- {
- MyProject.Forms.Form2.Show();
- base.Hide();
- }
- else
- {
- Interaction.MsgBox("Please Enter a Vaild Username Or Password", MsgBoxStyle.ApplicationModal, null);
- }
- }
- if (this.Textbox1.Text == "Asc")
- {
- if (this.Textbox2.Text == "ysm21sad")
- {
- MyProject.Forms.Form2.Show();
- base.Hide();
- }
- else
- {
- Interaction.MsgBox("Please Enter a Vaild Username Or Password", MsgBoxStyle.ApplicationModal, null);
- }
- }
- if (this.Textbox1.Text == "Obs")
- {
- if (this.Textbox2.Text == "nns22sjw")
- {
- MyProject.Forms.Form2.Show();
- base.Hide();
- }
- else
- {
- Interaction.MsgBox("Please Enter a Vaild Username Or Password", MsgBoxStyle.ApplicationModal, null);
- }
- }
- if (this.Textbox1.Text == "Bym")
- {
- if (this.Textbox2.Text == "Hes77jsa")
- {
- MyProject.Forms.Form2.Show();
- base.Hide();
- }
- else
- {
- Interaction.MsgBox("Please Enter a Vaild Username Or Password", MsgBoxStyle.ApplicationModal, null);
- }
- }
- if (this.Textbox1.Text == "Gys")
- {
- if (this.Textbox2.Text == "jje82sas")
- {
- MyProject.Forms.Form2.Show();
- base.Hide();
- }
- else
- {
- Interaction.MsgBox("Please Enter a Vaild Username Or Password", MsgBoxStyle.ApplicationModal, null);
- }
- }
- if (this.Textbox1.Text == "Das")
- {
- if (this.Textbox2.Text == "uws21sjw")
- {
- MyProject.Forms.Form2.Show();
- base.Hide();
- }
- else
- {
- Interaction.MsgBox("Please Enter a Vaild Username Or Password", MsgBoxStyle.ApplicationModal, null);
- }
- }
- if (this.Textbox1.Text == "Sit")
- {
- if (this.Textbox2.Text == "skw23sdw")
- {
- MyProject.Forms.Form2.Show();
- base.Hide();
- }
- else
- {
- Interaction.MsgBox("Please Enter a Vaild Username Or Password", MsgBoxStyle.ApplicationModal, null);
- }
- }
- if (this.Textbox1.Text == "Lua")
- {
- if (this.Textbox2.Text == "jsk82ksa")
- {
- MyProject.Forms.Form2.Show();
- base.Hide();
- }
- else
- {
- Interaction.MsgBox("Please Enter a Vaild Username Or Password", MsgBoxStyle.ApplicationModal, null);
- }
- }
- if (this.Textbox1.Text == "Bus")
- {
- if (this.Textbox2.Text == "Dis28sas")
- {
- MyProject.Forms.Form2.Show();
- base.Hide();
- }
- else
- {
- Interaction.MsgBox("Please Enter a Vaild Username Or Password", MsgBoxStyle.ApplicationModal, null);
- }
- }
- }
- internal virtual BunifuDragControl BunifuDragControl1
- {
- [CompilerGenerated]
- get
- {
- return this._BunifuDragControl1;
- }
- [MethodImpl(MethodImplOptions.Synchronized), CompilerGenerated]
- set
- {
- this._BunifuDragControl1 = value;
- }
- }
- internal virtual BunifuDragControl BunifuDragControl2
- {
- [CompilerGenerated]
- get
- {
- return this._BunifuDragControl2;
- }
- [MethodImpl(MethodImplOptions.Synchronized), CompilerGenerated]
- set
- {
- this._BunifuDragControl2 = value;
- }
- }
- internal virtual Label Label1
- {
- [CompilerGenerated]
- get
- {
- return this._Label1;
- }
- [MethodImpl(MethodImplOptions.Synchronized), CompilerGenerated]
- set
- {
- this._Label1 = value;
- }
- }
- internal virtual MaterialLabel MaterialLabel1
- {
- [CompilerGenerated]
- get
- {
- return this._MaterialLabel1;
- }
- [MethodImpl(MethodImplOptions.Synchronized), CompilerGenerated]
- set
- {
- this._MaterialLabel1 = value;
- }
- }
- internal virtual MaterialLabel MaterialLabel2
- {
- [CompilerGenerated]
- get
- {
- return this._MaterialLabel2;
- }
- [MethodImpl(MethodImplOptions.Synchronized), CompilerGenerated]
- set
- {
- this._MaterialLabel2 = value;
- }
- }
- internal virtual MaterialRaisedButton MaterialRaisedButton1
- {
- [CompilerGenerated]
- get
- {
- return this._MaterialRaisedButton1;
- }
- [MethodImpl(MethodImplOptions.Synchronized), CompilerGenerated]
- set
- {
- EventHandler handler = new EventHandler(this.MaterialRaisedButton1_Click_1);
- MaterialRaisedButton button = this._MaterialRaisedButton1;
- if (button != null)
- {
- button.Click -= handler;
- }
- this._MaterialRaisedButton1 = value;
- button = this._MaterialRaisedButton1;
- if (button != null)
- {
- button.Click += handler;
- }
- }
- }
- internal virtual Panel Panel1
- {
- [CompilerGenerated]
- get
- {
- return this._Panel1;
- }
- [MethodImpl(MethodImplOptions.Synchronized), CompilerGenerated]
- set
- {
- this._Panel1 = value;
- }
- }
- internal virtual BunifuMetroTextbox Textbox1
- {
- [CompilerGenerated]
- get
- {
- return this._Textbox1;
- }
- [MethodImpl(MethodImplOptions.Synchronized), CompilerGenerated]
- set
- {
- this._Textbox1 = value;
- }
- }
- internal virtual BunifuMetroTextbox Textbox2
- {
- [CompilerGenerated]
- get
- {
- return this._Textbox2;
- }
- [MethodImpl(MethodImplOptions.Synchronized), CompilerGenerated]
- set
- {
- this._Textbox2 = value;
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement