public FProgressBar() { ValueChanged += delegate { if (Hint == null || Hint.EndsWith(" %")) { Hint = ((int)(Value / Maximum * 100)).ToString() + " %"; } }; }
public MiProgressBar() { ControlUtility.Refresh(this); ValueChanged += delegate { if (Hint == null || Hint.EndsWith(" %")) { Hint = ((int)(Value / Maximum * 100)).ToString() + " %"; } }; }