cloudflight
2023-12-02 c0f9915265878e56e91ee97f7f8d925db1e12626
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
namespace TestForm
{
    partial class Form1
    {
        /// <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 Windows 窗体设计器生成的代码
 
        /// <summary>
        /// 设计器支持所需的方法 - 不要修改
        /// 使用代码编辑器修改此方法的内容。
        /// </summary>
        private void InitializeComponent()
        {
            Hydro.MapView.Template template2 = new Hydro.MapView.Template();
            Hydro.MapView.MapOption mapOption2 = new Hydro.MapView.MapOption();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.map = new Hydro.MapUI.MapViewer();
            this.toolStrip1 = new System.Windows.Forms.ToolStrip();
            this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
            this.toolStrip1.SuspendLayout();
            this.SuspendLayout();
            // 
            // map
            // 
            this.map._IsEditMode = true;
            template2.CenterX = 0F;
            template2.CenterY = 0F;
            template2.filePath = null;
            template2.ID = "00000000-0000-0000-0000-000000000000";
            template2.ImportExcelIndex = 0;
            template2.ImportExcelPath = null;
            mapOption2._ShowJunction = true;
            mapOption2._ShowValve = true;
            mapOption2.junction_multiply = 1F;
            mapOption2.Link_multiply = 0.6667F;
            template2.mapOption = mapOption2;
            template2.MaxLevel = 99;
            template2.Node1 = null;
            template2.Node2 = null;
            template2.Regions = null;
            template2.rotation = 0D;
            template2.rotationF = 90D;
            template2.Type = Hydro.MapView.MapViewEnum.TemplateType.全部;
            template2.view = ((Hydro.MapView.MapDimensions)(resources.GetObject("template2.view")));
            template2.Visible = null;
            template2.X = null;
            template2.Y = null;
            template2.zoom = 1F;
            template2.名称 = "临时";
            this.map._newTemplate = template2;
            this.map._ShowJunction = true;
            this.map._ShowValve = true;
            this.map.BackColor = System.Drawing.Color.Transparent;
            this.map.Dock = System.Windows.Forms.DockStyle.Fill;
            this.map.junction_multiply = 1F;
            this.map.Link_multiply = 1F;
            this.map.Location = new System.Drawing.Point(0, 25);
            //this.map.MapCenter = ((System.Drawing.PointF)(resources.GetObject("map.MapCenter")));
            this.map.Name = "map";
            this.map.Rotation = 0D;
            this.map.RotationF = 90D;
            this.map.ShowStatusBar = true;
            this.map.showToolBar = true;
            this.map.Size = new System.Drawing.Size(800, 425);
            this.map.TabIndex = 0;
            this.map.zoom = 1F;
            // 
            // toolStrip1
            // 
            this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.toolStripButton1});
            this.toolStrip1.Location = new System.Drawing.Point(0, 0);
            this.toolStrip1.Name = "toolStrip1";
            this.toolStrip1.Size = new System.Drawing.Size(800, 25);
            this.toolStrip1.TabIndex = 1;
            this.toolStrip1.Text = "toolStrip1";
            // 
            // toolStripButton1
            // 
            this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
            this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton1.Name = "toolStripButton1";
            this.toolStripButton1.Size = new System.Drawing.Size(52, 22);
            this.toolStripButton1.Text = "计算";
            this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
            // 
            // Form1
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(800, 450);
            this.Controls.Add(this.map);
            this.Controls.Add(this.toolStrip1);
            this.Name = "Form1";
            this.Text = "Form1";
            this.Load += new System.EventHandler(this.Form1_Load);
            this.toolStrip1.ResumeLayout(false);
            this.toolStrip1.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();
 
        }
 
        #endregion
 
        private Hydro.MapUI.MapViewer map;
        private System.Windows.Forms.ToolStrip toolStrip1;
        private System.Windows.Forms.ToolStripButton toolStripButton1;
    }
}