2016-04-09 13:16:39 -04:00
using System ;
namespace ShiftOS
{
partial class WindowBorder
{
/// <summary>
/// Required designer variable.
/// </summary>
private System . ComponentModel . IContainer components = null ;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose ( bool disposing )
{
if ( disposing & & ( components ! = null ) )
{
components . Dispose ( ) ;
}
base . Dispose ( disposing ) ;
}
private void InitializeComponent ( )
{
this . components = new System . ComponentModel . Container ( ) ;
2016-07-19 21:53:26 -04:00
this . pgleft = new ShiftUI . Panel ( ) ;
this . pgbottomlcorner = new ShiftUI . Panel ( ) ;
this . pgright = new ShiftUI . Panel ( ) ;
this . pgbottomrcorner = new ShiftUI . Panel ( ) ;
this . titlebar = new ShiftUI . Panel ( ) ;
this . minimizebutton = new ShiftUI . Panel ( ) ;
this . pnlicon = new ShiftUI . PictureBox ( ) ;
this . rollupbutton = new ShiftUI . Panel ( ) ;
this . closebutton = new ShiftUI . Panel ( ) ;
this . lbtitletext = new ShiftUI . Label ( ) ;
this . pgtoplcorner = new ShiftUI . Panel ( ) ;
this . pgtoprcorner = new ShiftUI . Panel ( ) ;
this . pgbottom = new ShiftUI . Panel ( ) ;
this . pgcontents = new ShiftUI . Panel ( ) ;
this . pullbs = new ShiftUI . Timer ( this . components ) ;
this . pullbottom = new ShiftUI . Timer ( this . components ) ;
this . pullside = new ShiftUI . Timer ( this . components ) ;
2016-04-09 13:16:39 -04:00
this . pgleft . SuspendLayout ( ) ;
this . pgright . SuspendLayout ( ) ;
this . titlebar . SuspendLayout ( ) ;
( ( System . ComponentModel . ISupportInitialize ) ( this . pnlicon ) ) . BeginInit ( ) ;
this . SuspendLayout ( ) ;
//
// pgleft
//
this . pgleft . BackColor = System . Drawing . Color . Gray ;
2016-07-19 21:53:26 -04:00
this . pgleft . Widgets . Add ( this . pgbottomlcorner ) ;
this . pgleft . Dock = ShiftUI . DockStyle . Left ;
2016-04-09 13:16:39 -04:00
this . pgleft . Location = new System . Drawing . Point ( 0 , 30 ) ;
this . pgleft . Name = "pgleft" ;
this . pgleft . Size = new System . Drawing . Size ( 2 , 345 ) ;
this . pgleft . TabIndex = 16 ;
2016-07-19 21:53:26 -04:00
this . pgleft . MouseDown + = new ShiftUI . MouseEventHandler ( this . Rightpull_MouseDown ) ;
2016-04-09 13:16:39 -04:00
this . pgleft . MouseEnter + = new System . EventHandler ( this . RightCursorOn_MouseDown ) ;
this . pgleft . MouseLeave + = new System . EventHandler ( this . SizeCursoroff_MouseDown ) ;
2016-07-19 21:53:26 -04:00
this . pgleft . MouseUp + = new ShiftUI . MouseEventHandler ( this . rightpull_MouseUp ) ;
2016-04-09 13:16:39 -04:00
//
// pgbottomlcorner
//
this . pgbottomlcorner . BackColor = System . Drawing . Color . Red ;
2016-07-19 21:53:26 -04:00
this . pgbottomlcorner . Dock = ShiftUI . DockStyle . Bottom ;
2016-04-09 13:16:39 -04:00
this . pgbottomlcorner . Location = new System . Drawing . Point ( 0 , 343 ) ;
this . pgbottomlcorner . Name = "pgbottomlcorner" ;
this . pgbottomlcorner . Size = new System . Drawing . Size ( 2 , 2 ) ;
this . pgbottomlcorner . TabIndex = 14 ;
2016-07-19 21:53:26 -04:00
this . pgbottomlcorner . MouseDown + = new ShiftUI . MouseEventHandler ( this . bspull_MouseDown ) ;
2016-04-09 13:16:39 -04:00
this . pgbottomlcorner . MouseEnter + = new System . EventHandler ( this . CornerCursorOn_MouseDown ) ;
this . pgbottomlcorner . MouseLeave + = new System . EventHandler ( this . SizeCursoroff_MouseDown ) ;
2016-07-19 21:53:26 -04:00
this . pgbottomlcorner . MouseUp + = new ShiftUI . MouseEventHandler ( this . bspull_MouseUp ) ;
2016-04-09 13:16:39 -04:00
//
// pgright
//
this . pgright . BackColor = System . Drawing . Color . Gray ;
2016-07-19 21:53:26 -04:00
this . pgright . Widgets . Add ( this . pgbottomrcorner ) ;
this . pgright . Dock = ShiftUI . DockStyle . Right ;
2016-04-09 13:16:39 -04:00
this . pgright . Location = new System . Drawing . Point ( 545 , 30 ) ;
this . pgright . Name = "pgright" ;
this . pgright . Size = new System . Drawing . Size ( 2 , 345 ) ;
this . pgright . TabIndex = 17 ;
2016-07-19 21:53:26 -04:00
this . pgright . MouseDown + = new ShiftUI . MouseEventHandler ( this . Rightpull_MouseDown ) ;
2016-04-09 13:16:39 -04:00
this . pgright . MouseEnter + = new System . EventHandler ( this . RightCursorOn_MouseDown ) ;
this . pgright . MouseLeave + = new System . EventHandler ( this . SizeCursoroff_MouseDown ) ;
2016-07-19 21:53:26 -04:00
this . pgright . MouseUp + = new ShiftUI . MouseEventHandler ( this . rightpull_MouseUp ) ;
2016-04-09 13:16:39 -04:00
//
// pgbottomrcorner
//
this . pgbottomrcorner . BackColor = System . Drawing . Color . Red ;
2016-07-19 21:53:26 -04:00
this . pgbottomrcorner . Dock = ShiftUI . DockStyle . Bottom ;
2016-04-09 13:16:39 -04:00
this . pgbottomrcorner . Location = new System . Drawing . Point ( 0 , 343 ) ;
this . pgbottomrcorner . Name = "pgbottomrcorner" ;
this . pgbottomrcorner . Size = new System . Drawing . Size ( 2 , 2 ) ;
this . pgbottomrcorner . TabIndex = 15 ;
2016-07-19 21:53:26 -04:00
this . pgbottomrcorner . MouseDown + = new ShiftUI . MouseEventHandler ( this . bspull_MouseDown ) ;
2016-04-09 13:16:39 -04:00
this . pgbottomrcorner . MouseEnter + = new System . EventHandler ( this . CornerCursorOn_MouseDown ) ;
this . pgbottomrcorner . MouseLeave + = new System . EventHandler ( this . SizeCursoroff_MouseDown ) ;
2016-07-19 21:53:26 -04:00
this . pgbottomrcorner . MouseUp + = new ShiftUI . MouseEventHandler ( this . bspull_MouseUp ) ;
2016-04-09 13:16:39 -04:00
//
// titlebar
//
this . titlebar . BackColor = System . Drawing . Color . Gray ;
2016-07-19 21:53:26 -04:00
this . titlebar . Widgets . Add ( this . minimizebutton ) ;
this . titlebar . Widgets . Add ( this . pnlicon ) ;
this . titlebar . Widgets . Add ( this . rollupbutton ) ;
this . titlebar . Widgets . Add ( this . closebutton ) ;
this . titlebar . Widgets . Add ( this . lbtitletext ) ;
this . titlebar . Widgets . Add ( this . pgtoplcorner ) ;
this . titlebar . Widgets . Add ( this . pgtoprcorner ) ;
this . titlebar . Dock = ShiftUI . DockStyle . Top ;
2016-04-09 13:16:39 -04:00
this . titlebar . ForeColor = System . Drawing . Color . White ;
this . titlebar . Location = new System . Drawing . Point ( 0 , 0 ) ;
this . titlebar . Name = "titlebar" ;
this . titlebar . Size = new System . Drawing . Size ( 547 , 30 ) ;
this . titlebar . TabIndex = 14 ;
2016-07-19 21:53:26 -04:00
this . titlebar . MouseDown + = new ShiftUI . MouseEventHandler ( this . titlebar_MouseDown ) ;
this . titlebar . MouseMove + = new ShiftUI . MouseEventHandler ( this . titlebar_MouseMove ) ;
this . titlebar . MouseUp + = new ShiftUI . MouseEventHandler ( this . titlebar_MouseUp ) ;
2016-04-09 13:16:39 -04:00
//
// minimizebutton
//
this . minimizebutton . BackColor = System . Drawing . Color . Black ;
this . minimizebutton . Location = new System . Drawing . Point ( 246 , 5 ) ;
this . minimizebutton . Name = "minimizebutton" ;
this . minimizebutton . Size = new System . Drawing . Size ( 22 , 22 ) ;
this . minimizebutton . TabIndex = 24 ;
this . minimizebutton . Click + = new System . EventHandler ( this . minimizebutton_Click ) ;
//
// pnlicon
//
this . pnlicon . BackColor = System . Drawing . Color . Transparent ;
this . pnlicon . Location = new System . Drawing . Point ( 8 , 8 ) ;
this . pnlicon . Name = "pnlicon" ;
this . pnlicon . Size = new System . Drawing . Size ( 16 , 16 ) ;
2016-07-19 21:53:26 -04:00
this . pnlicon . SizeMode = ShiftUI . PictureBoxSizeMode . StretchImage ;
2016-04-09 13:16:39 -04:00
this . pnlicon . TabIndex = 24 ;
this . pnlicon . TabStop = false ;
this . pnlicon . Visible = false ;
//
// rollupbutton
//
this . rollupbutton . BackColor = System . Drawing . Color . Black ;
this . rollupbutton . Location = new System . Drawing . Point ( 274 , 3 ) ;
this . rollupbutton . Name = "rollupbutton" ;
this . rollupbutton . Size = new System . Drawing . Size ( 22 , 22 ) ;
this . rollupbutton . TabIndex = 22 ;
this . rollupbutton . Click + = new System . EventHandler ( this . rollupbutton_Click ) ;
//
// closebutton
//
this . closebutton . BackColor = System . Drawing . Color . Black ;
this . closebutton . Location = new System . Drawing . Point ( 302 , 3 ) ;
this . closebutton . Name = "closebutton" ;
this . closebutton . Size = new System . Drawing . Size ( 22 , 22 ) ;
this . closebutton . TabIndex = 20 ;
this . closebutton . Click + = new System . EventHandler ( this . closebutton_Click ) ;
//
// lbtitletext
//
this . lbtitletext . AutoSize = true ;
this . lbtitletext . BackColor = System . Drawing . Color . Transparent ;
this . lbtitletext . Font = new System . Drawing . Font ( "Microsoft Sans Serif" , 11.25F , System . Drawing . FontStyle . Bold , System . Drawing . GraphicsUnit . Point , ( ( byte ) ( 0 ) ) ) ;
this . lbtitletext . Location = new System . Drawing . Point ( 26 , 7 ) ;
this . lbtitletext . Name = "lbtitletext" ;
this . lbtitletext . Size = new System . Drawing . Size ( 77 , 18 ) ;
this . lbtitletext . TabIndex = 19 ;
this . lbtitletext . Text = "Template" ;
2016-07-19 21:53:26 -04:00
this . lbtitletext . MouseDown + = new ShiftUI . MouseEventHandler ( this . titlebar_MouseDown ) ;
this . lbtitletext . MouseMove + = new ShiftUI . MouseEventHandler ( this . titlebar_MouseMove ) ;
this . lbtitletext . MouseUp + = new ShiftUI . MouseEventHandler ( this . titlebar_MouseUp ) ;
2016-04-09 13:16:39 -04:00
//
// pgtoplcorner
//
this . pgtoplcorner . BackColor = System . Drawing . Color . Red ;
2016-07-19 21:53:26 -04:00
this . pgtoplcorner . Dock = ShiftUI . DockStyle . Left ;
2016-04-09 13:16:39 -04:00
this . pgtoplcorner . Location = new System . Drawing . Point ( 0 , 0 ) ;
this . pgtoplcorner . Name = "pgtoplcorner" ;
this . pgtoplcorner . Size = new System . Drawing . Size ( 2 , 30 ) ;
this . pgtoplcorner . TabIndex = 17 ;
//
// pgtoprcorner
//
this . pgtoprcorner . BackColor = System . Drawing . Color . Red ;
2016-07-19 21:53:26 -04:00
this . pgtoprcorner . Dock = ShiftUI . DockStyle . Right ;
2016-04-09 13:16:39 -04:00
this . pgtoprcorner . Location = new System . Drawing . Point ( 545 , 0 ) ;
this . pgtoprcorner . Name = "pgtoprcorner" ;
this . pgtoprcorner . Size = new System . Drawing . Size ( 2 , 30 ) ;
this . pgtoprcorner . TabIndex = 16 ;
//
// pgbottom
//
this . pgbottom . BackColor = System . Drawing . Color . Gray ;
2016-07-19 21:53:26 -04:00
this . pgbottom . Dock = ShiftUI . DockStyle . Bottom ;
2016-04-09 13:16:39 -04:00
this . pgbottom . Location = new System . Drawing . Point ( 2 , 373 ) ;
this . pgbottom . Name = "pgbottom" ;
this . pgbottom . Size = new System . Drawing . Size ( 543 , 2 ) ;
this . pgbottom . TabIndex = 18 ;
2016-07-19 21:53:26 -04:00
this . pgbottom . MouseDown + = new ShiftUI . MouseEventHandler ( this . bottompull_MouseDown ) ;
2016-04-09 13:16:39 -04:00
this . pgbottom . MouseEnter + = new System . EventHandler ( this . bottomCursorOn_MouseDown ) ;
this . pgbottom . MouseLeave + = new System . EventHandler ( this . SizeCursoroff_MouseDown ) ;
2016-07-19 21:53:26 -04:00
this . pgbottom . MouseUp + = new ShiftUI . MouseEventHandler ( this . bottompull_MouseUp ) ;
2016-04-09 13:16:39 -04:00
//
// pgcontents
//
2016-07-19 21:53:26 -04:00
this . pgcontents . Dock = ShiftUI . DockStyle . Fill ;
2016-04-09 13:16:39 -04:00
this . pgcontents . Location = new System . Drawing . Point ( 2 , 30 ) ;
this . pgcontents . Name = "pgcontents" ;
this . pgcontents . Size = new System . Drawing . Size ( 543 , 343 ) ;
this . pgcontents . TabIndex = 15 ;
//
// pullbs
//
this . pullbs . Interval = 1 ;
this . pullbs . Tick + = new System . EventHandler ( this . pullbs_Tick ) ;
//
// pullbottom
//
this . pullbottom . Interval = 1 ;
this . pullbottom . Tick + = new System . EventHandler ( this . pullbottom_Tick ) ;
//
// pullside
//
this . pullside . Interval = 1 ;
this . pullside . Tick + = new System . EventHandler ( this . pullside_Tick ) ;
//
// WindowBorder
//
this . AutoScaleDimensions = new System . Drawing . SizeF ( 6F , 13F ) ;
2016-07-19 21:53:26 -04:00
this . AutoScaleMode = ShiftUI . AutoScaleMode . Font ;
this . Widgets . Add ( this . pgcontents ) ;
this . Widgets . Add ( this . pgbottom ) ;
this . Widgets . Add ( this . pgright ) ;
this . Widgets . Add ( this . pgleft ) ;
this . Widgets . Add ( this . titlebar ) ;
2016-04-09 13:16:39 -04:00
this . Name = "WindowBorder" ;
this . Size = new System . Drawing . Size ( 547 , 375 ) ;
this . Load + = new System . EventHandler ( this . Template_Load ) ;
this . pgleft . ResumeLayout ( false ) ;
this . pgright . ResumeLayout ( false ) ;
this . titlebar . ResumeLayout ( false ) ;
this . titlebar . PerformLayout ( ) ;
( ( System . ComponentModel . ISupportInitialize ) ( this . pnlicon ) ) . EndInit ( ) ;
this . ResumeLayout ( false ) ;
}
2016-07-19 21:53:26 -04:00
internal ShiftUI . Panel pgleft ;
internal ShiftUI . Panel pgbottomlcorner ;
internal ShiftUI . Panel pgright ;
internal ShiftUI . Panel pgbottomrcorner ;
internal ShiftUI . Panel titlebar ;
internal ShiftUI . Panel pgtoplcorner ;
internal ShiftUI . Panel pgtoprcorner ;
internal ShiftUI . Panel pgbottom ;
internal ShiftUI . Panel pgcontents ;
internal ShiftUI . Label lbtitletext ;
internal ShiftUI . Panel closebutton ;
internal ShiftUI . Panel rollupbutton ;
internal ShiftUI . PictureBox pnlicon ;
internal ShiftUI . Panel minimizebutton ;
internal ShiftUI . Timer pullbs ;
internal ShiftUI . Timer pullbottom ;
internal ShiftUI . Timer pullside ;
2016-04-09 13:16:39 -04:00
}
}