⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 designerctrl.designer.cs

📁 这个是自己制作的工作流设计器,可以可视化的拖拉
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;

using System.Windows.Forms;
namespace WorkflowDesigner.Designer
{
    /// <summary>
    /// 工作流设计器
    /// </summary>
    partial class DesignerCtrl
    {
        /// <summary> 
        /// 必需的设计器变量。
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary> 
        /// 清理所有正在使用的资源。
        /// </summary>
        /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

       

      



        #region 组件设计器生成的代码

        /// <summary> 
        /// 设计器支持所需的方法 - 不要
        /// 使用代码编辑器修改此方法的内容。
        /// </summary>
        private void InitializeComponent()
        {
            this.vScrollBar1 = new System.Windows.Forms.VScrollBar();
            this.hScrollBar1 = new System.Windows.Forms.HScrollBar();
            this.panel1 = new System.Windows.Forms.Panel();
            this.designerPanel = new WorkflowDesigner.Designer.MyPanel();
            this.SuspendLayout();
            // 
            // vScrollBar1
            // 
            this.vScrollBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.vScrollBar1.Location = new System.Drawing.Point(384, 0);
            this.vScrollBar1.Maximum = 2000;
            this.vScrollBar1.Name = "vScrollBar1";
            this.vScrollBar1.Size = new System.Drawing.Size(16, 384);
            this.vScrollBar1.TabIndex = 0;
            this.vScrollBar1.Scroll += new System.Windows.Forms.ScrollEventHandler(this.vScrollBar1_Scroll);
            // 
            // hScrollBar1
            // 
            this.hScrollBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.hScrollBar1.Location = new System.Drawing.Point(0, 384);
            this.hScrollBar1.Maximum = 2000;
            this.hScrollBar1.Name = "hScrollBar1";
            this.hScrollBar1.Size = new System.Drawing.Size(384, 16);
            this.hScrollBar1.TabIndex = 1;
            this.hScrollBar1.Scroll += new System.Windows.Forms.ScrollEventHandler(this.hScrollBar1_Scroll);
            // 
            // panel1
            // 
            this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.panel1.Location = new System.Drawing.Point(384, 384);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(200, 100);
            this.panel1.TabIndex = 2;
            // 
            // designerPanel
            // 
            this.designerPanel.BackColor = System.Drawing.Color.White;
            this.designerPanel.ImeMode = System.Windows.Forms.ImeMode.Off;
            this.designerPanel.Location = new System.Drawing.Point(15, 14);
            this.designerPanel.Name = "designerPanel";
            this.designerPanel.Size = new System.Drawing.Size(2000, 2000);
            this.designerPanel.TabIndex = 0;
            this.designerPanel.MouseDown += new System.Windows.Forms.MouseEventHandler(this.DesignerCtrl_MouseDown);
            this.designerPanel.MouseMove += new System.Windows.Forms.MouseEventHandler(this.DesignerCtrl_MouseMove);
            this.designerPanel.MouseCaptureChanged += new System.EventHandler(this.designerPanel_MouseCaptureChanged);
            this.designerPanel.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.designerPanel_MouseDoubleClick);
            this.designerPanel.Paint += new System.Windows.Forms.PaintEventHandler(this.DesignerCtrl_Paint);
            this.designerPanel.MouseUp += new System.Windows.Forms.MouseEventHandler(this.DesignerCtrl_MouseUp);
            this.designerPanel.KeyDown += new System.Windows.Forms.KeyEventHandler(this.designerPanel_KeyDown);
            // 
            // DesignerCtrl
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.panel1);
            this.Controls.Add(this.vScrollBar1);
            this.Controls.Add(this.hScrollBar1);
            this.Controls.Add(this.designerPanel);
            this.Margin = new System.Windows.Forms.Padding(0);
            this.Name = "DesignerCtrl";
            this.Size = new System.Drawing.Size(400, 400);
            this.Load += new System.EventHandler(this.DesignerCtrl_Load);
            this.Resize += new System.EventHandler(this.DesignerCtrl_Resize);
            this.ResumeLayout(false);

        }

        #endregion

        private System.Windows.Forms.VScrollBar vScrollBar1;
        private System.Windows.Forms.HScrollBar hScrollBar1;
        private MyPanel designerPanel;
        private Panel panel1;
    }


}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -