ExecutionProgress.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Drawing;
  5. using System.Data;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Windows.Forms;
  9. namespace LYFZ.ComponentLibrary
  10. {
  11. public partial class ExecutionProgress : UserControl
  12. {
  13. public ExecutionProgress()
  14. {
  15. InitializeComponent();
  16. }
  17. /// <summary>
  18. /// 设置进度条对象
  19. /// </summary>
  20. public OtherExpansion.SkinControl.SkinProgressBar MySkinProgressBar {
  21. set { this.sProgressBar = value; }
  22. get { return this.sProgressBar; }
  23. }
  24. /// <summary>
  25. /// 设置进度条进度值
  26. /// </summary>
  27. public int MySkinProgressBarValue {
  28. set { this.sProgressBar.Value = value; }
  29. get { return this.sProgressBar.Value; }
  30. }
  31. [DescriptionAttribute("设置边框颜色"), CategoryAttribute("组件扩展属性")]
  32. public Color BorderColor
  33. {
  34. get { return this.BackColor; }
  35. set { this.BackColor = value; }
  36. }
  37. public Label LbLoadProgress
  38. {
  39. get { return this.lbLoadProgress; }
  40. }
  41. }
  42. }