UserDeviceUnitControl.Designer.cs 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. namespace Scada
  2. {
  3. partial class UserDeviceUnitControl
  4. {
  5. /// <summary>
  6. /// 必需的设计器变量。
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// 清理所有正在使用的资源。
  11. /// </summary>
  12. /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
  13. protected override void Dispose(bool disposing)
  14. {
  15. if (disposing && (components != null))
  16. {
  17. components.Dispose();
  18. }
  19. base.Dispose(disposing);
  20. }
  21. #region 组件设计器生成的代码
  22. /// <summary>
  23. /// 设计器支持所需的方法 - 不要修改
  24. /// 使用代码编辑器修改此方法的内容。
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. uiTableLayoutPanel1 = new Sunny.UI.UITableLayoutPanel();
  29. lbl_DeviceName = new Sunny.UI.UILabel();
  30. sw_Device = new Sunny.UI.UISwitch();
  31. uiTableLayoutPanel1.SuspendLayout();
  32. SuspendLayout();
  33. //
  34. // uiTableLayoutPanel1
  35. //
  36. uiTableLayoutPanel1.ColumnCount = 2;
  37. uiTableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F));
  38. uiTableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 120F));
  39. uiTableLayoutPanel1.Controls.Add(lbl_DeviceName, 0, 0);
  40. uiTableLayoutPanel1.Controls.Add(sw_Device, 1, 0);
  41. uiTableLayoutPanel1.Dock = DockStyle.Fill;
  42. uiTableLayoutPanel1.Location = new Point(0, 0);
  43. uiTableLayoutPanel1.Name = "uiTableLayoutPanel1";
  44. uiTableLayoutPanel1.RowCount = 1;
  45. uiTableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
  46. uiTableLayoutPanel1.Size = new Size(250, 60);
  47. uiTableLayoutPanel1.TabIndex = 0;
  48. uiTableLayoutPanel1.TagString = null;
  49. //
  50. // lbl_DeviceName
  51. //
  52. lbl_DeviceName.Dock = DockStyle.Fill;
  53. lbl_DeviceName.Font = new Font("微软雅黑", 15F);
  54. lbl_DeviceName.ForeColor = Color.FromArgb(48, 48, 48);
  55. lbl_DeviceName.Location = new Point(3, 0);
  56. lbl_DeviceName.Name = "lbl_DeviceName";
  57. lbl_DeviceName.Size = new Size(124, 60);
  58. lbl_DeviceName.TabIndex = 0;
  59. lbl_DeviceName.Text = "工位名称";
  60. lbl_DeviceName.TextAlign = ContentAlignment.MiddleCenter;
  61. //
  62. // sw_Device
  63. //
  64. sw_Device.Dock = DockStyle.Fill;
  65. sw_Device.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
  66. sw_Device.Location = new Point(133, 3);
  67. sw_Device.MinimumSize = new Size(1, 1);
  68. sw_Device.Name = "sw_Device";
  69. sw_Device.Size = new Size(114, 54);
  70. sw_Device.TabIndex = 1;
  71. sw_Device.Click += sw_Device_Click;
  72. //
  73. // UserDeviceUnitControl
  74. //
  75. AutoScaleMode = AutoScaleMode.None;
  76. BackColor = Color.Transparent;
  77. Controls.Add(uiTableLayoutPanel1);
  78. FillColor = Color.Transparent;
  79. Name = "UserDeviceUnitControl";
  80. RectColor = Color.Transparent;
  81. Size = new Size(250, 60);
  82. uiTableLayoutPanel1.ResumeLayout(false);
  83. ResumeLayout(false);
  84. }
  85. #endregion
  86. private Sunny.UI.UITableLayoutPanel uiTableLayoutPanel1;
  87. private Sunny.UI.UILabel lbl_DeviceName;
  88. private Sunny.UI.UISwitch sw_Device;
  89. }
  90. }