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; } } }