216 lines
8.7 KiB
C#
216 lines
8.7 KiB
C#
namespace QuickLauncher
|
|
{
|
|
partial class MainForm
|
|
{
|
|
/// <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);
|
|
}
|
|
|
|
#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()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
|
|
leftPanel = new Panel();
|
|
rightPanel = new Panel();
|
|
shortcutsPanel = new FlowLayoutPanel();
|
|
toolPanel = new Panel();
|
|
button1 = new Button();
|
|
addButton = new Button();
|
|
categoryLabel = new Label();
|
|
menuStrip = new MenuStrip();
|
|
fileMenu = new ToolStripMenuItem();
|
|
addCategoryItem = new ToolStripMenuItem();
|
|
deleteCategoryItem = new ToolStripMenuItem();
|
|
关于ToolStripMenuItem = new ToolStripMenuItem();
|
|
rightPanel.SuspendLayout();
|
|
toolPanel.SuspendLayout();
|
|
menuStrip.SuspendLayout();
|
|
SuspendLayout();
|
|
//
|
|
// leftPanel
|
|
//
|
|
leftPanel.AutoScroll = true;
|
|
leftPanel.BackColor = Color.FromArgb(243, 243, 243);
|
|
leftPanel.Dock = DockStyle.Left;
|
|
leftPanel.Location = new Point(0, 36);
|
|
leftPanel.Margin = new Padding(6);
|
|
leftPanel.Name = "leftPanel";
|
|
leftPanel.Size = new Size(297, 608);
|
|
leftPanel.TabIndex = 0;
|
|
//
|
|
// rightPanel
|
|
//
|
|
rightPanel.BackColor = Color.FromArgb(250, 250, 250);
|
|
rightPanel.Controls.Add(shortcutsPanel);
|
|
rightPanel.Controls.Add(toolPanel);
|
|
rightPanel.Dock = DockStyle.Fill;
|
|
rightPanel.Location = new Point(297, 36);
|
|
rightPanel.Margin = new Padding(6);
|
|
rightPanel.Name = "rightPanel";
|
|
rightPanel.Size = new Size(881, 608);
|
|
rightPanel.TabIndex = 1;
|
|
//
|
|
// shortcutsPanel
|
|
//
|
|
shortcutsPanel.AllowDrop = true;
|
|
shortcutsPanel.AutoScroll = true;
|
|
shortcutsPanel.BackColor = Color.FromArgb(250, 250, 250);
|
|
shortcutsPanel.Dock = DockStyle.Fill;
|
|
shortcutsPanel.Location = new Point(0, 80);
|
|
shortcutsPanel.Margin = new Padding(6);
|
|
shortcutsPanel.Name = "shortcutsPanel";
|
|
shortcutsPanel.Padding = new Padding(20);
|
|
shortcutsPanel.Size = new Size(881, 528);
|
|
shortcutsPanel.TabIndex = 1;
|
|
//
|
|
// toolPanel
|
|
//
|
|
toolPanel.BackColor = Color.FromArgb(230, 230, 230);
|
|
toolPanel.Controls.Add(button1);
|
|
toolPanel.Controls.Add(addButton);
|
|
toolPanel.Controls.Add(categoryLabel);
|
|
toolPanel.Dock = DockStyle.Top;
|
|
toolPanel.Location = new Point(0, 0);
|
|
toolPanel.Margin = new Padding(6);
|
|
toolPanel.Name = "toolPanel";
|
|
toolPanel.Padding = new Padding(15, 10, 15, 10);
|
|
toolPanel.Size = new Size(881, 80);
|
|
toolPanel.TabIndex = 0;
|
|
//
|
|
// button1
|
|
//
|
|
button1.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
button1.BackColor = Color.FromArgb(0, 120, 212);
|
|
button1.FlatStyle = FlatStyle.Flat;
|
|
button1.ForeColor = Color.White;
|
|
button1.Location = new Point(775, 3);
|
|
button1.Margin = new Padding(6);
|
|
button1.Name = "button1";
|
|
button1.Size = new Size(107, 39);
|
|
button1.TabIndex = 2;
|
|
button1.Text = "切换主题";
|
|
button1.UseVisualStyleBackColor = false;
|
|
button1.Click += button1_Click;
|
|
//
|
|
// addButton
|
|
//
|
|
addButton.BackColor = Color.FromArgb(0, 120, 212);
|
|
addButton.FlatStyle = FlatStyle.Flat;
|
|
addButton.ForeColor = Color.White;
|
|
addButton.Location = new Point(20, 10);
|
|
addButton.Margin = new Padding(6);
|
|
addButton.Name = "addButton";
|
|
addButton.Size = new Size(183, 60);
|
|
addButton.TabIndex = 0;
|
|
addButton.Text = "添加程序";
|
|
addButton.UseVisualStyleBackColor = false;
|
|
addButton.Click += AddButton_Click;
|
|
//
|
|
// categoryLabel
|
|
//
|
|
categoryLabel.AutoSize = true;
|
|
categoryLabel.Font = new Font("Microsoft YaHei UI", 11F, FontStyle.Regular, GraphicsUnit.Point);
|
|
categoryLabel.Location = new Point(220, 25);
|
|
categoryLabel.Margin = new Padding(6, 0, 6, 0);
|
|
categoryLabel.Name = "categoryLabel";
|
|
categoryLabel.Size = new Size(0, 30);
|
|
categoryLabel.TabIndex = 1;
|
|
//
|
|
// menuStrip
|
|
//
|
|
menuStrip.BackColor = Color.FromArgb(230, 230, 230);
|
|
menuStrip.ImageScalingSize = new Size(24, 24);
|
|
menuStrip.Items.AddRange(new ToolStripItem[] { fileMenu, 关于ToolStripMenuItem });
|
|
menuStrip.Location = new Point(0, 0);
|
|
menuStrip.Name = "menuStrip";
|
|
menuStrip.Padding = new Padding(11, 4, 0, 4);
|
|
menuStrip.Size = new Size(1178, 36);
|
|
menuStrip.TabIndex = 2;
|
|
//
|
|
// fileMenu
|
|
//
|
|
fileMenu.DropDownItems.AddRange(new ToolStripItem[] { addCategoryItem, deleteCategoryItem });
|
|
fileMenu.Name = "fileMenu";
|
|
fileMenu.Size = new Size(62, 28);
|
|
fileMenu.Text = "菜单";
|
|
//
|
|
// addCategoryItem
|
|
//
|
|
addCategoryItem.Name = "addCategoryItem";
|
|
addCategoryItem.Size = new Size(218, 34);
|
|
addCategoryItem.Text = "添加新分类";
|
|
addCategoryItem.Click += AddCategory_Click;
|
|
//
|
|
// deleteCategoryItem
|
|
//
|
|
deleteCategoryItem.Name = "deleteCategoryItem";
|
|
deleteCategoryItem.Size = new Size(218, 34);
|
|
deleteCategoryItem.Text = "删除当前分类";
|
|
deleteCategoryItem.Click += DeleteCategory_Click;
|
|
//
|
|
// 关于ToolStripMenuItem
|
|
//
|
|
关于ToolStripMenuItem.Name = "关于ToolStripMenuItem";
|
|
关于ToolStripMenuItem.Size = new Size(62, 28);
|
|
关于ToolStripMenuItem.Text = "关于";
|
|
关于ToolStripMenuItem.Click += 关于ToolStripMenuItem_Click;
|
|
//
|
|
// MainForm
|
|
//
|
|
AutoScaleDimensions = new SizeF(11F, 24F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(1178, 644);
|
|
Controls.Add(rightPanel);
|
|
Controls.Add(leftPanel);
|
|
Controls.Add(menuStrip);
|
|
Icon = (Icon)resources.GetObject("$this.Icon");
|
|
MainMenuStrip = menuStrip;
|
|
Margin = new Padding(6);
|
|
MinimumSize = new Size(1200, 700);
|
|
Name = "MainForm";
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
Text = "快捷启动工具箱";
|
|
rightPanel.ResumeLayout(false);
|
|
toolPanel.ResumeLayout(false);
|
|
toolPanel.PerformLayout();
|
|
menuStrip.ResumeLayout(false);
|
|
menuStrip.PerformLayout();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Panel leftPanel;
|
|
private System.Windows.Forms.Panel rightPanel;
|
|
private System.Windows.Forms.Panel toolPanel;
|
|
private System.Windows.Forms.Button addButton;
|
|
private System.Windows.Forms.Label categoryLabel;
|
|
private System.Windows.Forms.FlowLayoutPanel shortcutsPanel;
|
|
private System.Windows.Forms.MenuStrip menuStrip;
|
|
private System.Windows.Forms.ToolStripMenuItem fileMenu;
|
|
private System.Windows.Forms.ToolStripMenuItem addCategoryItem;
|
|
private System.Windows.Forms.ToolStripMenuItem deleteCategoryItem;
|
|
private Button button1;
|
|
private ToolStripMenuItem 关于ToolStripMenuItem;
|
|
}
|
|
} |