diff --git a/Chrome Secure/ApplicationEvents.vb b/Chrome Secure/ApplicationEvents.vb
new file mode 100644
index 0000000..5f28270
--- /dev/null
+++ b/Chrome Secure/ApplicationEvents.vb
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/Chrome Secure/Chrome Secure.vbproj b/Chrome Secure/Chrome Secure.vbproj
index 12244b7..f180cf7 100644
--- a/Chrome Secure/Chrome Secure.vbproj
+++ b/Chrome Secure/Chrome Secure.vbproj
@@ -57,6 +57,10 @@
.\DotNetZip.dll
False
+
+ False
+ libs\MaterialSkin.dll
+
@@ -80,6 +84,7 @@
+
Form
@@ -87,6 +92,12 @@
Form1.vb
Form
+
+ Form3.vb
+
+
+ Form
+
True
@@ -108,17 +119,14 @@
Form
-
- Form3.vb
-
-
- Form
-
Form1.vb
+
+ Form3.vb
+
VbMyResourcesResXFileCodeGenerator
My.Resources
@@ -128,9 +136,6 @@
Form2.vb
-
- Form3.vb
-
diff --git a/Chrome Secure/Form1.Designer.vb b/Chrome Secure/Form1.Designer.vb
index 69dc7d5..24854ec 100644
--- a/Chrome Secure/Form1.Designer.vb
+++ b/Chrome Secure/Form1.Designer.vb
@@ -1,7 +1,6 @@
_
Partial Class Form1
- Inherits System.Windows.Forms.Form
-
+ Inherits MaterialSkin.Controls.MaterialForm
'Форма переопределяет dispose для очистки списка компонентов.
_
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
@@ -24,123 +23,38 @@ Partial Class Form1
Private Sub InitializeComponent()
Me.components = New System.ComponentModel.Container()
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(Form1))
- Me.TextBox2 = New System.Windows.Forms.TextBox()
- Me.Label1 = New System.Windows.Forms.Label()
- Me.Label2 = New System.Windows.Forms.Label()
- Me.GroupBox1 = New System.Windows.Forms.GroupBox()
- Me.Button3 = New System.Windows.Forms.Button()
- Me.Label3 = New System.Windows.Forms.Label()
- Me.TextBox3 = New System.Windows.Forms.TextBox()
- Me.LinkLabel1 = New System.Windows.Forms.LinkLabel()
Me.PictureBox3 = New System.Windows.Forms.PictureBox()
Me.PictureBox2 = New System.Windows.Forms.PictureBox()
- Me.TextBox1 = New System.Windows.Forms.TextBox()
- Me.Button1 = New System.Windows.Forms.Button()
- Me.Button2 = New System.Windows.Forms.Button()
Me.PictureBox1 = New System.Windows.Forms.PictureBox()
Me.Timer1 = New System.Windows.Forms.Timer(Me.components)
Me.NotifyIcon1 = New System.Windows.Forms.NotifyIcon(Me.components)
Me.TextBox4 = New System.Windows.Forms.TextBox()
- Me.GroupBox1.SuspendLayout()
+ Me.Button3 = New MaterialSkin.Controls.MaterialFlatButton()
+ Me.TextBox3 = New MaterialSkin.Controls.MaterialSingleLineTextField()
+ Me.Label3 = New MaterialSkin.Controls.MaterialLabel()
+ Me.TextBox2 = New MaterialSkin.Controls.MaterialSingleLineTextField()
+ Me.TextBox1 = New MaterialSkin.Controls.MaterialSingleLineTextField()
+ Me.MaterialLabel2 = New MaterialSkin.Controls.MaterialLabel()
+ Me.MaterialLabel1 = New MaterialSkin.Controls.MaterialLabel()
+ Me.Button2 = New MaterialSkin.Controls.MaterialRaisedButton()
+ Me.MaterialFlatButton1 = New MaterialSkin.Controls.MaterialFlatButton()
+ Me.MaterialContextMenuStrip1 = New MaterialSkin.Controls.MaterialContextMenuStrip()
+ Me.NoneToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
+ Me.WinZipAes128ToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
+ Me.WinZipAes256ToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
+ Me.MaterialFlatButton2 = New MaterialSkin.Controls.MaterialFlatButton()
CType(Me.PictureBox3, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.PictureBox2, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).BeginInit()
+ Me.MaterialContextMenuStrip1.SuspendLayout()
Me.SuspendLayout()
'
- 'TextBox2
- '
- Me.TextBox2.Location = New System.Drawing.Point(131, 64)
- Me.TextBox2.Name = "TextBox2"
- Me.TextBox2.PasswordChar = Global.Microsoft.VisualBasic.ChrW(42)
- Me.TextBox2.Size = New System.Drawing.Size(100, 21)
- Me.TextBox2.TabIndex = 2
- '
- 'Label1
- '
- Me.Label1.AutoSize = True
- Me.Label1.Location = New System.Drawing.Point(48, 41)
- Me.Label1.Name = "Label1"
- Me.Label1.Size = New System.Drawing.Size(77, 13)
- Me.Label1.TabIndex = 3
- Me.Label1.Text = "Account name:"
- '
- 'Label2
- '
- Me.Label2.AutoSize = True
- Me.Label2.Location = New System.Drawing.Point(69, 67)
- Me.Label2.Name = "Label2"
- Me.Label2.Size = New System.Drawing.Size(56, 13)
- Me.Label2.TabIndex = 4
- Me.Label2.Text = "Password:"
- '
- 'GroupBox1
- '
- Me.GroupBox1.Controls.Add(Me.Button3)
- Me.GroupBox1.Controls.Add(Me.Label3)
- Me.GroupBox1.Controls.Add(Me.TextBox3)
- Me.GroupBox1.Controls.Add(Me.LinkLabel1)
- Me.GroupBox1.Controls.Add(Me.PictureBox3)
- Me.GroupBox1.Controls.Add(Me.PictureBox2)
- Me.GroupBox1.Controls.Add(Me.Label2)
- Me.GroupBox1.Controls.Add(Me.Label1)
- Me.GroupBox1.Controls.Add(Me.TextBox1)
- Me.GroupBox1.Controls.Add(Me.TextBox2)
- Me.GroupBox1.Location = New System.Drawing.Point(0, 71)
- Me.GroupBox1.Name = "GroupBox1"
- Me.GroupBox1.Size = New System.Drawing.Size(330, 145)
- Me.GroupBox1.TabIndex = 6
- Me.GroupBox1.TabStop = False
- Me.GroupBox1.Text = "Authorization"
- '
- 'Button3
- '
- Me.Button3.BackColor = System.Drawing.SystemColors.Control
- Me.Button3.FlatAppearance.BorderSize = 0
- Me.Button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat
- Me.Button3.Font = New System.Drawing.Font("Calibri", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(204, Byte))
- Me.Button3.ForeColor = System.Drawing.Color.FromArgb(CType(CType(34, Byte), Integer), CType(CType(34, Byte), Integer), CType(CType(34, Byte), Integer))
- Me.Button3.Location = New System.Drawing.Point(276, 118)
- Me.Button3.Name = "Button3"
- Me.Button3.Size = New System.Drawing.Size(42, 21)
- Me.Button3.TabIndex = 14
- Me.Button3.Text = "OK"
- Me.Button3.UseVisualStyleBackColor = False
- '
- 'Label3
- '
- Me.Label3.AutoSize = True
- Me.Label3.Location = New System.Drawing.Point(12, 122)
- Me.Label3.Name = "Label3"
- Me.Label3.Size = New System.Drawing.Size(145, 13)
- Me.Label3.TabIndex = 13
- Me.Label3.Text = "Incorrect password message:"
- '
- 'TextBox3
- '
- Me.TextBox3.DataBindings.Add(New System.Windows.Forms.Binding("Text", Global.Chrome_Secure.My.MySettings.Default, "message", True, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged))
- Me.TextBox3.Location = New System.Drawing.Point(163, 118)
- Me.TextBox3.Name = "TextBox3"
- Me.TextBox3.Size = New System.Drawing.Size(107, 21)
- Me.TextBox3.TabIndex = 12
- Me.TextBox3.Text = Global.Chrome_Secure.My.MySettings.Default.message
- '
- 'LinkLabel1
- '
- Me.LinkLabel1.AutoSize = True
- Me.LinkLabel1.LinkColor = System.Drawing.Color.FromArgb(CType(CType(213, Byte), Integer), CType(CType(39, Byte), Integer), CType(CType(27, Byte), Integer))
- Me.LinkLabel1.Location = New System.Drawing.Point(163, 93)
- Me.LinkLabel1.Name = "LinkLabel1"
- Me.LinkLabel1.Size = New System.Drawing.Size(95, 13)
- Me.LinkLabel1.TabIndex = 11
- Me.LinkLabel1.TabStop = True
- Me.LinkLabel1.Text = "Change password?"
- '
'PictureBox3
'
Me.PictureBox3.Image = CType(resources.GetObject("PictureBox3.Image"), System.Drawing.Image)
- Me.PictureBox3.Location = New System.Drawing.Point(237, 38)
+ Me.PictureBox3.Location = New System.Drawing.Point(342, 191)
Me.PictureBox3.Name = "PictureBox3"
- Me.PictureBox3.Size = New System.Drawing.Size(21, 21)
+ Me.PictureBox3.Size = New System.Drawing.Size(24, 24)
Me.PictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom
Me.PictureBox3.TabIndex = 10
Me.PictureBox3.TabStop = False
@@ -148,56 +62,19 @@ Partial Class Form1
'PictureBox2
'
Me.PictureBox2.Image = CType(resources.GetObject("PictureBox2.Image"), System.Drawing.Image)
- Me.PictureBox2.Location = New System.Drawing.Point(237, 64)
+ Me.PictureBox2.Location = New System.Drawing.Point(342, 220)
Me.PictureBox2.Name = "PictureBox2"
- Me.PictureBox2.Size = New System.Drawing.Size(21, 21)
+ Me.PictureBox2.Size = New System.Drawing.Size(24, 24)
Me.PictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom
Me.PictureBox2.TabIndex = 9
Me.PictureBox2.TabStop = False
'
- 'TextBox1
- '
- Me.TextBox1.DataBindings.Add(New System.Windows.Forms.Binding("Text", Global.Chrome_Secure.My.MySettings.Default, "account", True, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged))
- Me.TextBox1.Location = New System.Drawing.Point(131, 38)
- Me.TextBox1.Name = "TextBox1"
- Me.TextBox1.Size = New System.Drawing.Size(100, 21)
- Me.TextBox1.TabIndex = 1
- Me.TextBox1.Text = Global.Chrome_Secure.My.MySettings.Default.account
- '
- 'Button1
- '
- Me.Button1.BackColor = System.Drawing.Color.White
- Me.Button1.FlatAppearance.BorderSize = 0
- Me.Button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat
- Me.Button1.Font = New System.Drawing.Font("Calibri", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(204, Byte))
- Me.Button1.ForeColor = System.Drawing.Color.FromArgb(CType(CType(34, Byte), Integer), CType(CType(34, Byte), Integer), CType(CType(34, Byte), Integer))
- Me.Button1.Location = New System.Drawing.Point(12, 229)
- Me.Button1.Name = "Button1"
- Me.Button1.Size = New System.Drawing.Size(90, 35)
- Me.Button1.TabIndex = 12
- Me.Button1.Text = "Settings"
- Me.Button1.UseVisualStyleBackColor = False
- '
- 'Button2
- '
- Me.Button2.BackColor = System.Drawing.SystemColors.Control
- Me.Button2.FlatAppearance.BorderSize = 0
- Me.Button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat
- Me.Button2.Font = New System.Drawing.Font("Calibri", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(204, Byte))
- Me.Button2.ForeColor = System.Drawing.Color.FromArgb(CType(CType(34, Byte), Integer), CType(CType(34, Byte), Integer), CType(CType(34, Byte), Integer))
- Me.Button2.Location = New System.Drawing.Point(208, 229)
- Me.Button2.Name = "Button2"
- Me.Button2.Size = New System.Drawing.Size(110, 35)
- Me.Button2.TabIndex = 6
- Me.Button2.Text = "Login"
- Me.Button2.UseVisualStyleBackColor = False
- '
'PictureBox1
'
Me.PictureBox1.Image = CType(resources.GetObject("PictureBox1.Image"), System.Drawing.Image)
- Me.PictureBox1.Location = New System.Drawing.Point(0, 12)
+ Me.PictureBox1.Location = New System.Drawing.Point(49, 94)
Me.PictureBox1.Name = "PictureBox1"
- Me.PictureBox1.Size = New System.Drawing.Size(330, 55)
+ Me.PictureBox1.Size = New System.Drawing.Size(352, 69)
Me.PictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom
Me.PictureBox1.TabIndex = 7
Me.PictureBox1.TabStop = False
@@ -213,56 +90,252 @@ Partial Class Form1
'TextBox4
'
Me.TextBox4.DataBindings.Add(New System.Windows.Forms.Binding("Text", Global.Chrome_Secure.My.MySettings.Default, "mess", True, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged))
- Me.TextBox4.Location = New System.Drawing.Point(218, 30)
+ Me.TextBox4.Location = New System.Drawing.Point(185, 117)
Me.TextBox4.Name = "TextBox4"
Me.TextBox4.Size = New System.Drawing.Size(100, 21)
Me.TextBox4.TabIndex = 15
Me.TextBox4.Text = Global.Chrome_Secure.My.MySettings.Default.mess
'
+ 'Button3
+ '
+ Me.Button3.AutoSize = True
+ Me.Button3.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink
+ Me.Button3.Depth = 0
+ Me.Button3.Icon = Nothing
+ Me.Button3.Location = New System.Drawing.Point(391, 271)
+ Me.Button3.Margin = New System.Windows.Forms.Padding(4, 6, 4, 6)
+ Me.Button3.MouseState = MaterialSkin.MouseState.HOVER
+ Me.Button3.Name = "Button3"
+ Me.Button3.Primary = False
+ Me.Button3.Size = New System.Drawing.Size(39, 36)
+ Me.Button3.TabIndex = 17
+ Me.Button3.Text = "OK"
+ Me.Button3.UseVisualStyleBackColor = True
+ '
+ 'TextBox3
+ '
+ Me.TextBox3.DataBindings.Add(New System.Windows.Forms.Binding("Text", Global.Chrome_Secure.My.MySettings.Default, "message", True, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged))
+ Me.TextBox3.Depth = 0
+ Me.TextBox3.Hint = ""
+ Me.TextBox3.Location = New System.Drawing.Point(234, 278)
+ Me.TextBox3.MaxLength = 32767
+ Me.TextBox3.MouseState = MaterialSkin.MouseState.HOVER
+ Me.TextBox3.Name = "TextBox3"
+ Me.TextBox3.PasswordChar = Global.Microsoft.VisualBasic.ChrW(0)
+ Me.TextBox3.SelectedText = ""
+ Me.TextBox3.SelectionLength = 0
+ Me.TextBox3.SelectionStart = 0
+ Me.TextBox3.Size = New System.Drawing.Size(150, 23)
+ Me.TextBox3.TabIndex = 16
+ Me.TextBox3.TabStop = False
+ Me.TextBox3.Text = Global.Chrome_Secure.My.MySettings.Default.message
+ Me.TextBox3.UseSystemPasswordChar = False
+ '
+ 'Label3
+ '
+ Me.Label3.AutoSize = True
+ Me.Label3.Depth = 0
+ Me.Label3.Font = New System.Drawing.Font("Roboto", 11.0!)
+ Me.Label3.ForeColor = System.Drawing.Color.FromArgb(CType(CType(222, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer))
+ Me.Label3.Location = New System.Drawing.Point(21, 282)
+ Me.Label3.MouseState = MaterialSkin.MouseState.HOVER
+ Me.Label3.Name = "Label3"
+ Me.Label3.Size = New System.Drawing.Size(207, 19)
+ Me.Label3.TabIndex = 15
+ Me.Label3.Text = "Incorrect password message:"
+ '
+ 'TextBox2
+ '
+ Me.TextBox2.Depth = 0
+ Me.TextBox2.Hint = ""
+ Me.TextBox2.Location = New System.Drawing.Point(204, 221)
+ Me.TextBox2.MaxLength = 32767
+ Me.TextBox2.MouseState = MaterialSkin.MouseState.HOVER
+ Me.TextBox2.Name = "TextBox2"
+ Me.TextBox2.PasswordChar = Global.Microsoft.VisualBasic.ChrW(42)
+ Me.TextBox2.SelectedText = ""
+ Me.TextBox2.SelectionLength = 0
+ Me.TextBox2.SelectionStart = 0
+ Me.TextBox2.Size = New System.Drawing.Size(132, 23)
+ Me.TextBox2.TabIndex = 11
+ Me.TextBox2.TabStop = False
+ Me.TextBox2.UseSystemPasswordChar = False
+ '
+ 'TextBox1
+ '
+ Me.TextBox1.DataBindings.Add(New System.Windows.Forms.Binding("Text", Global.Chrome_Secure.My.MySettings.Default, "account", True, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged))
+ Me.TextBox1.Depth = 0
+ Me.TextBox1.Hint = ""
+ Me.TextBox1.Location = New System.Drawing.Point(204, 192)
+ Me.TextBox1.MaxLength = 32767
+ Me.TextBox1.MouseState = MaterialSkin.MouseState.HOVER
+ Me.TextBox1.Name = "TextBox1"
+ Me.TextBox1.PasswordChar = Global.Microsoft.VisualBasic.ChrW(0)
+ Me.TextBox1.SelectedText = ""
+ Me.TextBox1.SelectionLength = 0
+ Me.TextBox1.SelectionStart = 0
+ Me.TextBox1.Size = New System.Drawing.Size(132, 23)
+ Me.TextBox1.TabIndex = 10
+ Me.TextBox1.TabStop = False
+ Me.TextBox1.Text = Global.Chrome_Secure.My.MySettings.Default.account
+ Me.TextBox1.UseSystemPasswordChar = False
+ '
+ 'MaterialLabel2
+ '
+ Me.MaterialLabel2.AutoSize = True
+ Me.MaterialLabel2.Depth = 0
+ Me.MaterialLabel2.Font = New System.Drawing.Font("Roboto", 11.0!)
+ Me.MaterialLabel2.ForeColor = System.Drawing.Color.FromArgb(CType(CType(222, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer))
+ Me.MaterialLabel2.Location = New System.Drawing.Point(119, 225)
+ Me.MaterialLabel2.MouseState = MaterialSkin.MouseState.HOVER
+ Me.MaterialLabel2.Name = "MaterialLabel2"
+ Me.MaterialLabel2.Size = New System.Drawing.Size(79, 19)
+ Me.MaterialLabel2.TabIndex = 9
+ Me.MaterialLabel2.Text = "Password:"
+ '
+ 'MaterialLabel1
+ '
+ Me.MaterialLabel1.AutoSize = True
+ Me.MaterialLabel1.Depth = 0
+ Me.MaterialLabel1.Font = New System.Drawing.Font("Roboto", 11.0!)
+ Me.MaterialLabel1.ForeColor = System.Drawing.Color.FromArgb(CType(CType(222, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer))
+ Me.MaterialLabel1.Location = New System.Drawing.Point(88, 196)
+ Me.MaterialLabel1.MouseState = MaterialSkin.MouseState.HOVER
+ Me.MaterialLabel1.Name = "MaterialLabel1"
+ Me.MaterialLabel1.Size = New System.Drawing.Size(110, 19)
+ Me.MaterialLabel1.TabIndex = 8
+ Me.MaterialLabel1.Text = "Account name:"
+ '
+ 'Button2
+ '
+ Me.Button2.AutoSize = True
+ Me.Button2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink
+ Me.Button2.Depth = 0
+ Me.Button2.Icon = Nothing
+ Me.Button2.Location = New System.Drawing.Point(377, 352)
+ Me.Button2.MouseState = MaterialSkin.MouseState.HOVER
+ Me.Button2.Name = "Button2"
+ Me.Button2.Primary = True
+ Me.Button2.Size = New System.Drawing.Size(61, 36)
+ Me.Button2.TabIndex = 18
+ Me.Button2.Text = "Login"
+ Me.Button2.UseVisualStyleBackColor = True
+ '
+ 'MaterialFlatButton1
+ '
+ Me.MaterialFlatButton1.AutoSize = True
+ Me.MaterialFlatButton1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink
+ Me.MaterialFlatButton1.Depth = 0
+ Me.MaterialFlatButton1.Icon = Nothing
+ Me.MaterialFlatButton1.Location = New System.Drawing.Point(217, 352)
+ Me.MaterialFlatButton1.Margin = New System.Windows.Forms.Padding(4, 6, 4, 6)
+ Me.MaterialFlatButton1.MouseState = MaterialSkin.MouseState.HOVER
+ Me.MaterialFlatButton1.Name = "MaterialFlatButton1"
+ Me.MaterialFlatButton1.Primary = False
+ Me.MaterialFlatButton1.Size = New System.Drawing.Size(153, 36)
+ Me.MaterialFlatButton1.TabIndex = 13
+ Me.MaterialFlatButton1.Text = "Change password"
+ Me.MaterialFlatButton1.UseVisualStyleBackColor = True
+ '
+ 'MaterialContextMenuStrip1
+ '
+ Me.MaterialContextMenuStrip1.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer))
+ Me.MaterialContextMenuStrip1.Depth = 0
+ Me.MaterialContextMenuStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.NoneToolStripMenuItem, Me.WinZipAes128ToolStripMenuItem, Me.WinZipAes256ToolStripMenuItem})
+ Me.MaterialContextMenuStrip1.MouseState = MaterialSkin.MouseState.HOVER
+ Me.MaterialContextMenuStrip1.Name = "MaterialContextMenuStrip1"
+ Me.MaterialContextMenuStrip1.Size = New System.Drawing.Size(150, 70)
+ '
+ 'NoneToolStripMenuItem
+ '
+ Me.NoneToolStripMenuItem.Name = "NoneToolStripMenuItem"
+ Me.NoneToolStripMenuItem.Size = New System.Drawing.Size(149, 22)
+ Me.NoneToolStripMenuItem.Text = "None"
+ '
+ 'WinZipAes128ToolStripMenuItem
+ '
+ Me.WinZipAes128ToolStripMenuItem.Name = "WinZipAes128ToolStripMenuItem"
+ Me.WinZipAes128ToolStripMenuItem.Size = New System.Drawing.Size(149, 22)
+ Me.WinZipAes128ToolStripMenuItem.Text = "WinZipAes128"
+ '
+ 'WinZipAes256ToolStripMenuItem
+ '
+ Me.WinZipAes256ToolStripMenuItem.Name = "WinZipAes256ToolStripMenuItem"
+ Me.WinZipAes256ToolStripMenuItem.Size = New System.Drawing.Size(149, 22)
+ Me.WinZipAes256ToolStripMenuItem.Text = "WinZipAes256"
+ '
+ 'MaterialFlatButton2
+ '
+ Me.MaterialFlatButton2.AutoSize = True
+ Me.MaterialFlatButton2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink
+ Me.MaterialFlatButton2.Depth = 0
+ Me.MaterialFlatButton2.Icon = Nothing
+ Me.MaterialFlatButton2.Location = New System.Drawing.Point(13, 352)
+ Me.MaterialFlatButton2.Margin = New System.Windows.Forms.Padding(4, 6, 4, 6)
+ Me.MaterialFlatButton2.MouseState = MaterialSkin.MouseState.HOVER
+ Me.MaterialFlatButton2.Name = "MaterialFlatButton2"
+ Me.MaterialFlatButton2.Primary = False
+ Me.MaterialFlatButton2.Size = New System.Drawing.Size(85, 36)
+ Me.MaterialFlatButton2.TabIndex = 19
+ Me.MaterialFlatButton2.Text = "Settings"
+ Me.MaterialFlatButton2.UseVisualStyleBackColor = True
+ '
'Form1
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink
Me.BackColor = System.Drawing.Color.White
- Me.ClientSize = New System.Drawing.Size(330, 276)
- Me.Controls.Add(Me.Button1)
- Me.Controls.Add(Me.GroupBox1)
- Me.Controls.Add(Me.PictureBox1)
+ Me.ClientSize = New System.Drawing.Size(450, 400)
+ Me.Controls.Add(Me.MaterialFlatButton2)
+ Me.Controls.Add(Me.Button3)
+ Me.Controls.Add(Me.TextBox3)
+ Me.Controls.Add(Me.MaterialFlatButton1)
+ Me.Controls.Add(Me.Label3)
+ Me.Controls.Add(Me.TextBox2)
Me.Controls.Add(Me.Button2)
+ Me.Controls.Add(Me.TextBox1)
+ Me.Controls.Add(Me.MaterialLabel2)
+ Me.Controls.Add(Me.PictureBox2)
+ Me.Controls.Add(Me.PictureBox3)
+ Me.Controls.Add(Me.PictureBox1)
+ Me.Controls.Add(Me.MaterialLabel1)
Me.Controls.Add(Me.TextBox4)
Me.Font = New System.Drawing.Font("Calibri", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(204, Byte))
Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
Me.MaximizeBox = False
Me.MinimizeBox = False
Me.Name = "Form1"
+ Me.Sizable = False
Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
- Me.Text = "Chrome Secure 0.8.1"
- Me.GroupBox1.ResumeLayout(False)
- Me.GroupBox1.PerformLayout()
+ Me.Text = "Chrome Secure 0.8.2"
CType(Me.PictureBox3, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.PictureBox2, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).EndInit()
+ Me.MaterialContextMenuStrip1.ResumeLayout(False)
Me.ResumeLayout(False)
Me.PerformLayout()
End Sub
- Friend WithEvents TextBox1 As System.Windows.Forms.TextBox
- Friend WithEvents TextBox2 As System.Windows.Forms.TextBox
- Friend WithEvents Label1 As System.Windows.Forms.Label
- Friend WithEvents Label2 As System.Windows.Forms.Label
- Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
Friend WithEvents PictureBox1 As System.Windows.Forms.PictureBox
- Friend WithEvents Button2 As System.Windows.Forms.Button
Friend WithEvents Timer1 As System.Windows.Forms.Timer
Friend WithEvents PictureBox2 As System.Windows.Forms.PictureBox
Friend WithEvents PictureBox3 As System.Windows.Forms.PictureBox
- Friend WithEvents LinkLabel1 As System.Windows.Forms.LinkLabel
Friend WithEvents NotifyIcon1 As System.Windows.Forms.NotifyIcon
- Friend WithEvents Button1 As System.Windows.Forms.Button
- Friend WithEvents Label3 As System.Windows.Forms.Label
- Friend WithEvents TextBox3 As System.Windows.Forms.TextBox
- Friend WithEvents Button3 As System.Windows.Forms.Button
Friend WithEvents TextBox4 As System.Windows.Forms.TextBox
+ Friend WithEvents Button2 As MaterialSkin.Controls.MaterialRaisedButton
+ Friend WithEvents MaterialFlatButton1 As MaterialSkin.Controls.MaterialFlatButton
+ Friend WithEvents TextBox2 As MaterialSkin.Controls.MaterialSingleLineTextField
+ Friend WithEvents TextBox1 As MaterialSkin.Controls.MaterialSingleLineTextField
+ Friend WithEvents MaterialLabel2 As MaterialSkin.Controls.MaterialLabel
+ Friend WithEvents MaterialLabel1 As MaterialSkin.Controls.MaterialLabel
+ Friend WithEvents MaterialContextMenuStrip1 As MaterialSkin.Controls.MaterialContextMenuStrip
+ Friend WithEvents NoneToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
+ Friend WithEvents WinZipAes128ToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
+ Friend WithEvents WinZipAes256ToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
+ Friend WithEvents Button3 As MaterialSkin.Controls.MaterialFlatButton
+ Friend WithEvents TextBox3 As MaterialSkin.Controls.MaterialSingleLineTextField
+ Friend WithEvents Label3 As MaterialSkin.Controls.MaterialLabel
+ Friend WithEvents MaterialFlatButton2 As MaterialSkin.Controls.MaterialFlatButton
End Class
diff --git a/Chrome Secure/Form1.resx b/Chrome Secure/Form1.resx
index 1ab4fec..fdd893b 100644
--- a/Chrome Secure/Form1.resx
+++ b/Chrome Secure/Form1.resx
@@ -120,20 +120,31 @@
- iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABGdBTUEAALGPC/xhBQAAAJVJREFUOE9j
- GBbAAIjzoRjEJhsIAPF+IP6PhkFiIDmSwQIghhmyAYph/PVATDJ4AMQgzQ5gHgSA2DBDyQLYwgxmIEXh
- CQMFQAwy7AOYRyFIAGKY60BsikAAEMMMA7mSYnABiEGGgWKeKgDmOuQYpwg0QLECmDfYAMhV96GYKi4E
- eRUWhiA2xQDkKlA2BOHBGYYDCRgYANSwKONUMA4bAAAAAElFTkSuQmCC
+ iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABGdBTUEAALGPC/xhBQAAAUFJREFUWEft
+ 2DErRXEcxvHzAihegkHsNpNVrBI2g7wFk4WUkpJVSjFIkU0Gi0FSXoDsSrJZ+T51Tv36dzk39T+e8v/W
+ p06nW/eJe+453apUKuVvFnu4wgvecIdjbGEcf5KGXeKzxQfW0Glz6DXmJ2fopN+Ma0whew9I3/gUExiu
+ 6Vjn0tfdYxDZWkH6prv4rnWkr19EtpZxi+bNHtHWNeLADWRvBPvQv7KtA8SBnV0s/aaPQBx4BKv0MYgD
+ V2HTGOI4mYRNF4jjnjEAi24Qx8k8LNLDQjpuBxZtIx2nv6ZFve4cuuVZtIR03AlsOkcc9wp9zdj0jjhQ
+ T9k2DSGOk06e/fptFNYDdfvSFRxZDSz9m6Zrds3gCc0VrGOds0k/c8SvGNE5m9JxDZsOkY7TOZsWkA7U
+ Oav0k8dmTcelUntV9QUzwKiysqaOcQAAAABJRU5ErkJggg==
- iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABGdBTUEAALGPC/xhBQAAAPJJREFUOE/t
- k2ENwjAQhSsBCUhBAg7AAXMATsABOAAHzAE4AAfwvtHXHCzZGAn/9pIvOV7vrj3apVF/1UzsxVE8xC3H
- W8Ha15qLs6DJVZzEJkOMxxrNye3UUpBc5xhNxSpDjFhzY+e15GY7McGQ7EXcgBxyo1fEziwcml8v2WNM
- ioEYzydF1PD/Rq9JvAufDFWC4ugR47Fm4VHLBRbRkF1+bUhtnK6MF3exx21SBH5CnyNzwreRkS+Ad+ZT
- 9V0KB4heS25wEQsMiZ0ZEXwK8sjpbGbxWH2bFDHmOkPsRuT0PuwoPi/emV8AEOMN+vRGDVFKT2mDVTfr
- H/CDAAAAAElFTkSuQmCC
+ iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABGdBTUEAALGPC/xhBQAAAthJREFUWEft
+ l1moT2sYh3cuyFAoQ0KHK3FhyJCSMtxR4sKFCzKUOq6UISkpkTHcGOskswwlF8pQSoccSU6GkqJIIVOI
+ ThTPI68+66xv7W3buFlPPRf7/f++9/vvvb5h7Yaampqar3TCwTgQO1r4nYzANXgI/8HH+LHgI7yA+3E1
+ OuanMwb3YPHLNFXH2qPFmYBHsTjha7yD5/EwbsQNeADP4W18hcVx9rJni7ASixP4hWZhUzHrmGKfVfhD
+ +BdJG57EqdhcHGuPtOdmbBbbMW20AMvoguvxFLoxHuIJXIt9sIyFmPbeid/FXozB/+E0LGM0PsN0stQ3
+ OBPLmIH2juw+bBLpmruPuV03ByOnD9CNsgvvfamFuR7j0XGR869eSX+M8FMchGUMwMjpXCyyFdNMTyxj
+ CL7FyA3DLDswgrlHI8cxcsstZJiCkTtmIcMKjJy9SxmFEdptoQI3grnTn3+q5gyadQNVcR1j/okWilxB
+ P3yPbS1k6I3RaJuFRvgLI5/b1eI6jdwtCyndMT70lK9iKEbWO7Yx1mHkh1uo4AlG9n9rdhHGh1W3RDuM
+ 3EELjZBeke0tZNiCkcvu5nQdVHEVzbxDd3SOHuh9bfZfCxnSx3vXQo5JGMHLFjLMx8jdsJDB163ITbeQ
+ 4SxGzvO1kvQWqTo400fnDl2C3rWTcTG+xPi86ihK1+gRC43hI7uGMcjzqzWW4S8QuZy5derj986OnHNW
+ LZdv+APTx+P6GYlljMNLGNnwInrfljEWXRpptuoIKqUbehBHE68jT/y+WIYTePv4YtHLQgmOtUd6tXmQ
+ O1ez6IDptaaurU3oP0dNxaxj0nWp9naOH6IVLsPiG8oHdA35UjsPPSq6ou+HXpuz0TXqlzCbjrWXPe3d
+ YnRGX1pvYjrZ9+hYe9jrp9EG/0Q30Qss+yKpz/FvdIxjfzkeDZ5/nnW+sPq/8lL00O+HNTU1NTXNpqHh
+ E5rWPpNVgWW8AAAAAElFTkSuQmCC
@@ -950,6 +961,9 @@
AADwDwAA/D8AAA==
+
+ 221, 17
+
AAABAAgAAAAAAAEAIAAoIAQAhgAAAICAAAABACAAKAgBAK4gBABgYAAAAQAgAKiUAADWKAUAQEAAAAEA
diff --git a/Chrome Secure/Form1.vb b/Chrome Secure/Form1.vb
index 1c4d8e9..04f332e 100644
--- a/Chrome Secure/Form1.vb
+++ b/Chrome Secure/Form1.vb
@@ -1,6 +1,7 @@
Imports Ionic.Zip
-
+Imports MaterialSkin
Public Class Form1
+
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
If IO.Directory.Exists("bin\" & TextBox1.Text) Then
System.IO.Directory.Delete("bin\" & TextBox1.Text, True) ' Удаляем папку
@@ -13,6 +14,7 @@ Public Class Form1
For Each ext In zip
If (ext.UsesEncryption) Then
ext.ExtractWithPassword("bin\" & TextBox1.Text, TextBox2.Text)
+
Else
ext.Extract("bin\" & TextBox1.Text)
End If
@@ -170,22 +172,28 @@ Public Class Form1
MessageBox.Show("Creating a new user occurs after entering a new account name!", "Chrome Secure", MessageBoxButtons.OK, MessageBoxIcon.Information)
End Sub
- Private Sub LinkLabel1_LinkClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles LinkLabel1.LinkClicked
- Form2.ShowDialog()
- End Sub
+
- Private Sub TextBox2_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox2.KeyDown
+ Private Sub TextBox2_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs)
If e.KeyCode = Keys.Enter Then
e.SuppressKeyPress = True
Button2.PerformClick()
End If
End Sub
- Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
- Form3.Show()
- End Sub
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
+
+ Dim SkinManager As MaterialSkinManager = MaterialSkinManager.Instance
+ SkinManager.AddFormToManage(Me)
+ SkinManager.AddFormToManage(Form2)
+ 'SkinManager.ColorScheme = New ColorScheme(Primary.BlueGrey800, Primary.BlueGrey900, Primary.BlueGrey500, Accent.LightBlue200, TextShade.WHITE)
+ SkinManager.ColorScheme = New ColorScheme(Primary.Grey800, Primary.Grey900, Primary.Grey500, Accent.DeepOrange400, TextShade.WHITE)
+ If Form3.CheckBox3.Checked = True Then
+ SkinManager.Theme = MaterialSkinManager.Themes.DARK
+ Else
+ End If
+
Label3.Hide()
TextBox3.Hide()
Button3.Hide()
@@ -215,5 +223,21 @@ Public Class Form1
Button3.Hide()
Button2.Show()
End Sub
+
+
+ Private Sub MaterialFlatButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MaterialFlatButton1.Click
+ Form2.ShowDialog()
+ End Sub
+
+
+ Private Sub MaterialLabel4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
+ 'MaterialContextMenuStrip1.Show(Cursor.Position.X, Cursor.Position.Y)
+ End Sub
+
+
+
+ Private Sub MaterialFlatButton2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MaterialFlatButton2.Click
+ Form3.Show()
+ End Sub
End Class
diff --git a/Chrome Secure/Form2.Designer.vb b/Chrome Secure/Form2.Designer.vb
index ee4963a..b5becf1 100644
--- a/Chrome Secure/Form2.Designer.vb
+++ b/Chrome Secure/Form2.Designer.vb
@@ -1,7 +1,6 @@
_
Partial Class Form2
- Inherits System.Windows.Forms.Form
-
+ Inherits MaterialSkin.Controls.MaterialForm
'Форма переопределяет dispose для очистки списка компонентов.
_
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
@@ -24,111 +23,121 @@ Partial Class Form2
Private Sub InitializeComponent()
Me.components = New System.ComponentModel.Container()
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(Form2))
- Me.TextBox1 = New System.Windows.Forms.TextBox()
- Me.TextBox2 = New System.Windows.Forms.TextBox()
- Me.GroupBox1 = New System.Windows.Forms.GroupBox()
- Me.Button1 = New System.Windows.Forms.Button()
- Me.Label2 = New System.Windows.Forms.Label()
- Me.Label1 = New System.Windows.Forms.Label()
Me.PictureBox2 = New System.Windows.Forms.PictureBox()
- Me.Button2 = New System.Windows.Forms.Button()
Me.Timer1 = New System.Windows.Forms.Timer(Me.components)
- Me.GroupBox1.SuspendLayout()
+ Me.MaterialLabel1 = New MaterialSkin.Controls.MaterialLabel()
+ Me.MaterialLabel2 = New MaterialSkin.Controls.MaterialLabel()
+ Me.TextBox1 = New MaterialSkin.Controls.MaterialSingleLineTextField()
+ Me.TextBox2 = New MaterialSkin.Controls.MaterialSingleLineTextField()
+ Me.Button1 = New MaterialSkin.Controls.MaterialFlatButton()
+ Me.MaterialRaisedButton1 = New MaterialSkin.Controls.MaterialRaisedButton()
CType(Me.PictureBox2, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
+ 'PictureBox2
+ '
+ Me.PictureBox2.Image = CType(resources.GetObject("PictureBox2.Image"), System.Drawing.Image)
+ Me.PictureBox2.Location = New System.Drawing.Point(316, 115)
+ Me.PictureBox2.Name = "PictureBox2"
+ Me.PictureBox2.Size = New System.Drawing.Size(24, 24)
+ Me.PictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom
+ Me.PictureBox2.TabIndex = 9
+ Me.PictureBox2.TabStop = False
+ '
+ 'Timer1
+ '
+ Me.Timer1.Interval = 1000
+ '
+ 'MaterialLabel1
+ '
+ Me.MaterialLabel1.AutoSize = True
+ Me.MaterialLabel1.Depth = 0
+ Me.MaterialLabel1.Font = New System.Drawing.Font("Roboto", 11.0!)
+ Me.MaterialLabel1.ForeColor = System.Drawing.Color.FromArgb(CType(CType(222, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer))
+ Me.MaterialLabel1.Location = New System.Drawing.Point(41, 120)
+ Me.MaterialLabel1.MouseState = MaterialSkin.MouseState.HOVER
+ Me.MaterialLabel1.Name = "MaterialLabel1"
+ Me.MaterialLabel1.Size = New System.Drawing.Size(131, 19)
+ Me.MaterialLabel1.TabIndex = 13
+ Me.MaterialLabel1.Text = "Current password:"
+ '
+ 'MaterialLabel2
+ '
+ Me.MaterialLabel2.AutoSize = True
+ Me.MaterialLabel2.Depth = 0
+ Me.MaterialLabel2.Font = New System.Drawing.Font("Roboto", 11.0!)
+ Me.MaterialLabel2.ForeColor = System.Drawing.Color.FromArgb(CType(CType(222, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer))
+ Me.MaterialLabel2.Location = New System.Drawing.Point(60, 153)
+ Me.MaterialLabel2.MouseState = MaterialSkin.MouseState.HOVER
+ Me.MaterialLabel2.Name = "MaterialLabel2"
+ Me.MaterialLabel2.Size = New System.Drawing.Size(112, 19)
+ Me.MaterialLabel2.TabIndex = 14
+ Me.MaterialLabel2.Text = "New password:"
+ '
'TextBox1
'
- Me.TextBox1.Location = New System.Drawing.Point(124, 38)
+ Me.TextBox1.Depth = 0
+ Me.TextBox1.Hint = ""
+ Me.TextBox1.Location = New System.Drawing.Point(178, 116)
+ Me.TextBox1.MaxLength = 32767
+ Me.TextBox1.MouseState = MaterialSkin.MouseState.HOVER
Me.TextBox1.Name = "TextBox1"
Me.TextBox1.PasswordChar = Global.Microsoft.VisualBasic.ChrW(42)
- Me.TextBox1.Size = New System.Drawing.Size(100, 21)
- Me.TextBox1.TabIndex = 1
+ Me.TextBox1.SelectedText = ""
+ Me.TextBox1.SelectionLength = 0
+ Me.TextBox1.SelectionStart = 0
+ Me.TextBox1.Size = New System.Drawing.Size(132, 23)
+ Me.TextBox1.TabIndex = 15
+ Me.TextBox1.TabStop = False
+ Me.TextBox1.UseSystemPasswordChar = False
'
'TextBox2
'
- Me.TextBox2.Location = New System.Drawing.Point(124, 65)
+ Me.TextBox2.Depth = 0
+ Me.TextBox2.Hint = ""
+ Me.TextBox2.Location = New System.Drawing.Point(178, 149)
+ Me.TextBox2.MaxLength = 32767
+ Me.TextBox2.MouseState = MaterialSkin.MouseState.HOVER
Me.TextBox2.Name = "TextBox2"
Me.TextBox2.PasswordChar = Global.Microsoft.VisualBasic.ChrW(42)
- Me.TextBox2.Size = New System.Drawing.Size(100, 21)
- Me.TextBox2.TabIndex = 2
- '
- 'GroupBox1
- '
- Me.GroupBox1.Controls.Add(Me.Button1)
- Me.GroupBox1.Controls.Add(Me.Label2)
- Me.GroupBox1.Controls.Add(Me.Label1)
- Me.GroupBox1.Controls.Add(Me.PictureBox2)
- Me.GroupBox1.Controls.Add(Me.Button2)
- Me.GroupBox1.Controls.Add(Me.TextBox1)
- Me.GroupBox1.Controls.Add(Me.TextBox2)
- Me.GroupBox1.Dock = System.Windows.Forms.DockStyle.Fill
- Me.GroupBox1.Location = New System.Drawing.Point(0, 0)
- Me.GroupBox1.Name = "GroupBox1"
- Me.GroupBox1.Size = New System.Drawing.Size(274, 146)
- Me.GroupBox1.TabIndex = 6
- Me.GroupBox1.TabStop = False
- Me.GroupBox1.Text = "Replace security code"
+ Me.TextBox2.SelectedText = ""
+ Me.TextBox2.SelectionLength = 0
+ Me.TextBox2.SelectionStart = 0
+ Me.TextBox2.Size = New System.Drawing.Size(132, 23)
+ Me.TextBox2.TabIndex = 16
+ Me.TextBox2.TabStop = False
+ Me.TextBox2.UseSystemPasswordChar = False
'
'Button1
'
- Me.Button1.BackColor = System.Drawing.SystemColors.Control
- Me.Button1.FlatAppearance.BorderSize = 0
- Me.Button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat
- Me.Button1.Font = New System.Drawing.Font("Calibri", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(204, Byte))
- Me.Button1.ForeColor = System.Drawing.Color.FromArgb(CType(CType(34, Byte), Integer), CType(CType(34, Byte), Integer), CType(CType(34, Byte), Integer))
- Me.Button1.Location = New System.Drawing.Point(116, 109)
+ Me.Button1.AutoSize = True
+ Me.Button1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink
+ Me.Button1.Depth = 0
+ Me.Button1.Icon = Nothing
+ Me.Button1.Location = New System.Drawing.Point(243, 227)
+ Me.Button1.Margin = New System.Windows.Forms.Padding(4, 6, 4, 6)
+ Me.Button1.MouseState = MaterialSkin.MouseState.HOVER
Me.Button1.Name = "Button1"
- Me.Button1.Size = New System.Drawing.Size(70, 25)
- Me.Button1.TabIndex = 12
+ Me.Button1.Primary = False
+ Me.Button1.Size = New System.Drawing.Size(63, 36)
+ Me.Button1.TabIndex = 17
Me.Button1.Text = "Close"
- Me.Button1.UseVisualStyleBackColor = False
- '
- 'Label2
- '
- Me.Label2.AutoSize = True
- Me.Label2.Location = New System.Drawing.Point(39, 68)
- Me.Label2.Name = "Label2"
- Me.Label2.Size = New System.Drawing.Size(79, 13)
- Me.Label2.TabIndex = 11
- Me.Label2.Text = "New password:"
- '
- 'Label1
- '
- Me.Label1.AutoSize = True
- Me.Label1.Location = New System.Drawing.Point(24, 41)
- Me.Label1.Name = "Label1"
- Me.Label1.Size = New System.Drawing.Size(94, 13)
- Me.Label1.TabIndex = 10
- Me.Label1.Text = "Current password:"
- '
- 'PictureBox2
- '
- Me.PictureBox2.Image = CType(resources.GetObject("PictureBox2.Image"), System.Drawing.Image)
- Me.PictureBox2.Location = New System.Drawing.Point(230, 38)
- Me.PictureBox2.Name = "PictureBox2"
- Me.PictureBox2.Size = New System.Drawing.Size(21, 21)
- Me.PictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom
- Me.PictureBox2.TabIndex = 9
- Me.PictureBox2.TabStop = False
- '
- 'Button2
- '
- Me.Button2.BackColor = System.Drawing.SystemColors.Control
- Me.Button2.FlatAppearance.BorderSize = 0
- Me.Button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat
- Me.Button2.Font = New System.Drawing.Font("Calibri", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(204, Byte))
- Me.Button2.ForeColor = System.Drawing.Color.FromArgb(CType(CType(34, Byte), Integer), CType(CType(34, Byte), Integer), CType(CType(34, Byte), Integer))
- Me.Button2.Location = New System.Drawing.Point(192, 109)
- Me.Button2.Name = "Button2"
- Me.Button2.Size = New System.Drawing.Size(70, 25)
- Me.Button2.TabIndex = 6
- Me.Button2.Text = "Save"
- Me.Button2.UseVisualStyleBackColor = False
- '
- 'Timer1
- '
- Me.Timer1.Interval = 1000
+ Me.Button1.UseVisualStyleBackColor = True
+ '
+ 'MaterialRaisedButton1
+ '
+ Me.MaterialRaisedButton1.AutoSize = True
+ Me.MaterialRaisedButton1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink
+ Me.MaterialRaisedButton1.Depth = 0
+ Me.MaterialRaisedButton1.Icon = Nothing
+ Me.MaterialRaisedButton1.Location = New System.Drawing.Point(313, 227)
+ Me.MaterialRaisedButton1.MouseState = MaterialSkin.MouseState.HOVER
+ Me.MaterialRaisedButton1.Name = "MaterialRaisedButton1"
+ Me.MaterialRaisedButton1.Primary = True
+ Me.MaterialRaisedButton1.Size = New System.Drawing.Size(55, 36)
+ Me.MaterialRaisedButton1.TabIndex = 18
+ Me.MaterialRaisedButton1.Text = "Save"
+ Me.MaterialRaisedButton1.UseVisualStyleBackColor = True
'
'Form2
'
@@ -136,32 +145,36 @@ Partial Class Form2
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink
Me.BackColor = System.Drawing.Color.White
- Me.ClientSize = New System.Drawing.Size(274, 146)
- Me.Controls.Add(Me.GroupBox1)
+ Me.ClientSize = New System.Drawing.Size(380, 275)
+ Me.Controls.Add(Me.MaterialRaisedButton1)
+ Me.Controls.Add(Me.Button1)
+ Me.Controls.Add(Me.TextBox2)
+ Me.Controls.Add(Me.TextBox1)
+ Me.Controls.Add(Me.MaterialLabel2)
+ Me.Controls.Add(Me.MaterialLabel1)
+ Me.Controls.Add(Me.PictureBox2)
Me.Font = New System.Drawing.Font("Calibri", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(204, Byte))
- Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow
Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
Me.MaximizeBox = False
Me.MinimizeBox = False
Me.Name = "Form2"
Me.ShowInTaskbar = False
+ Me.Sizable = False
Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
Me.Text = "Protection"
Me.TopMost = True
- Me.GroupBox1.ResumeLayout(False)
- Me.GroupBox1.PerformLayout()
CType(Me.PictureBox2, System.ComponentModel.ISupportInitialize).EndInit()
Me.ResumeLayout(False)
+ Me.PerformLayout()
End Sub
- Friend WithEvents TextBox1 As System.Windows.Forms.TextBox
- Friend WithEvents TextBox2 As System.Windows.Forms.TextBox
- Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
- Friend WithEvents Button2 As System.Windows.Forms.Button
Friend WithEvents Timer1 As System.Windows.Forms.Timer
Friend WithEvents PictureBox2 As System.Windows.Forms.PictureBox
- Friend WithEvents Button1 As System.Windows.Forms.Button
- Friend WithEvents Label2 As System.Windows.Forms.Label
- Friend WithEvents Label1 As System.Windows.Forms.Label
+ Friend WithEvents MaterialLabel1 As MaterialSkin.Controls.MaterialLabel
+ Friend WithEvents MaterialLabel2 As MaterialSkin.Controls.MaterialLabel
+ Friend WithEvents TextBox1 As MaterialSkin.Controls.MaterialSingleLineTextField
+ Friend WithEvents TextBox2 As MaterialSkin.Controls.MaterialSingleLineTextField
+ Friend WithEvents Button1 As MaterialSkin.Controls.MaterialFlatButton
+ Friend WithEvents MaterialRaisedButton1 As MaterialSkin.Controls.MaterialRaisedButton
End Class
diff --git a/Chrome Secure/Form2.resx b/Chrome Secure/Form2.resx
index bea92b3..c498c0a 100644
--- a/Chrome Secure/Form2.resx
+++ b/Chrome Secure/Form2.resx
@@ -120,12 +120,20 @@
- iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABGdBTUEAALGPC/xhBQAAAPJJREFUOE/t
- k2ENwjAQhSsBCUhBAg7AAXMATsABOAAHzAE4AAfwvtHXHCzZGAn/9pIvOV7vrj3apVF/1UzsxVE8xC3H
- W8Ha15qLs6DJVZzEJkOMxxrNye3UUpBc5xhNxSpDjFhzY+e15GY7McGQ7EXcgBxyo1fEziwcml8v2WNM
- ioEYzydF1PD/Rq9JvAufDFWC4ugR47Fm4VHLBRbRkF1+bUhtnK6MF3exx21SBH5CnyNzwreRkS+Ad+ZT
- 9V0KB4heS25wEQsMiZ0ZEXwK8sjpbGbxWH2bFDHmOkPsRuT0PuwoPi/emV8AEOMN+vRGDVFKT2mDVTfr
- H/CDAAAAAElFTkSuQmCC
+ iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABGdBTUEAALGPC/xhBQAAAthJREFUWEft
+ l1moT2sYh3cuyFAoQ0KHK3FhyJCSMtxR4sKFCzKUOq6UISkpkTHcGOskswwlF8pQSoccSU6GkqJIIVOI
+ ThTPI68+66xv7W3buFlPPRf7/f++9/vvvb5h7Yaampqar3TCwTgQO1r4nYzANXgI/8HH+LHgI7yA+3E1
+ OuanMwb3YPHLNFXH2qPFmYBHsTjha7yD5/EwbsQNeADP4W18hcVx9rJni7ASixP4hWZhUzHrmGKfVfhD
+ +BdJG57EqdhcHGuPtOdmbBbbMW20AMvoguvxFLoxHuIJXIt9sIyFmPbeid/FXozB/+E0LGM0PsN0stQ3
+ OBPLmIH2juw+bBLpmruPuV03ByOnD9CNsgvvfamFuR7j0XGR869eSX+M8FMchGUMwMjpXCyyFdNMTyxj
+ CL7FyA3DLDswgrlHI8cxcsstZJiCkTtmIcMKjJy9SxmFEdptoQI3grnTn3+q5gyadQNVcR1j/okWilxB
+ P3yPbS1k6I3RaJuFRvgLI5/b1eI6jdwtCyndMT70lK9iKEbWO7Yx1mHkh1uo4AlG9n9rdhHGh1W3RDuM
+ 3EELjZBeke0tZNiCkcvu5nQdVHEVzbxDd3SOHuh9bfZfCxnSx3vXQo5JGMHLFjLMx8jdsJDB163ITbeQ
+ 4SxGzvO1kvQWqTo400fnDl2C3rWTcTG+xPi86ihK1+gRC43hI7uGMcjzqzWW4S8QuZy5derj986OnHNW
+ LZdv+APTx+P6GYlljMNLGNnwInrfljEWXRpptuoIKqUbehBHE68jT/y+WIYTePv4YtHLQgmOtUd6tXmQ
+ O1ez6IDptaaurU3oP0dNxaxj0nWp9naOH6IVLsPiG8oHdA35UjsPPSq6ou+HXpuz0TXqlzCbjrWXPe3d
+ YnRGX1pvYjrZ9+hYe9jrp9EG/0Q30Qss+yKpz/FvdIxjfzkeDZ5/nnW+sPq/8lL00O+HNTU1NTXNpqHh
+ E5rWPpNVgWW8AAAAAElFTkSuQmCC
diff --git a/Chrome Secure/Form2.vb b/Chrome Secure/Form2.vb
index 2fefbe9..2e07612 100644
--- a/Chrome Secure/Form2.vb
+++ b/Chrome Secure/Form2.vb
@@ -15,7 +15,7 @@ Public Class Form2
End Sub
- Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
+ Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MaterialRaisedButton1.Click
Try
Using zip As New ZipFile(Form1.TextBox1.Text)
Dim ext As ZipEntry
@@ -38,7 +38,7 @@ Public Class Form2
zip.AddDirectory("cache\" & Form1.TextBox1.Text)
zip.Save(Form1.TextBox1.Text)
End Using
- Catch
+ Catch
MsgBox("Account does not exist! Try another name!")
End Try
diff --git a/Chrome Secure/Form3.Designer.vb b/Chrome Secure/Form3.Designer.vb
index 519e3d6..4bac452 100644
--- a/Chrome Secure/Form3.Designer.vb
+++ b/Chrome Secure/Form3.Designer.vb
@@ -33,6 +33,7 @@ Partial Class Form3
Me.ComboBox1 = New System.Windows.Forms.ComboBox()
Me.NumericUpDown1 = New System.Windows.Forms.NumericUpDown()
Me.Button1 = New System.Windows.Forms.Button()
+ Me.CheckBox3 = New System.Windows.Forms.CheckBox()
Me.GroupBox1.SuspendLayout()
CType(Me.PictureBox3, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.NumericUpDown1, System.ComponentModel.ISupportInitialize).BeginInit()
@@ -40,6 +41,7 @@ Partial Class Form3
'
'GroupBox1
'
+ Me.GroupBox1.Controls.Add(Me.CheckBox3)
Me.GroupBox1.Controls.Add(Me.Button2)
Me.GroupBox1.Controls.Add(Me.PictureBox3)
Me.GroupBox1.Controls.Add(Me.CheckBox2)
@@ -52,7 +54,7 @@ Partial Class Form3
Me.GroupBox1.Dock = System.Windows.Forms.DockStyle.Fill
Me.GroupBox1.Location = New System.Drawing.Point(0, 0)
Me.GroupBox1.Name = "GroupBox1"
- Me.GroupBox1.Size = New System.Drawing.Size(274, 162)
+ Me.GroupBox1.Size = New System.Drawing.Size(274, 186)
Me.GroupBox1.TabIndex = 6
Me.GroupBox1.TabStop = False
Me.GroupBox1.Text = "Options"
@@ -64,7 +66,7 @@ Partial Class Form3
Me.Button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat
Me.Button2.Font = New System.Drawing.Font("Calibri", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(204, Byte))
Me.Button2.ForeColor = System.Drawing.Color.FromArgb(CType(CType(34, Byte), Integer), CType(CType(34, Byte), Integer), CType(CType(34, Byte), Integer))
- Me.Button2.Location = New System.Drawing.Point(127, 125)
+ Me.Button2.Location = New System.Drawing.Point(127, 149)
Me.Button2.Name = "Button2"
Me.Button2.Size = New System.Drawing.Size(59, 25)
Me.Button2.TabIndex = 21
@@ -152,20 +154,32 @@ Partial Class Form3
Me.Button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat
Me.Button1.Font = New System.Drawing.Font("Calibri", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(204, Byte))
Me.Button1.ForeColor = System.Drawing.Color.FromArgb(CType(CType(34, Byte), Integer), CType(CType(34, Byte), Integer), CType(CType(34, Byte), Integer))
- Me.Button1.Location = New System.Drawing.Point(192, 125)
+ Me.Button1.Location = New System.Drawing.Point(192, 149)
Me.Button1.Name = "Button1"
Me.Button1.Size = New System.Drawing.Size(70, 25)
Me.Button1.TabIndex = 12
Me.Button1.Text = "Close"
Me.Button1.UseVisualStyleBackColor = False
'
+ 'CheckBox3
+ '
+ Me.CheckBox3.AutoSize = True
+ Me.CheckBox3.Checked = Global.Chrome_Secure.My.MySettings.Default.theme
+ Me.CheckBox3.DataBindings.Add(New System.Windows.Forms.Binding("Checked", Global.Chrome_Secure.My.MySettings.Default, "theme", True, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged))
+ Me.CheckBox3.Location = New System.Drawing.Point(12, 125)
+ Me.CheckBox3.Name = "CheckBox3"
+ Me.CheckBox3.Size = New System.Drawing.Size(110, 17)
+ Me.CheckBox3.TabIndex = 22
+ Me.CheckBox3.Text = "Enable dark mode"
+ Me.CheckBox3.UseVisualStyleBackColor = True
+ '
'Form3
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink
Me.BackColor = System.Drawing.Color.White
- Me.ClientSize = New System.Drawing.Size(274, 162)
+ Me.ClientSize = New System.Drawing.Size(274, 186)
Me.Controls.Add(Me.GroupBox1)
Me.Font = New System.Drawing.Font("Calibri", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(204, Byte))
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow
@@ -194,5 +208,6 @@ Partial Class Form3
Friend WithEvents CheckBox2 As System.Windows.Forms.CheckBox
Friend WithEvents PictureBox3 As System.Windows.Forms.PictureBox
Friend WithEvents Button2 As System.Windows.Forms.Button
+ Friend WithEvents CheckBox3 As System.Windows.Forms.CheckBox
End Class
diff --git a/Chrome Secure/Form3.vb b/Chrome Secure/Form3.vb
index 3f26697..76f29d0 100644
--- a/Chrome Secure/Form3.vb
+++ b/Chrome Secure/Form3.vb
@@ -30,6 +30,7 @@ Public Class Form3
ComboBox1.Text = "None"
CheckBox1.Checked = False
CheckBox2.Checked = False
+ CheckBox3.Checked = False
Form1.TextBox1.Text = "Default"
Form1.TextBox3.Text = ""
Form1.TextBox4.Text = ""
diff --git a/Chrome Secure/My Project/Application.Designer.vb b/Chrome Secure/My Project/Application.Designer.vb
index 0526cf6..35cfd58 100644
--- a/Chrome Secure/My Project/Application.Designer.vb
+++ b/Chrome Secure/My Project/Application.Designer.vb
@@ -34,7 +34,7 @@ Namespace My
If arg.Name.Contains("Zip") Then
Return Reflection.Assembly.Load(My.Resources.DotNetZip)
End If
- If arg.Name.Contains("Dll_Reference_Name") Then
+ If arg.Name.Contains("MaterialSkin") Then
Return Reflection.Assembly.Load(My.Resources.MaterialSkin)
End If
Return Nothing
diff --git a/Chrome Secure/My Project/Settings.Designer.vb b/Chrome Secure/My Project/Settings.Designer.vb
index 85b42af..c47e9b1 100644
--- a/Chrome Secure/My Project/Settings.Designer.vb
+++ b/Chrome Secure/My Project/Settings.Designer.vb
@@ -137,6 +137,18 @@ Namespace My
Me("mess") = value
End Set
End Property
+
+ _
+ Public Property theme() As Boolean
+ Get
+ Return CType(Me("theme"),Boolean)
+ End Get
+ Set
+ Me("theme") = value
+ End Set
+ End Property
End Class
End Namespace
diff --git a/Chrome Secure/My Project/Settings.settings b/Chrome Secure/My Project/Settings.settings
index 2093bad..a9fd79f 100644
--- a/Chrome Secure/My Project/Settings.settings
+++ b/Chrome Secure/My Project/Settings.settings
@@ -23,5 +23,8 @@
+
+ False
+
\ No newline at end of file
diff --git a/Chrome Secure/app.config b/Chrome Secure/app.config
index f0f0a6e..2db5ada 100644
--- a/Chrome Secure/app.config
+++ b/Chrome Secure/app.config
@@ -50,6 +50,9 @@
+
+ False
+
diff --git a/Chrome Secure/icons/question_mark_FILL0_wght400_GRAD0_opsz40.png b/Chrome Secure/icons/question_mark_FILL0_wght400_GRAD0_opsz40.png
new file mode 100644
index 0000000..7fd0eb2
Binary files /dev/null and b/Chrome Secure/icons/question_mark_FILL0_wght400_GRAD0_opsz40.png differ
diff --git a/Chrome Secure/icons/visibility_FILL0_wght400_GRAD0_opsz40.png b/Chrome Secure/icons/visibility_FILL0_wght400_GRAD0_opsz40.png
new file mode 100644
index 0000000..b35fb22
Binary files /dev/null and b/Chrome Secure/icons/visibility_FILL0_wght400_GRAD0_opsz40.png differ
diff --git a/README.md b/README.md
index 9cf6471..e5bfe6b 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,6 @@
-# chromesecure 0.8.1
+# chromesecure 0.8.2
Encryption of personal data in the Google Chrome browser!
-Changelog:
-- Libraries inside the executable (DotNetZip, MaterialSkin)
-- The password is deleted if it was entered incorrectly
+- Material design implemented
+- Libraries inside the executable
-Changes are minimal, minor update, expect a redesign!
-
-Based on DotNetZip with encryption (WinZipAES128/256).
+Based on MaterialSkin 4.0 & DotNetZip with encryption (WinZipAES128/256).