lixiaojun
2024-11-28 e39e22e12380551c79f99a9c96bb77d5dc3839b1
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
namespace Yw.WinFrmUI
{
    partial class HydroWorkingItemEvaluationCtrl
    {
        /// <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 Component 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()
        {
            gaugeControl1 = new DevExpress.XtraGauges.Win.GaugeControl();
            circularGauge1 = new DevExpress.XtraGauges.Win.Gauges.Circular.CircularGauge();
            labelComponent1 = new DevExpress.XtraGauges.Win.Base.LabelComponent();
            arcScaleRangeBarComponent1 = new DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleRangeBarComponent();
            arcScaleComponent1 = new DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleComponent();
            ((ISupportInitialize)circularGauge1).BeginInit();
            ((ISupportInitialize)labelComponent1).BeginInit();
            ((ISupportInitialize)arcScaleRangeBarComponent1).BeginInit();
            ((ISupportInitialize)arcScaleComponent1).BeginInit();
            SuspendLayout();
            // 
            // gaugeControl1
            // 
            gaugeControl1.ColorScheme.TargetElements = DevExpress.XtraGauges.Core.Base.TargetElement.RangeBar | DevExpress.XtraGauges.Core.Base.TargetElement.Label;
            gaugeControl1.Dock = DockStyle.Fill;
            gaugeControl1.Gauges.AddRange(new DevExpress.XtraGauges.Base.IGauge[] { circularGauge1 });
            gaugeControl1.Location = new Point(0, 0);
            gaugeControl1.Name = "gaugeControl1";
            gaugeControl1.Size = new Size(423, 349);
            gaugeControl1.TabIndex = 0;
            // 
            // circularGauge1
            // 
            circularGauge1.Bounds = new Rectangle(6, 6, 411, 337);
            circularGauge1.Labels.AddRange(new DevExpress.XtraGauges.Win.Base.LabelComponent[] { labelComponent1 });
            circularGauge1.Name = "circularGauge1";
            circularGauge1.RangeBars.AddRange(new DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleRangeBarComponent[] { arcScaleRangeBarComponent1 });
            circularGauge1.Scales.AddRange(new DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleComponent[] { arcScaleComponent1 });
            // 
            // labelComponent1
            // 
            labelComponent1.AllowHTMLString = true;
            labelComponent1.AppearanceText.DXFont = new DevExpress.Drawing.DXFont("Segoe UI", 22F);
            labelComponent1.Name = "circularGauge1_Label1";
            labelComponent1.Size = new SizeF(140F, 60F);
            labelComponent1.Text = "15%";
            labelComponent1.ZOrder = -1001;
            // 
            // arcScaleRangeBarComponent1
            // 
            arcScaleRangeBarComponent1.ArcScale = arcScaleComponent1;
            arcScaleRangeBarComponent1.Name = "circularGauge1_RangeBar2";
            arcScaleRangeBarComponent1.RoundedCaps = true;
            arcScaleRangeBarComponent1.ShowBackground = true;
            arcScaleRangeBarComponent1.StartOffset = 80F;
            arcScaleRangeBarComponent1.ZOrder = -10;
            // 
            // arcScaleComponent1
            // 
            arcScaleComponent1.AppearanceMajorTickmark.BorderBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:White");
            arcScaleComponent1.AppearanceMajorTickmark.ContentBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:White");
            arcScaleComponent1.AppearanceMinorTickmark.BorderBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:White");
            arcScaleComponent1.AppearanceMinorTickmark.ContentBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:White");
            arcScaleComponent1.AppearanceTickmarkText.DXFont = new DevExpress.Drawing.DXFont("Tahoma", 8.5F);
            arcScaleComponent1.AppearanceTickmarkText.TextBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:#484E5A");
            arcScaleComponent1.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(125F, 125F);
            arcScaleComponent1.EndAngle = 90F;
            arcScaleComponent1.MajorTickCount = 0;
            arcScaleComponent1.MajorTickmark.FormatString = "{0:F0}";
            arcScaleComponent1.MajorTickmark.ShapeOffset = -14F;
            arcScaleComponent1.MajorTickmark.ShapeType = DevExpress.XtraGauges.Core.Model.TickmarkShapeType.Circular_Style16_1;
            arcScaleComponent1.MajorTickmark.TextOrientation = DevExpress.XtraGauges.Core.Model.LabelOrientation.LeftToRight;
            arcScaleComponent1.MaxValue = 100F;
            arcScaleComponent1.MinorTickCount = 0;
            arcScaleComponent1.MinorTickmark.ShapeOffset = -7F;
            arcScaleComponent1.MinorTickmark.ShapeType = DevExpress.XtraGauges.Core.Model.TickmarkShapeType.Circular_Style16_2;
            arcScaleComponent1.Name = "scale1";
            arcScaleComponent1.StartAngle = -270F;
            arcScaleComponent1.Value = 10F;
            // 
            // HydroWorkingItemEvaluationCtrl
            // 
            AutoScaleDimensions = new SizeF(7F, 14F);
            AutoScaleMode = AutoScaleMode.Font;
            Controls.Add(gaugeControl1);
            Name = "HydroWorkingItemEvaluationCtrl";
            Size = new Size(423, 349);
            ((ISupportInitialize)circularGauge1).EndInit();
            ((ISupportInitialize)labelComponent1).EndInit();
            ((ISupportInitialize)arcScaleRangeBarComponent1).EndInit();
            ((ISupportInitialize)arcScaleComponent1).EndInit();
            ResumeLayout(false);
        }
 
        #endregion
 
        private DevExpress.XtraGauges.Win.GaugeControl gaugeControl1;
        private DevExpress.XtraGauges.Win.Gauges.Circular.CircularGauge circularGauge1;
        private DevExpress.XtraGauges.Win.Base.LabelComponent labelComponent1;
        private DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleRangeBarComponent arcScaleRangeBarComponent1;
        private DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleComponent arcScaleComponent1;
    }
}