📄 homepage.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace Tracker7UI.plugins.HomePage
{
/// <summary>
/// Summary description for HomePage.
/// </summary>
public class HomePage : System.Windows.Forms.Form
{
private Infragistics.Win.UltraWinDock.UltraDockManager ultraDockManager1;
private Infragistics.Win.UltraWinDock.UnpinnedTabArea _HomePageUnpinnedTabAreaLeft;
private Infragistics.Win.UltraWinDock.UnpinnedTabArea _HomePageUnpinnedTabAreaRight;
private Infragistics.Win.UltraWinDock.UnpinnedTabArea _HomePageUnpinnedTabAreaTop;
private Infragistics.Win.UltraWinDock.UnpinnedTabArea _HomePageUnpinnedTabAreaBottom;
private Infragistics.Win.UltraWinDock.AutoHideControl _HomePageAutoHideControl;
private Tracker7UI.plugins.HomePage.UCTop ucTop1;
private Tracker7UI.plugins.HomePage.UCTrackerNews ucTrackerNews1;
private Infragistics.Win.UltraWinDock.WindowDockingArea windowDockingArea1;
private Infragistics.Win.UltraWinDock.DockableWindow dockableWindow1;
private Tracker7UI.plugins.HomePage.UCAnnouncements ucAnnouncements1;
private Infragistics.Win.UltraWinDock.WindowDockingArea windowDockingArea2;
private Infragistics.Win.UltraWinDock.DockableWindow dockableWindow2;
private Infragistics.Win.Misc.UltraLabel ultraLabel2;
private System.ComponentModel.IContainer components;
public HomePage()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
//
// TODO: Add any constructor code after InitializeComponent call
//
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
Infragistics.Win.UltraWinDock.DockAreaPane dockAreaPane1 = new Infragistics.Win.UltraWinDock.DockAreaPane(Infragistics.Win.UltraWinDock.DockedLocation.DockedBottom, new System.Guid("6e238fbc-3332-41df-9e9e-74b391511702"));
Infragistics.Win.UltraWinDock.DockableControlPane dockableControlPane1 = new Infragistics.Win.UltraWinDock.DockableControlPane(new System.Guid("23f0c491-f6ee-4651-a1f7-d31b178fd299"), new System.Guid("00000000-0000-0000-0000-000000000000"), -1, new System.Guid("6e238fbc-3332-41df-9e9e-74b391511702"), -1);
Infragistics.Win.UltraWinDock.DockAreaPane dockAreaPane2 = new Infragistics.Win.UltraWinDock.DockAreaPane(Infragistics.Win.UltraWinDock.DockedLocation.DockedBottom, new System.Guid("6df862f2-765d-4c7e-8424-f981629d8b26"));
Infragistics.Win.UltraWinDock.DockableControlPane dockableControlPane2 = new Infragistics.Win.UltraWinDock.DockableControlPane(new System.Guid("e020e4db-5802-475e-9046-ac2c6920e4a6"), new System.Guid("00000000-0000-0000-0000-000000000000"), -1, new System.Guid("6df862f2-765d-4c7e-8424-f981629d8b26"), -1);
System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(HomePage));
this.ucTrackerNews1 = new Tracker7UI.plugins.HomePage.UCTrackerNews();
this.ucAnnouncements1 = new Tracker7UI.plugins.HomePage.UCAnnouncements();
this.ultraDockManager1 = new Infragistics.Win.UltraWinDock.UltraDockManager(this.components);
this._HomePageUnpinnedTabAreaLeft = new Infragistics.Win.UltraWinDock.UnpinnedTabArea();
this._HomePageUnpinnedTabAreaRight = new Infragistics.Win.UltraWinDock.UnpinnedTabArea();
this._HomePageUnpinnedTabAreaTop = new Infragistics.Win.UltraWinDock.UnpinnedTabArea();
this._HomePageUnpinnedTabAreaBottom = new Infragistics.Win.UltraWinDock.UnpinnedTabArea();
this._HomePageAutoHideControl = new Infragistics.Win.UltraWinDock.AutoHideControl();
this.ucTop1 = new Tracker7UI.plugins.HomePage.UCTop();
this.windowDockingArea1 = new Infragistics.Win.UltraWinDock.WindowDockingArea();
this.dockableWindow1 = new Infragistics.Win.UltraWinDock.DockableWindow();
this.windowDockingArea2 = new Infragistics.Win.UltraWinDock.WindowDockingArea();
this.dockableWindow2 = new Infragistics.Win.UltraWinDock.DockableWindow();
this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
((System.ComponentModel.ISupportInitialize)(this.ultraDockManager1)).BeginInit();
this.windowDockingArea1.SuspendLayout();
this.dockableWindow1.SuspendLayout();
this.windowDockingArea2.SuspendLayout();
this.dockableWindow2.SuspendLayout();
this.SuspendLayout();
//
// ucTrackerNews1
//
this.ucTrackerNews1.Location = new System.Drawing.Point(0, 26);
this.ucTrackerNews1.Name = "ucTrackerNews1";
this.ucTrackerNews1.Size = new System.Drawing.Size(600, 78);
this.ucTrackerNews1.TabIndex = 12;
//
// ucAnnouncements1
//
this.ucAnnouncements1.Location = new System.Drawing.Point(0, 26);
this.ucAnnouncements1.Name = "ucAnnouncements1";
this.ucAnnouncements1.Size = new System.Drawing.Size(600, 73);
this.ucAnnouncements1.TabIndex = 14;
//
// ultraDockManager1
//
dockAreaPane1.ChildPaneStyle = Infragistics.Win.UltraWinDock.ChildPaneStyle.TabGroup;
dockAreaPane1.DockedBefore = new System.Guid("6df862f2-765d-4c7e-8424-f981629d8b26");
dockableControlPane1.Control = this.ucTrackerNews1;
dockableControlPane1.OriginalControlBounds = new System.Drawing.Rectangle(256, 152, 280, 208);
dockableControlPane1.Size = new System.Drawing.Size(600, 106);
dockableControlPane1.Text = "Tracker News";
dockAreaPane1.Panes.AddRange(new Infragistics.Win.UltraWinDock.DockablePaneBase[] {
dockableControlPane1});
dockAreaPane1.Size = new System.Drawing.Size(600, 106);
dockAreaPane2.ChildPaneStyle = Infragistics.Win.UltraWinDock.ChildPaneStyle.TabGroup;
dockableControlPane2.Control = this.ucAnnouncements1;
dockableControlPane2.FlyoutSize = new System.Drawing.Size(-1, 95);
dockableControlPane2.OriginalControlBounds = new System.Drawing.Rectangle(304, 224, 216, 192);
dockableControlPane2.Size = new System.Drawing.Size(600, 101);
dockableControlPane2.Text = "Announcements";
dockAreaPane2.Panes.AddRange(new Infragistics.Win.UltraWinDock.DockablePaneBase[] {
dockableControlPane2});
dockAreaPane2.Size = new System.Drawing.Size(600, 101);
this.ultraDockManager1.DockAreas.AddRange(new Infragistics.Win.UltraWinDock.DockAreaPane[] {
dockAreaPane1,
dockAreaPane2});
this.ultraDockManager1.HostControl = this;
this.ultraDockManager1.WindowStyle = Infragistics.Win.UltraWinDock.WindowStyle.Office2003;
//
// _HomePageUnpinnedTabAreaLeft
//
this._HomePageUnpinnedTabAreaLeft.Dock = System.Windows.Forms.DockStyle.Left;
this._HomePageUnpinnedTabAreaLeft.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this._HomePageUnpinnedTabAreaLeft.Location = new System.Drawing.Point(0, 0);
this._HomePageUnpinnedTabAreaLeft.Name = "_HomePageUnpinnedTabAreaLeft";
this._HomePageUnpinnedTabAreaLeft.Owner = this.ultraDockManager1;
this._HomePageUnpinnedTabAreaLeft.Size = new System.Drawing.Size(0, 389);
this._HomePageUnpinnedTabAreaLeft.TabIndex = 4;
//
// _HomePageUnpinnedTabAreaRight
//
this._HomePageUnpinnedTabAreaRight.Dock = System.Windows.Forms.DockStyle.Right;
this._HomePageUnpinnedTabAreaRight.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this._HomePageUnpinnedTabAreaRight.Location = new System.Drawing.Point(600, 0);
this._HomePageUnpinnedTabAreaRight.Name = "_HomePageUnpinnedTabAreaRight";
this._HomePageUnpinnedTabAreaRight.Owner = this.ultraDockManager1;
this._HomePageUnpinnedTabAreaRight.Size = new System.Drawing.Size(0, 389);
this._HomePageUnpinnedTabAreaRight.TabIndex = 5;
//
// _HomePageUnpinnedTabAreaTop
//
this._HomePageUnpinnedTabAreaTop.Dock = System.Windows.Forms.DockStyle.Top;
this._HomePageUnpinnedTabAreaTop.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this._HomePageUnpinnedTabAreaTop.Location = new System.Drawing.Point(0, 0);
this._HomePageUnpinnedTabAreaTop.Name = "_HomePageUnpinnedTabAreaTop";
this._HomePageUnpinnedTabAreaTop.Owner = this.ultraDockManager1;
this._HomePageUnpinnedTabAreaTop.Size = new System.Drawing.Size(600, 0);
this._HomePageUnpinnedTabAreaTop.TabIndex = 6;
//
// _HomePageUnpinnedTabAreaBottom
//
this._HomePageUnpinnedTabAreaBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
this._HomePageUnpinnedTabAreaBottom.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this._HomePageUnpinnedTabAreaBottom.Location = new System.Drawing.Point(0, 389);
this._HomePageUnpinnedTabAreaBottom.Name = "_HomePageUnpinnedTabAreaBottom";
this._HomePageUnpinnedTabAreaBottom.Owner = this.ultraDockManager1;
this._HomePageUnpinnedTabAreaBottom.Size = new System.Drawing.Size(600, 0);
this._HomePageUnpinnedTabAreaBottom.TabIndex = 7;
//
// _HomePageAutoHideControl
//
this._HomePageAutoHideControl.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this._HomePageAutoHideControl.Location = new System.Drawing.Point(0, 268);
this._HomePageAutoHideControl.Name = "_HomePageAutoHideControl";
this._HomePageAutoHideControl.Owner = this.ultraDockManager1;
this._HomePageAutoHideControl.Size = new System.Drawing.Size(600, 100);
this._HomePageAutoHideControl.TabIndex = 8;
//
// ucTop1
//
this.ucTop1.Dock = System.Windows.Forms.DockStyle.Fill;
this.ucTop1.Location = new System.Drawing.Point(0, 0);
this.ucTop1.Name = "ucTop1";
this.ucTop1.Size = new System.Drawing.Size(600, 172);
this.ucTop1.TabIndex = 11;
//
// windowDockingArea1
//
this.windowDockingArea1.Controls.Add(this.dockableWindow1);
this.windowDockingArea1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.windowDockingArea1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.windowDockingArea1.Location = new System.Drawing.Point(0, 278);
this.windowDockingArea1.Name = "windowDockingArea1";
this.windowDockingArea1.Owner = this.ultraDockManager1;
this.windowDockingArea1.Size = new System.Drawing.Size(600, 111);
this.windowDockingArea1.TabIndex = 13;
//
// dockableWindow1
//
this.dockableWindow1.Controls.Add(this.ucTrackerNews1);
this.dockableWindow1.Location = new System.Drawing.Point(0, 5);
this.dockableWindow1.Name = "dockableWindow1";
this.dockableWindow1.Owner = this.ultraDockManager1;
this.dockableWindow1.Size = new System.Drawing.Size(600, 106);
this.dockableWindow1.TabIndex = 0;
//
// windowDockingArea2
//
this.windowDockingArea2.Controls.Add(this.dockableWindow2);
this.windowDockingArea2.Dock = System.Windows.Forms.DockStyle.Bottom;
this.windowDockingArea2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.windowDockingArea2.Location = new System.Drawing.Point(0, 172);
this.windowDockingArea2.Name = "windowDockingArea2";
this.windowDockingArea2.Owner = this.ultraDockManager1;
this.windowDockingArea2.Size = new System.Drawing.Size(600, 106);
this.windowDockingArea2.TabIndex = 15;
//
// dockableWindow2
//
this.dockableWindow2.Controls.Add(this.ucAnnouncements1);
this.dockableWindow2.Location = new System.Drawing.Point(0, 5);
this.dockableWindow2.Name = "dockableWindow2";
this.dockableWindow2.Owner = this.ultraDockManager1;
this.dockableWindow2.Size = new System.Drawing.Size(600, 101);
this.dockableWindow2.TabIndex = 0;
//
// ultraLabel2
//
this.ultraLabel2.Location = new System.Drawing.Point(168, 64);
this.ultraLabel2.Name = "ultraLabel2";
this.ultraLabel2.Size = new System.Drawing.Size(264, 80);
this.ultraLabel2.TabIndex = 17;
this.ultraLabel2.Text = "Remember that ON THE WEB CLIENT we need a home page for the FN just like with Tra" +
"cker 6.5 but using \"Cases\" instead of \"Processes\" in the captions";
//
// HomePage
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(600, 389);
this.Controls.Add(this.ultraLabel2);
this.Controls.Add(this._HomePageAutoHideControl);
this.Controls.Add(this.ucTop1);
this.Controls.Add(this.windowDockingArea2);
this.Controls.Add(this.windowDockingArea1);
this.Controls.Add(this._HomePageUnpinnedTabAreaTop);
this.Controls.Add(this._HomePageUnpinnedTabAreaBottom);
this.Controls.Add(this._HomePageUnpinnedTabAreaLeft);
this.Controls.Add(this._HomePageUnpinnedTabAreaRight);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "HomePage";
this.Text = "Home Page";
((System.ComponentModel.ISupportInitialize)(this.ultraDockManager1)).EndInit();
this.windowDockingArea1.ResumeLayout(false);
this.dockableWindow1.ResumeLayout(false);
this.windowDockingArea2.ResumeLayout(false);
this.dockableWindow2.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -