Shuxia Ning
2024-12-11 f2cc8078a00824a319dab44841f7cb64fdee76b0
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
using DevExpress.XtraEditors;
using HStation.WinFrmUI.Xhs.Core.Properties;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
 
namespace HStation.WinFrmUI
{
    public partial class CreateXhsSchemeDlg : DevExpress.XtraEditors.XtraForm
    {
        public CreateXhsSchemeDlg()
        {
            InitializeComponent();
            this.IconOptions.Icon = Yw.WinFrmUI.GlobalParas.AppIcon;
 
        }
 
 
        private void CustomerStepItem(string caption)
        {
            var  item = new StepProgressBarItem();
            item.ContentBlock2.Caption = caption; 
            item.Options.Indicator.ActiveStateDrawMode = IndicatorDrawMode.Full;
            //item.Options.Indicator.ActiveStateImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("stepPbSelectModelFile.Options.Indicator.ActiveStateImageOptions.SvgImage");
            //item.Options.Indicator.InactiveStateImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("stepPbSelectModelFile.Options.Indicator.InactiveStateImageOptions.SvgImage");
            item.State = StepProgressBarItemState.Active;
        }
 
 
    }
}