mirror of
https://github.com/TheUltimateHacker/ShiftOS.git
synced 2025-01-22 16:12:14 +00:00
4caacce50c
ShiftOS is a game about evolving an experimental operating system called "ShiftOS" from a completely black and white text based command line based OS to a fully graphical operating system filled with advanced features and beautiful colours. The level of customization will exceed the levels of real world operating systems
270 lines
12 KiB
VB.net
270 lines
12 KiB
VB.net
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
|
|
Partial Class Clock
|
|
Inherits System.Windows.Forms.Form
|
|
|
|
'Form overrides dispose to clean up the component list.
|
|
<System.Diagnostics.DebuggerNonUserCode()> _
|
|
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
|
|
Try
|
|
If disposing AndAlso components IsNot Nothing Then
|
|
components.Dispose()
|
|
End If
|
|
Finally
|
|
MyBase.Dispose(disposing)
|
|
End Try
|
|
End Sub
|
|
|
|
'Required by the Windows Form Designer
|
|
Private components As System.ComponentModel.IContainer
|
|
|
|
'NOTE: The following procedure is required by the Windows Form Designer
|
|
'It can be modified using the Windows Form Designer.
|
|
'Do not modify it using the code editor.
|
|
<System.Diagnostics.DebuggerStepThrough()> _
|
|
Private Sub InitializeComponent()
|
|
Me.components = New System.ComponentModel.Container()
|
|
Me.pgright = New System.Windows.Forms.Panel()
|
|
Me.pgbottomrcorner = New System.Windows.Forms.Panel()
|
|
Me.pgleft = New System.Windows.Forms.Panel()
|
|
Me.pgbottomlcorner = New System.Windows.Forms.Panel()
|
|
Me.titlebar = New System.Windows.Forms.Panel()
|
|
Me.minimizebutton = New System.Windows.Forms.Panel()
|
|
Me.pnlicon = New System.Windows.Forms.PictureBox()
|
|
Me.rollupbutton = New System.Windows.Forms.Panel()
|
|
Me.closebutton = New System.Windows.Forms.Panel()
|
|
Me.lbtitletext = New System.Windows.Forms.Label()
|
|
Me.pgtoplcorner = New System.Windows.Forms.Panel()
|
|
Me.pgtoprcorner = New System.Windows.Forms.Panel()
|
|
Me.pgbottom = New System.Windows.Forms.Panel()
|
|
Me.pgcontents = New System.Windows.Forms.Panel()
|
|
Me.bottomtext = New System.Windows.Forms.Label()
|
|
Me.toptext = New System.Windows.Forms.Label()
|
|
Me.lbmaintime = New System.Windows.Forms.Label()
|
|
Me.clocktick = New System.Windows.Forms.Timer(Me.components)
|
|
Me.pgright.SuspendLayout()
|
|
Me.pgleft.SuspendLayout()
|
|
Me.titlebar.SuspendLayout()
|
|
CType(Me.pnlicon, System.ComponentModel.ISupportInitialize).BeginInit()
|
|
Me.pgcontents.SuspendLayout()
|
|
Me.SuspendLayout()
|
|
'
|
|
'pgright
|
|
'
|
|
Me.pgright.BackColor = System.Drawing.Color.Gray
|
|
Me.pgright.Controls.Add(Me.pgbottomrcorner)
|
|
Me.pgright.Dock = System.Windows.Forms.DockStyle.Right
|
|
Me.pgright.Location = New System.Drawing.Point(364, 30)
|
|
Me.pgright.Name = "pgright"
|
|
Me.pgright.Size = New System.Drawing.Size(2, 137)
|
|
Me.pgright.TabIndex = 22
|
|
'
|
|
'pgbottomrcorner
|
|
'
|
|
Me.pgbottomrcorner.BackColor = System.Drawing.Color.Red
|
|
Me.pgbottomrcorner.Dock = System.Windows.Forms.DockStyle.Bottom
|
|
Me.pgbottomrcorner.Location = New System.Drawing.Point(0, 135)
|
|
Me.pgbottomrcorner.Name = "pgbottomrcorner"
|
|
Me.pgbottomrcorner.Size = New System.Drawing.Size(2, 2)
|
|
Me.pgbottomrcorner.TabIndex = 15
|
|
'
|
|
'pgleft
|
|
'
|
|
Me.pgleft.BackColor = System.Drawing.Color.Gray
|
|
Me.pgleft.Controls.Add(Me.pgbottomlcorner)
|
|
Me.pgleft.Dock = System.Windows.Forms.DockStyle.Left
|
|
Me.pgleft.Location = New System.Drawing.Point(0, 30)
|
|
Me.pgleft.Name = "pgleft"
|
|
Me.pgleft.Size = New System.Drawing.Size(2, 137)
|
|
Me.pgleft.TabIndex = 21
|
|
'
|
|
'pgbottomlcorner
|
|
'
|
|
Me.pgbottomlcorner.BackColor = System.Drawing.Color.Red
|
|
Me.pgbottomlcorner.Dock = System.Windows.Forms.DockStyle.Bottom
|
|
Me.pgbottomlcorner.Location = New System.Drawing.Point(0, 135)
|
|
Me.pgbottomlcorner.Name = "pgbottomlcorner"
|
|
Me.pgbottomlcorner.Size = New System.Drawing.Size(2, 2)
|
|
Me.pgbottomlcorner.TabIndex = 14
|
|
'
|
|
'titlebar
|
|
'
|
|
Me.titlebar.BackColor = System.Drawing.Color.Gray
|
|
Me.titlebar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
|
|
Me.titlebar.Controls.Add(Me.minimizebutton)
|
|
Me.titlebar.Controls.Add(Me.pnlicon)
|
|
Me.titlebar.Controls.Add(Me.rollupbutton)
|
|
Me.titlebar.Controls.Add(Me.closebutton)
|
|
Me.titlebar.Controls.Add(Me.lbtitletext)
|
|
Me.titlebar.Controls.Add(Me.pgtoplcorner)
|
|
Me.titlebar.Controls.Add(Me.pgtoprcorner)
|
|
Me.titlebar.Dock = System.Windows.Forms.DockStyle.Top
|
|
Me.titlebar.ForeColor = System.Drawing.Color.White
|
|
Me.titlebar.Location = New System.Drawing.Point(0, 0)
|
|
Me.titlebar.Name = "titlebar"
|
|
Me.titlebar.Size = New System.Drawing.Size(366, 30)
|
|
Me.titlebar.TabIndex = 19
|
|
'
|
|
'minimizebutton
|
|
'
|
|
Me.minimizebutton.BackColor = System.Drawing.Color.Black
|
|
Me.minimizebutton.Location = New System.Drawing.Point(246, 3)
|
|
Me.minimizebutton.Name = "minimizebutton"
|
|
Me.minimizebutton.Size = New System.Drawing.Size(22, 22)
|
|
Me.minimizebutton.TabIndex = 22
|
|
'
|
|
'pnlicon
|
|
'
|
|
Me.pnlicon.BackColor = System.Drawing.Color.Transparent
|
|
Me.pnlicon.Image = Global.ShiftOS.My.Resources.Resources.iconClock
|
|
Me.pnlicon.Location = New System.Drawing.Point(8, 8)
|
|
Me.pnlicon.Name = "pnlicon"
|
|
Me.pnlicon.Size = New System.Drawing.Size(16, 16)
|
|
Me.pnlicon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
|
|
Me.pnlicon.TabIndex = 24
|
|
Me.pnlicon.TabStop = False
|
|
Me.pnlicon.Visible = False
|
|
'
|
|
'rollupbutton
|
|
'
|
|
Me.rollupbutton.BackColor = System.Drawing.Color.Black
|
|
Me.rollupbutton.Location = New System.Drawing.Point(274, 3)
|
|
Me.rollupbutton.Name = "rollupbutton"
|
|
Me.rollupbutton.Size = New System.Drawing.Size(22, 22)
|
|
Me.rollupbutton.TabIndex = 21
|
|
'
|
|
'closebutton
|
|
'
|
|
Me.closebutton.BackColor = System.Drawing.Color.Black
|
|
Me.closebutton.Location = New System.Drawing.Point(302, 3)
|
|
Me.closebutton.Name = "closebutton"
|
|
Me.closebutton.Size = New System.Drawing.Size(22, 22)
|
|
Me.closebutton.TabIndex = 20
|
|
'
|
|
'lbtitletext
|
|
'
|
|
Me.lbtitletext.AutoSize = True
|
|
Me.lbtitletext.BackColor = System.Drawing.Color.Transparent
|
|
Me.lbtitletext.Font = New System.Drawing.Font("Felix Titling", 11.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
|
Me.lbtitletext.Location = New System.Drawing.Point(26, 7)
|
|
Me.lbtitletext.Name = "lbtitletext"
|
|
Me.lbtitletext.Size = New System.Drawing.Size(69, 18)
|
|
Me.lbtitletext.TabIndex = 19
|
|
Me.lbtitletext.Text = "Clock"
|
|
'
|
|
'pgtoplcorner
|
|
'
|
|
Me.pgtoplcorner.BackColor = System.Drawing.Color.Red
|
|
Me.pgtoplcorner.Dock = System.Windows.Forms.DockStyle.Left
|
|
Me.pgtoplcorner.Location = New System.Drawing.Point(0, 0)
|
|
Me.pgtoplcorner.Name = "pgtoplcorner"
|
|
Me.pgtoplcorner.Size = New System.Drawing.Size(2, 30)
|
|
Me.pgtoplcorner.TabIndex = 17
|
|
'
|
|
'pgtoprcorner
|
|
'
|
|
Me.pgtoprcorner.BackColor = System.Drawing.Color.Red
|
|
Me.pgtoprcorner.Dock = System.Windows.Forms.DockStyle.Right
|
|
Me.pgtoprcorner.Location = New System.Drawing.Point(364, 0)
|
|
Me.pgtoprcorner.Name = "pgtoprcorner"
|
|
Me.pgtoprcorner.Size = New System.Drawing.Size(2, 30)
|
|
Me.pgtoprcorner.TabIndex = 16
|
|
'
|
|
'pgbottom
|
|
'
|
|
Me.pgbottom.BackColor = System.Drawing.Color.Gray
|
|
Me.pgbottom.Dock = System.Windows.Forms.DockStyle.Bottom
|
|
Me.pgbottom.Location = New System.Drawing.Point(2, 165)
|
|
Me.pgbottom.Name = "pgbottom"
|
|
Me.pgbottom.Size = New System.Drawing.Size(362, 2)
|
|
Me.pgbottom.TabIndex = 23
|
|
'
|
|
'pgcontents
|
|
'
|
|
Me.pgcontents.BackColor = System.Drawing.Color.White
|
|
Me.pgcontents.Controls.Add(Me.bottomtext)
|
|
Me.pgcontents.Controls.Add(Me.toptext)
|
|
Me.pgcontents.Controls.Add(Me.lbmaintime)
|
|
Me.pgcontents.Dock = System.Windows.Forms.DockStyle.Fill
|
|
Me.pgcontents.Location = New System.Drawing.Point(2, 30)
|
|
Me.pgcontents.Name = "pgcontents"
|
|
Me.pgcontents.Size = New System.Drawing.Size(362, 135)
|
|
Me.pgcontents.TabIndex = 20
|
|
'
|
|
'bottomtext
|
|
'
|
|
Me.bottomtext.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
|
Me.bottomtext.Location = New System.Drawing.Point(10, 88)
|
|
Me.bottomtext.Name = "bottomtext"
|
|
Me.bottomtext.Size = New System.Drawing.Size(342, 23)
|
|
Me.bottomtext.TabIndex = 2
|
|
Me.bottomtext.Text = "Seconds have passed"
|
|
Me.bottomtext.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
|
|
'
|
|
'toptext
|
|
'
|
|
Me.toptext.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
|
Me.toptext.Location = New System.Drawing.Point(10, 22)
|
|
Me.toptext.Name = "toptext"
|
|
Me.toptext.Size = New System.Drawing.Size(342, 23)
|
|
Me.toptext.TabIndex = 1
|
|
Me.toptext.Text = "The Time is"
|
|
Me.toptext.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
|
|
'
|
|
'lbmaintime
|
|
'
|
|
Me.lbmaintime.Font = New System.Drawing.Font("Microsoft Sans Serif", 36.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
|
Me.lbmaintime.Location = New System.Drawing.Point(6, 38)
|
|
Me.lbmaintime.Name = "lbmaintime"
|
|
Me.lbmaintime.Size = New System.Drawing.Size(350, 52)
|
|
Me.lbmaintime.TabIndex = 0
|
|
Me.lbmaintime.Text = "00000000"
|
|
Me.lbmaintime.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
|
|
'
|
|
'clocktick
|
|
'
|
|
Me.clocktick.Enabled = True
|
|
Me.clocktick.Interval = 1000
|
|
'
|
|
'Clock
|
|
'
|
|
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
|
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
|
Me.BackColor = System.Drawing.Color.White
|
|
Me.ClientSize = New System.Drawing.Size(366, 167)
|
|
Me.Controls.Add(Me.pgcontents)
|
|
Me.Controls.Add(Me.pgbottom)
|
|
Me.Controls.Add(Me.pgleft)
|
|
Me.Controls.Add(Me.pgright)
|
|
Me.Controls.Add(Me.titlebar)
|
|
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None
|
|
Me.Name = "Clock"
|
|
Me.Text = "Clock"
|
|
Me.TopMost = True
|
|
Me.pgright.ResumeLayout(False)
|
|
Me.pgleft.ResumeLayout(False)
|
|
Me.titlebar.ResumeLayout(False)
|
|
Me.titlebar.PerformLayout()
|
|
CType(Me.pnlicon, System.ComponentModel.ISupportInitialize).EndInit()
|
|
Me.pgcontents.ResumeLayout(False)
|
|
Me.ResumeLayout(False)
|
|
|
|
End Sub
|
|
Friend WithEvents pgright As System.Windows.Forms.Panel
|
|
Friend WithEvents pgbottomrcorner As System.Windows.Forms.Panel
|
|
Friend WithEvents pgleft As System.Windows.Forms.Panel
|
|
Friend WithEvents pgbottomlcorner As System.Windows.Forms.Panel
|
|
Friend WithEvents titlebar As System.Windows.Forms.Panel
|
|
Friend WithEvents closebutton As System.Windows.Forms.Panel
|
|
Friend WithEvents lbtitletext As System.Windows.Forms.Label
|
|
Friend WithEvents pgtoplcorner As System.Windows.Forms.Panel
|
|
Friend WithEvents pgtoprcorner As System.Windows.Forms.Panel
|
|
Friend WithEvents pgbottom As System.Windows.Forms.Panel
|
|
Friend WithEvents pgcontents As System.Windows.Forms.Panel
|
|
Friend WithEvents bottomtext As System.Windows.Forms.Label
|
|
Friend WithEvents toptext As System.Windows.Forms.Label
|
|
Friend WithEvents lbmaintime As System.Windows.Forms.Label
|
|
Friend WithEvents clocktick As System.Windows.Forms.Timer
|
|
Friend WithEvents rollupbutton As System.Windows.Forms.Panel
|
|
Friend WithEvents pnlicon As System.Windows.Forms.PictureBox
|
|
Friend WithEvents minimizebutton As System.Windows.Forms.Panel
|
|
End Class
|