qinjie
2023-12-02 c2fa168aff53d879f72412c94baa7be4998dae5e
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
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 template1 = new Hydro.MapView.Template();
            Hydro.MapView.MapOption mapOption1 = new Hydro.MapView.MapOption();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.map = new CloudWaterNetwork.MapViewer();
            this.SuspendLayout();
            // 
            // map
            // 
            this.map._IsEditMode = true;
            template1.CenterX = 0F;
            template1.CenterY = 0F;
            template1.filePath = null;
            template1.ID = "00000000-0000-0000-0000-000000000000";
            template1.ImportExcelIndex = 0;
            template1.ImportExcelPath = null;
            mapOption1._ShowJunction = true;
            mapOption1._ShowValve = true;
            mapOption1.junction_multiply = 1F;
            mapOption1.Link_multiply = 0.6667F;
            template1.mapOption = mapOption1;
            template1.MaxLevel = 99;
            template1.Node1 = null;
            template1.Node2 = null;
            template1.Regions = null;
            template1.rotation = 0D;
            template1.rotationF = 90D;
            template1.Type = Hydro.MapView.MapViewEnum.TemplateType.全部;
            template1.view = ((Hydro.MapView.MapDimensions)(resources.GetObject("template1.view")));
            template1.Visible = null;
            template1.X = null;
            template1.Y = null;
            template1.zoom = 1F;
            template1.名称 = "临时";
            this.map._newTemplate = template1;
            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, 0);
            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, 450);
            this.map.TabIndex = 0;
            this.map.zoom = 1F;
            // 
            // 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.Name = "Form1";
            this.Text = "Form1";
            this.Load += new System.EventHandler(this.Form1_Load);
            this.ResumeLayout(false);
 
        }
 
        #endregion
 
        private CloudWaterNetwork.MapViewer map;
    }
}