using Sunny.UI; namespace MyVision { partial class MainForm { /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null; /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { components = new System.ComponentModel.Container(); uiContextMenuStrip1 = new UIContextMenuStrip(); NHome = new ToolStripMenuItem(); NAbout = new ToolStripMenuItem(); toolStripMenuItem1 = new ToolStripSeparator(); NZhCN = new ToolStripMenuItem(); NZhTW = new ToolStripMenuItem(); NEnUS = new ToolStripMenuItem(); StyleManager = new UIStyleManager(components); uiNavBar1 = new UINavBar(); tableLayoutPanel2 = new TableLayoutPanel(); tableLayoutPanel1 = new TableLayoutPanel(); uiSwitch1 = new UISwitch(); uiMarkLabel1 = new UIMarkLabel(); uiLogo1 = new UILogo(); uiAvatar1 = new UIAvatar(); uiPanel1 = new UIPanel(); uiPanel4 = new UIPanel(); uiPanel3 = new UIPanel(); uiPanel2 = new UIPanel(); uiNavMenu1 = new UINavMenu(); uiTabControl1 = new UITabControl(); timer1 = new System.Windows.Forms.Timer(components); timer60 = new System.Windows.Forms.Timer(components); uiContextMenuStrip1.SuspendLayout(); uiNavBar1.SuspendLayout(); tableLayoutPanel2.SuspendLayout(); tableLayoutPanel1.SuspendLayout(); uiPanel1.SuspendLayout(); SuspendLayout(); // // uiContextMenuStrip1 // uiContextMenuStrip1.BackColor = Color.FromArgb(243, 249, 255); uiContextMenuStrip1.Font = new Font("Tahoma", 12F); uiContextMenuStrip1.Items.AddRange(new ToolStripItem[] { NHome, NAbout, toolStripMenuItem1, NZhCN, NZhTW, NEnUS }); uiContextMenuStrip1.Name = "uiContextMenuStrip1"; uiContextMenuStrip1.Size = new Size(143, 130); // // NHome // NHome.Name = "NHome"; NHome.Size = new Size(142, 24); NHome.Text = "主页"; NHome.Click += 关于ToolStripMenuItem_Click; // // NAbout // NAbout.Name = "NAbout"; NAbout.Size = new Size(142, 24); NAbout.Text = "关于"; NAbout.Click += 关于ToolStripMenuItem1_Click; // // toolStripMenuItem1 // toolStripMenuItem1.Name = "toolStripMenuItem1"; toolStripMenuItem1.Size = new Size(139, 6); // // NZhCN // NZhCN.Name = "NZhCN"; NZhCN.Size = new Size(142, 24); NZhCN.Text = "简体中文"; NZhCN.Click += NZhCN_Click; // // NZhTW // NZhTW.Name = "NZhTW"; NZhTW.Size = new Size(142, 24); NZhTW.Text = "繁体中文"; NZhTW.Click += NZhTW_Click; // // NEnUS // NEnUS.Name = "NEnUS"; NEnUS.Size = new Size(142, 24); NEnUS.Text = "English"; NEnUS.Click += NEnUS_Click; // // StyleManager // StyleManager.DPIScale = true; StyleManager.GlobalFont = true; StyleManager.GlobalFontName = "Tahoma"; StyleManager.MultiLanguageSupport = true; // // uiNavBar1 // uiNavBar1.BackColor = Color.FromArgb(240, 240, 240); uiNavBar1.Controls.Add(tableLayoutPanel2); uiNavBar1.Controls.Add(uiAvatar1); uiNavBar1.Dock = DockStyle.Top; uiNavBar1.DropMenuFont = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134); uiNavBar1.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134); uiNavBar1.ForeColor = Color.FromArgb(48, 48, 48); uiNavBar1.Location = new Point(2, 36); uiNavBar1.MenuHoverColor = Color.FromArgb(230, 230, 230); uiNavBar1.MenuSelectedColor = Color.FromArgb(250, 250, 250); uiNavBar1.MenuStyle = UIMenuStyle.White; uiNavBar1.Name = "uiNavBar1"; uiNavBar1.Size = new Size(911, 154); uiNavBar1.TabIndex = 1; uiNavBar1.Text = "uiNavBar1"; uiNavBar1.MenuItemClick += uiNavBar1_MenuItemClick; // // tableLayoutPanel2 // tableLayoutPanel2.ColumnCount = 1; tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F)); tableLayoutPanel2.Controls.Add(tableLayoutPanel1, 0, 1); tableLayoutPanel2.Controls.Add(uiLogo1, 0, 0); tableLayoutPanel2.Location = new Point(4, 6); tableLayoutPanel2.Name = "tableLayoutPanel2"; tableLayoutPanel2.RowCount = 2; tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Absolute, 50F)); tableLayoutPanel2.Size = new Size(320, 140); tableLayoutPanel2.TabIndex = 8; // // tableLayoutPanel1 // tableLayoutPanel1.ColumnCount = 2; tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); tableLayoutPanel1.Controls.Add(uiSwitch1, 1, 0); tableLayoutPanel1.Controls.Add(uiMarkLabel1, 0, 0); tableLayoutPanel1.Dock = DockStyle.Fill; tableLayoutPanel1.Location = new Point(3, 93); tableLayoutPanel1.Name = "tableLayoutPanel1"; tableLayoutPanel1.RowCount = 1; tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 50F)); tableLayoutPanel1.Size = new Size(314, 44); tableLayoutPanel1.TabIndex = 7; // // uiSwitch1 // uiSwitch1.Dock = DockStyle.Fill; uiSwitch1.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134); uiSwitch1.Location = new Point(160, 3); uiSwitch1.MinimumSize = new Size(1, 1); uiSwitch1.Name = "uiSwitch1"; uiSwitch1.Size = new Size(151, 38); uiSwitch1.TabIndex = 6; uiSwitch1.Text = "uiSwitch1"; // // uiMarkLabel1 // uiMarkLabel1.Dock = DockStyle.Fill; uiMarkLabel1.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134); uiMarkLabel1.ForeColor = Color.FromArgb(48, 48, 48); uiMarkLabel1.Location = new Point(3, 0); uiMarkLabel1.Name = "uiMarkLabel1"; uiMarkLabel1.Padding = new Padding(5, 0, 0, 0); uiMarkLabel1.Size = new Size(151, 44); uiMarkLabel1.TabIndex = 7; uiMarkLabel1.Text = "开启检测"; uiMarkLabel1.TextAlign = ContentAlignment.MiddleLeft; // // uiLogo1 // uiLogo1.Dock = DockStyle.Fill; uiLogo1.Font = new Font("宋体", 12F); uiLogo1.Location = new Point(3, 3); uiLogo1.MaximumSize = new Size(300, 80); uiLogo1.MinimumSize = new Size(300, 80); uiLogo1.Name = "uiLogo1"; uiLogo1.Size = new Size(300, 80); uiLogo1.TabIndex = 4; uiLogo1.Text = "uiLogo1"; // // uiAvatar1 // uiAvatar1.Anchor = AnchorStyles.Top | AnchorStyles.Right; uiAvatar1.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134); uiAvatar1.Location = new Point(831, 33); uiAvatar1.MinimumSize = new Size(1, 1); uiAvatar1.Name = "uiAvatar1"; uiAvatar1.Size = new Size(60, 60); uiAvatar1.TabIndex = 5; uiAvatar1.Text = "uiAvatar1"; uiAvatar1.DoubleClick += uiAvatar1_DoubleClick; // // uiPanel1 // uiPanel1.Controls.Add(uiPanel4); uiPanel1.Controls.Add(uiPanel3); uiPanel1.Controls.Add(uiPanel2); uiPanel1.Dock = DockStyle.Bottom; uiPanel1.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134); uiPanel1.Location = new Point(2, 544); uiPanel1.Margin = new Padding(4, 5, 4, 5); uiPanel1.MinimumSize = new Size(1, 1); uiPanel1.Name = "uiPanel1"; uiPanel1.RadiusSides = UICornerRadiusSides.None; uiPanel1.RectSides = ToolStripStatusLabelBorderSides.Top; uiPanel1.Size = new Size(911, 32); uiPanel1.TabIndex = 3; uiPanel1.Text = null; uiPanel1.TextAlignment = ContentAlignment.MiddleCenter; // // uiPanel4 // uiPanel4.Dock = DockStyle.Fill; uiPanel4.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134); uiPanel4.Location = new Point(286, 0); uiPanel4.Margin = new Padding(4, 5, 4, 5); uiPanel4.MinimumSize = new Size(1, 1); uiPanel4.Name = "uiPanel4"; uiPanel4.RadiusSides = UICornerRadiusSides.None; uiPanel4.RectSides = ToolStripStatusLabelBorderSides.Top; uiPanel4.Size = new Size(339, 32); uiPanel4.TabIndex = 2; uiPanel4.Text = null; uiPanel4.TextAlignment = ContentAlignment.MiddleCenter; // // uiPanel3 // uiPanel3.Dock = DockStyle.Right; uiPanel3.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134); uiPanel3.Location = new Point(625, 0); uiPanel3.Margin = new Padding(4, 5, 4, 5); uiPanel3.MinimumSize = new Size(1, 1); uiPanel3.MultiLanguageSupport = false; uiPanel3.Name = "uiPanel3"; uiPanel3.RadiusSides = UICornerRadiusSides.None; uiPanel3.RectSides = ToolStripStatusLabelBorderSides.Left | ToolStripStatusLabelBorderSides.Top; uiPanel3.Size = new Size(286, 32); uiPanel3.TabIndex = 1; uiPanel3.Text = null; uiPanel3.TextAlignment = ContentAlignment.MiddleCenter; // // uiPanel2 // uiPanel2.Dock = DockStyle.Left; uiPanel2.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134); uiPanel2.Location = new Point(0, 0); uiPanel2.Margin = new Padding(4, 5, 4, 5); uiPanel2.MinimumSize = new Size(1, 1); uiPanel2.MultiLanguageSupport = false; uiPanel2.Name = "uiPanel2"; uiPanel2.RadiusSides = UICornerRadiusSides.None; uiPanel2.RectSides = ToolStripStatusLabelBorderSides.Top | ToolStripStatusLabelBorderSides.Right; uiPanel2.Size = new Size(286, 32); uiPanel2.TabIndex = 0; uiPanel2.Text = null; uiPanel2.TextAlignment = ContentAlignment.MiddleCenter; // // uiNavMenu1 // uiNavMenu1.BorderStyle = BorderStyle.None; uiNavMenu1.Dock = DockStyle.Left; uiNavMenu1.DrawMode = TreeViewDrawMode.OwnerDrawAll; uiNavMenu1.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134); uiNavMenu1.FullRowSelect = true; uiNavMenu1.HotTracking = true; uiNavMenu1.ItemHeight = 35; uiNavMenu1.Location = new Point(2, 190); uiNavMenu1.Name = "uiNavMenu1"; uiNavMenu1.ShowLines = false; uiNavMenu1.ShowOneNode = true; uiNavMenu1.ShowPlusMinus = false; uiNavMenu1.ShowRootLines = false; uiNavMenu1.Size = new Size(286, 354); uiNavMenu1.TabIndex = 4; uiNavMenu1.TipsFont = new Font("宋体", 9F, FontStyle.Regular, GraphicsUnit.Point, 134); uiNavMenu1.MenuItemClick += uiNavMenu1_MenuItemClick; // // uiTabControl1 // uiTabControl1.Dock = DockStyle.Fill; uiTabControl1.DrawMode = TabDrawMode.OwnerDrawFixed; uiTabControl1.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134); uiTabControl1.Frame = this; uiTabControl1.ItemSize = new Size(0, 1); uiTabControl1.Location = new Point(288, 190); uiTabControl1.MainPage = ""; uiTabControl1.Name = "uiTabControl1"; uiTabControl1.SelectedIndex = 0; uiTabControl1.Size = new Size(625, 354); uiTabControl1.SizeMode = TabSizeMode.Fixed; uiTabControl1.TabIndex = 5; uiTabControl1.TabUnSelectedForeColor = Color.FromArgb(240, 240, 240); uiTabControl1.TabVisible = false; uiTabControl1.TipsFont = new Font("宋体", 9F, FontStyle.Regular, GraphicsUnit.Point, 134); // // timer1 // timer1.Interval = 1000; timer1.Tick += timer1_Tick; // // timer60 // timer60.Interval = 60000; timer60.Tick += timer60_Tick; // // MainForm // AutoScaleMode = AutoScaleMode.None; ClientSize = new Size(915, 578); CloseAskString = "您确认要退出程序吗?"; Controls.Add(uiTabControl1); Controls.Add(uiNavMenu1); Controls.Add(uiPanel1); Controls.Add(uiNavBar1); ExtendBox = true; ExtendMenu = uiContextMenuStrip1; MainTabControl = uiTabControl1; Name = "MainForm"; Padding = new Padding(2, 36, 2, 2); Resizable = true; ShowDragStretch = true; Text = "视觉软件"; ZoomScaleRect = new Rectangle(15, 15, 1132, 846); HotKeyEventHandler += Form1_HotKeyEventHandler; PageSelected += Form1_PageSelected; ReceiveParams += Form1_ReceiveParams; FormClosed += MainForm_FormClosed; uiContextMenuStrip1.ResumeLayout(false); uiNavBar1.ResumeLayout(false); tableLayoutPanel2.ResumeLayout(false); tableLayoutPanel1.ResumeLayout(false); uiPanel1.ResumeLayout(false); ResumeLayout(false); } #endregion private UIContextMenuStrip uiContextMenuStrip1; private System.Windows.Forms.ToolStripMenuItem NHome; private System.Windows.Forms.ToolStripMenuItem NAbout; private UIStyleManager StyleManager; private UINavBar uiNavBar1; private UIPanel uiPanel1; private UINavMenu uiNavMenu1; private UITabControl uiTabControl1; private UILogo uiLogo1; private UIAvatar uiAvatar1; private UIPanel uiPanel2; private UIPanel uiPanel3; private System.Windows.Forms.Timer timer1; private System.Windows.Forms.Timer timer60; private UIPanel uiPanel4; private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1; private System.Windows.Forms.ToolStripMenuItem NZhCN; private System.Windows.Forms.ToolStripMenuItem NZhTW; private System.Windows.Forms.ToolStripMenuItem NEnUS; private UISwitch uiSwitch1; private TableLayoutPanel tableLayoutPanel1; private TableLayoutPanel tableLayoutPanel2; private UIMarkLabel uiMarkLabel1; } }