2022-03-21 14:48:26 +08:00
|
|
|
|
// ***********************************************************************
|
2021-11-23 15:51:37 +08:00
|
|
|
|
// Assembly : HZH_Controls
|
|
|
|
|
|
// Created : 08-08-2019
|
|
|
|
|
|
//
|
|
|
|
|
|
// ***********************************************************************
|
|
|
|
|
|
// <copyright file="UCRadioButton.Designer.cs">
|
|
|
|
|
|
// Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
|
|
|
|
|
|
// </copyright>
|
|
|
|
|
|
//
|
|
|
|
|
|
// Blog: https://www.cnblogs.com/bfyx
|
|
|
|
|
|
// GitHub:https://github.com/kwwwvagaa/NetWinformControl
|
|
|
|
|
|
// gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
|
|
|
|
|
|
//
|
|
|
|
|
|
// If you use this code, please keep this note.
|
|
|
|
|
|
// ***********************************************************************
|
|
|
|
|
|
namespace HZH_Controls.Controls
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Class UCRadioButton.
|
|
|
|
|
|
/// Implements the <see cref="System.Windows.Forms.UserControl" />
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <seealso cref="System.Windows.Forms.UserControl" />
|
|
|
|
|
|
partial class UCRadioButton
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 必需的设计器变量。
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 清理所有正在使用的资源。
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
|
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
|
|
{
|
|
|
|
|
|
if (disposing && (components != null))
|
|
|
|
|
|
{
|
|
|
|
|
|
components.Dispose();
|
|
|
|
|
|
}
|
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#region 组件设计器生成的代码
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 设计器支持所需的方法 - 不要
|
|
|
|
|
|
/// 使用代码编辑器修改此方法的内容。
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
|
{
|
|
|
|
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
|
|
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
|
//
|
|
|
|
|
|
// label1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.label1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
|
this.label1.Font = new System.Drawing.Font("微软雅黑", 12F);
|
|
|
|
|
|
this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(62)))), ((int)(((byte)(62)))), ((int)(((byte)(62)))));
|
|
|
|
|
|
this.label1.Location = new System.Drawing.Point(18, 0);
|
|
|
|
|
|
this.label1.Name = "label1";
|
|
|
|
|
|
this.label1.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0);
|
|
|
|
|
|
this.label1.Size = new System.Drawing.Size(215, 30);
|
|
|
|
|
|
this.label1.TabIndex = 3;
|
|
|
|
|
|
this.label1.Text = "单选按钮";
|
|
|
|
|
|
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
|
|
|
|
this.label1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Radio_MouseDown);
|
|
|
|
|
|
//
|
|
|
|
|
|
// panel1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.panel1.BackgroundImage = global::HZH_Controls.Properties.Resources.radioButton0;
|
|
|
|
|
|
this.panel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
|
|
|
|
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Left;
|
|
|
|
|
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
|
this.panel1.Name = "panel1";
|
|
|
|
|
|
this.panel1.Size = new System.Drawing.Size(18, 30);
|
|
|
|
|
|
this.panel1.TabIndex = 2;
|
|
|
|
|
|
this.panel1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Radio_MouseDown);
|
|
|
|
|
|
//
|
|
|
|
|
|
// UCRadioButton
|
|
|
|
|
|
//
|
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
|
|
|
|
|
this.Controls.Add(this.label1);
|
|
|
|
|
|
this.Controls.Add(this.panel1);
|
|
|
|
|
|
this.Name = "UCRadioButton";
|
|
|
|
|
|
this.Size = new System.Drawing.Size(233, 30);
|
|
|
|
|
|
this.Load += new System.EventHandler(this.UCRadioButton_Load);
|
|
|
|
|
|
this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Radio_MouseDown);
|
|
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The label1
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
private System.Windows.Forms.Label label1;
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The panel1
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
private System.Windows.Forms.Panel panel1;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|