mirror of
https://github.com/TheUltimateHacker/shiftos-next.git
synced 2025-01-22 16:42:14 +00:00
424931951b
Alright, I've added the Draggable Windows upgrade to the Shiftorium, as well as fixed a quick bug causing "No Items Available" to display when there were items clearly available. I've also fixed a positioning bug with BWM windows causing them to start in the center of the screen, relative to the titlebar, rather than the form. I've also re-arranged the code a bit, organizing files in folders. APIs are in the APIs folder, Desktop Environments are in the Desktop Environments folder, etc. The shiftorium still doesn't have draggable window functionality yet...
224 lines
11 KiB
VB.net
224 lines
11 KiB
VB.net
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
|
|
Partial Class TextPad
|
|
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.MenuStrip1 = New System.Windows.Forms.MenuStrip()
|
|
Me.FileToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
|
Me.NewToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
|
Me.OpenToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
|
Me.SaveToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
|
Me.ExitToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
|
Me.EditToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
|
Me.CutToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
|
Me.CopyToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
|
Me.PasteToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
|
Me.ToolStripSeparator2 = New System.Windows.Forms.ToolStripSeparator()
|
|
Me.UndoToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
|
Me.RedoToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
|
Me.ToolStripSeparator1 = New System.Windows.Forms.ToolStripSeparator()
|
|
Me.SelectAllToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
|
Me.ToolStripSeparator3 = New System.Windows.Forms.ToolStripSeparator()
|
|
Me.FindToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
|
Me.ReplaceToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
|
Me.txtfilebody = New System.Windows.Forms.RichTextBox()
|
|
Me.pnltop = New shiftos_next.Titlebar()
|
|
Me.MenuStrip1.SuspendLayout()
|
|
Me.SuspendLayout()
|
|
'
|
|
'MenuStrip1
|
|
'
|
|
Me.MenuStrip1.Font = New System.Drawing.Font("Courier New", 8.25!)
|
|
Me.MenuStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.FileToolStripMenuItem, Me.EditToolStripMenuItem})
|
|
Me.MenuStrip1.Location = New System.Drawing.Point(0, 32)
|
|
Me.MenuStrip1.Name = "MenuStrip1"
|
|
Me.MenuStrip1.Size = New System.Drawing.Size(652, 24)
|
|
Me.MenuStrip1.TabIndex = 0
|
|
Me.MenuStrip1.Text = "MenuStrip1"
|
|
'
|
|
'FileToolStripMenuItem
|
|
'
|
|
Me.FileToolStripMenuItem.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.NewToolStripMenuItem, Me.OpenToolStripMenuItem, Me.SaveToolStripMenuItem, Me.ExitToolStripMenuItem})
|
|
Me.FileToolStripMenuItem.Name = "FileToolStripMenuItem"
|
|
Me.FileToolStripMenuItem.Size = New System.Drawing.Size(47, 20)
|
|
Me.FileToolStripMenuItem.Text = "File"
|
|
'
|
|
'NewToolStripMenuItem
|
|
'
|
|
Me.NewToolStripMenuItem.Name = "NewToolStripMenuItem"
|
|
Me.NewToolStripMenuItem.Size = New System.Drawing.Size(102, 22)
|
|
Me.NewToolStripMenuItem.Text = "New"
|
|
'
|
|
'OpenToolStripMenuItem
|
|
'
|
|
Me.OpenToolStripMenuItem.Name = "OpenToolStripMenuItem"
|
|
Me.OpenToolStripMenuItem.Size = New System.Drawing.Size(102, 22)
|
|
Me.OpenToolStripMenuItem.Text = "Open"
|
|
'
|
|
'SaveToolStripMenuItem
|
|
'
|
|
Me.SaveToolStripMenuItem.Name = "SaveToolStripMenuItem"
|
|
Me.SaveToolStripMenuItem.Size = New System.Drawing.Size(102, 22)
|
|
Me.SaveToolStripMenuItem.Text = "Save"
|
|
'
|
|
'ExitToolStripMenuItem
|
|
'
|
|
Me.ExitToolStripMenuItem.Name = "ExitToolStripMenuItem"
|
|
Me.ExitToolStripMenuItem.Size = New System.Drawing.Size(102, 22)
|
|
Me.ExitToolStripMenuItem.Text = "Exit"
|
|
'
|
|
'EditToolStripMenuItem
|
|
'
|
|
Me.EditToolStripMenuItem.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.CutToolStripMenuItem, Me.CopyToolStripMenuItem, Me.PasteToolStripMenuItem, Me.ToolStripSeparator2, Me.UndoToolStripMenuItem, Me.RedoToolStripMenuItem, Me.ToolStripSeparator1, Me.SelectAllToolStripMenuItem, Me.ToolStripSeparator3, Me.FindToolStripMenuItem, Me.ReplaceToolStripMenuItem})
|
|
Me.EditToolStripMenuItem.Name = "EditToolStripMenuItem"
|
|
Me.EditToolStripMenuItem.Size = New System.Drawing.Size(47, 20)
|
|
Me.EditToolStripMenuItem.Text = "Edit"
|
|
'
|
|
'CutToolStripMenuItem
|
|
'
|
|
Me.CutToolStripMenuItem.Name = "CutToolStripMenuItem"
|
|
Me.CutToolStripMenuItem.Size = New System.Drawing.Size(144, 22)
|
|
Me.CutToolStripMenuItem.Text = "Cut"
|
|
'
|
|
'CopyToolStripMenuItem
|
|
'
|
|
Me.CopyToolStripMenuItem.Name = "CopyToolStripMenuItem"
|
|
Me.CopyToolStripMenuItem.Size = New System.Drawing.Size(144, 22)
|
|
Me.CopyToolStripMenuItem.Text = "Copy"
|
|
'
|
|
'PasteToolStripMenuItem
|
|
'
|
|
Me.PasteToolStripMenuItem.Name = "PasteToolStripMenuItem"
|
|
Me.PasteToolStripMenuItem.Size = New System.Drawing.Size(144, 22)
|
|
Me.PasteToolStripMenuItem.Text = "Paste"
|
|
'
|
|
'ToolStripSeparator2
|
|
'
|
|
Me.ToolStripSeparator2.Name = "ToolStripSeparator2"
|
|
Me.ToolStripSeparator2.Size = New System.Drawing.Size(141, 6)
|
|
'
|
|
'UndoToolStripMenuItem
|
|
'
|
|
Me.UndoToolStripMenuItem.Name = "UndoToolStripMenuItem"
|
|
Me.UndoToolStripMenuItem.Size = New System.Drawing.Size(144, 22)
|
|
Me.UndoToolStripMenuItem.Text = "Undo"
|
|
'
|
|
'RedoToolStripMenuItem
|
|
'
|
|
Me.RedoToolStripMenuItem.Name = "RedoToolStripMenuItem"
|
|
Me.RedoToolStripMenuItem.Size = New System.Drawing.Size(144, 22)
|
|
Me.RedoToolStripMenuItem.Text = "Redo"
|
|
'
|
|
'ToolStripSeparator1
|
|
'
|
|
Me.ToolStripSeparator1.Name = "ToolStripSeparator1"
|
|
Me.ToolStripSeparator1.Size = New System.Drawing.Size(141, 6)
|
|
'
|
|
'SelectAllToolStripMenuItem
|
|
'
|
|
Me.SelectAllToolStripMenuItem.Name = "SelectAllToolStripMenuItem"
|
|
Me.SelectAllToolStripMenuItem.Size = New System.Drawing.Size(144, 22)
|
|
Me.SelectAllToolStripMenuItem.Text = "Select All"
|
|
'
|
|
'ToolStripSeparator3
|
|
'
|
|
Me.ToolStripSeparator3.Name = "ToolStripSeparator3"
|
|
Me.ToolStripSeparator3.Size = New System.Drawing.Size(141, 6)
|
|
'
|
|
'FindToolStripMenuItem
|
|
'
|
|
Me.FindToolStripMenuItem.Name = "FindToolStripMenuItem"
|
|
Me.FindToolStripMenuItem.Size = New System.Drawing.Size(144, 22)
|
|
Me.FindToolStripMenuItem.Text = "Find"
|
|
Me.FindToolStripMenuItem.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
|
|
'
|
|
'ReplaceToolStripMenuItem
|
|
'
|
|
Me.ReplaceToolStripMenuItem.Name = "ReplaceToolStripMenuItem"
|
|
Me.ReplaceToolStripMenuItem.Size = New System.Drawing.Size(144, 22)
|
|
Me.ReplaceToolStripMenuItem.Text = "Replace"
|
|
'
|
|
'txtfilebody
|
|
'
|
|
Me.txtfilebody.BackColor = System.Drawing.Color.Black
|
|
Me.txtfilebody.BorderStyle = System.Windows.Forms.BorderStyle.None
|
|
Me.txtfilebody.Dock = System.Windows.Forms.DockStyle.Fill
|
|
Me.txtfilebody.ForeColor = System.Drawing.Color.White
|
|
Me.txtfilebody.Location = New System.Drawing.Point(0, 56)
|
|
Me.txtfilebody.Name = "txtfilebody"
|
|
Me.txtfilebody.Size = New System.Drawing.Size(652, 261)
|
|
Me.txtfilebody.TabIndex = 1
|
|
Me.txtfilebody.Text = ""
|
|
'
|
|
'pnltop
|
|
'
|
|
Me.pnltop.AppName = "TextPad"
|
|
Me.pnltop.Dock = System.Windows.Forms.DockStyle.Top
|
|
Me.pnltop.Font = New System.Drawing.Font("Courier New", 8.25!)
|
|
Me.pnltop.ForeColor = System.Drawing.Color.White
|
|
Me.pnltop.Location = New System.Drawing.Point(0, 0)
|
|
Me.pnltop.Name = "pnltop"
|
|
Me.pnltop.Size = New System.Drawing.Size(652, 32)
|
|
Me.pnltop.TabIndex = 2
|
|
'
|
|
'TextPad
|
|
'
|
|
Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 14.0!)
|
|
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
|
Me.BackColor = System.Drawing.Color.Black
|
|
Me.ClientSize = New System.Drawing.Size(652, 317)
|
|
Me.Controls.Add(Me.txtfilebody)
|
|
Me.Controls.Add(Me.MenuStrip1)
|
|
Me.Controls.Add(Me.pnltop)
|
|
Me.Font = New System.Drawing.Font("Courier New", 8.25!)
|
|
Me.ForeColor = System.Drawing.Color.White
|
|
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None
|
|
Me.MainMenuStrip = Me.MenuStrip1
|
|
Me.Name = "TextPad"
|
|
Me.Text = "TextPad"
|
|
Me.MenuStrip1.ResumeLayout(False)
|
|
Me.MenuStrip1.PerformLayout()
|
|
Me.ResumeLayout(False)
|
|
Me.PerformLayout()
|
|
|
|
End Sub
|
|
Friend WithEvents MenuStrip1 As System.Windows.Forms.MenuStrip
|
|
Friend WithEvents FileToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
|
|
Friend WithEvents NewToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
|
|
Friend WithEvents OpenToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
|
|
Friend WithEvents SaveToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
|
|
Friend WithEvents ExitToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
|
|
Friend WithEvents EditToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
|
|
Friend WithEvents CutToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
|
|
Friend WithEvents CopyToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
|
|
Friend WithEvents PasteToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
|
|
Friend WithEvents ToolStripSeparator2 As System.Windows.Forms.ToolStripSeparator
|
|
Friend WithEvents UndoToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
|
|
Friend WithEvents RedoToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
|
|
Friend WithEvents ToolStripSeparator1 As System.Windows.Forms.ToolStripSeparator
|
|
Friend WithEvents SelectAllToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
|
|
Friend WithEvents ToolStripSeparator3 As System.Windows.Forms.ToolStripSeparator
|
|
Friend WithEvents FindToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
|
|
Friend WithEvents ReplaceToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
|
|
Friend WithEvents txtfilebody As System.Windows.Forms.RichTextBox
|
|
Friend WithEvents pnltop As shiftos_next.Titlebar
|
|
End Class
|