📄 uccsmycode.cs
字号:
namespace Codematic.UserControls
{
using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
public class UcCSMyCode : UserControl
{
private IContainer components;
private GroupBox groupBox1;
private GroupBox groupBox2;
private RadioButton radbtn_BLL;
private RadioButton radbtn_DAL;
private RadioButton radbtn_Model;
private RadioButton radbtn_Note;
private RadioButton radbtn_using;
private RichTextBox txt_Content;
public UcCSMyCode()
{
this.InitializeComponent();
}
protected override void Dispose(bool disposing)
{
if (disposing && (this.components != null))
{
this.components.Dispose();
}
base.Dispose(disposing);
}
private void InitializeComponent()
{
this.radbtn_Model = new RadioButton();
this.radbtn_DAL = new RadioButton();
this.radbtn_BLL = new RadioButton();
this.txt_Content = new RichTextBox();
this.radbtn_using = new RadioButton();
this.radbtn_Note = new RadioButton();
this.groupBox1 = new GroupBox();
this.groupBox2 = new GroupBox();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
base.SuspendLayout();
this.radbtn_Model.AutoSize = true;
this.radbtn_Model.Location = new Point(0x3d, 20);
this.radbtn_Model.Name = "radbtn_Model";
this.radbtn_Model.Size = new Size(0x35, 0x10);
this.radbtn_Model.TabIndex = 0;
this.radbtn_Model.TabStop = true;
this.radbtn_Model.Text = "Model";
this.radbtn_Model.UseVisualStyleBackColor = true;
this.radbtn_DAL.AutoSize = true;
this.radbtn_DAL.Location = new Point(0x90, 20);
this.radbtn_DAL.Name = "radbtn_DAL";
this.radbtn_DAL.Size = new Size(0x29, 0x10);
this.radbtn_DAL.TabIndex = 0;
this.radbtn_DAL.TabStop = true;
this.radbtn_DAL.Text = "DAL";
this.radbtn_DAL.UseVisualStyleBackColor = true;
this.radbtn_BLL.AutoSize = true;
this.radbtn_BLL.Location = new Point(0xd7, 20);
this.radbtn_BLL.Name = "radbtn_BLL";
this.radbtn_BLL.Size = new Size(0x29, 0x10);
this.radbtn_BLL.TabIndex = 0;
this.radbtn_BLL.TabStop = true;
this.radbtn_BLL.Text = "BLL";
this.radbtn_BLL.UseVisualStyleBackColor = true;
this.txt_Content.Location = new Point(0x20, 0x7f);
this.txt_Content.Name = "txt_Content";
this.txt_Content.Size = new Size(0x137, 0x62);
this.txt_Content.TabIndex = 2;
this.txt_Content.Text = "";
this.radbtn_using.AutoSize = true;
this.radbtn_using.Location = new Point(0x2c, 20);
this.radbtn_using.Name = "radbtn_using";
this.radbtn_using.Size = new Size(0x53, 0x10);
this.radbtn_using.TabIndex = 0;
this.radbtn_using.TabStop = true;
this.radbtn_using.Text = "自定义引用";
this.radbtn_using.UseVisualStyleBackColor = true;
this.radbtn_Note.AutoSize = true;
this.radbtn_Note.Location = new Point(0x89, 20);
this.radbtn_Note.Name = "radbtn_Note";
this.radbtn_Note.Size = new Size(0xa7, 0x10);
this.radbtn_Note.TabIndex = 0;
this.radbtn_Note.TabStop = true;
this.radbtn_Note.Text = "自定义注释(无需注释符号)";
this.radbtn_Note.UseVisualStyleBackColor = true;
this.groupBox1.Controls.Add(this.radbtn_DAL);
this.groupBox1.Controls.Add(this.radbtn_Model);
this.groupBox1.Controls.Add(this.radbtn_BLL);
this.groupBox1.Location = new Point(0x20, 15);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new Size(0x137, 0x31);
this.groupBox1.TabIndex = 3;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "代码类型:";
this.groupBox2.Controls.Add(this.radbtn_using);
this.groupBox2.Controls.Add(this.radbtn_Note);
this.groupBox2.Location = new Point(0x20, 70);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new Size(0x137, 0x2e);
this.groupBox2.TabIndex = 4;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "添加类型:";
base.AutoScaleDimensions = new SizeF(6f, 12f);
base.AutoScaleMode = AutoScaleMode.Font;
base.Controls.Add(this.groupBox2);
base.Controls.Add(this.groupBox1);
base.Controls.Add(this.txt_Content);
base.Name = "UcCSMyCode";
this.RightToLeft = RightToLeft.No;
base.Size = new Size(0x17d, 0x111);
base.Load += new EventHandler(this.UcCSMyCode_Load);
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.groupBox2.ResumeLayout(false);
this.groupBox2.PerformLayout();
base.ResumeLayout(false);
}
private void UcCSMyCode_Load(object sender, EventArgs e)
{
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -