我的是dll了,程序还要还要编译吗?
解决方案 »
- c# 类相等的问题
- 请教一下大家,这个嵌套的不正规JSON格式的文件,怎么建立实例类来对它进行反序列化呢?
- sql语句关于时间查询问题.
- 利用虚拟打印机将Word、Execl文档转换成PDF,XPS文档出现的问题~解决问题了再加100分
- 求助啊!c#如何实现毫秒级的事件触发啊
- 关于TextBox的问题,在线等,急
- 很郁闷的一个问题。烦了我好半个月了!~! 快来帮帮我
- DataReader 是不是不能做为DataGrid的数据源?
- 初学C#,请问怎么在一个窗体中调用另一个窗体?
- 各位,请问有没有人了解duuamish之类的东西?
- 如何获得文本框插入符位置?
- 怎样获得SQL Server的连接字符串呀?
这条语句在哪里?
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace HIS.药品分系统.药典子系统.WinForm
{
/// <summary>
/// 药品录入 的摘要说明。
/// </summary>
public class F_新建_药品录入 : System.Windows.Forms.Form
{
private CustomControls.NumberTextBox numberTextBox1;
...
private System.ComponentModel.Container components = null;
public F_新建_药品录入()
{
//
// Windows 窗体设计器支持所必需的
//
InitializeComponent(); //
// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
//
} /// <summary>
/// 清理所有正在使用的资源。
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
} #region Windows Form Designer generated code
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
/// </summary>
private void InitializeComponent
{
...
this.numberTextBox1 = new CustomControls.NumberTextBox();
...
this.Pan_药品信息.Controls.AddRange(new System.Windows.Forms.Control[] {
this.numberTextBox1 = new CustomControls.NumberTextBox();
...
//
// numberTextBox1
//
this.numberTextBox1.DecimalPlace = 0;
this.numberTextBox1.leftCoinchar = null;
this.numberTextBox1.Location = new System.Drawing.Point(528, 168);
this.numberTextBox1.Masked = CustomControls.NumberTextBox.Mask.Decimal;
this.numberTextBox1.Name = "numberTextBox1";
this.numberTextBox1.rightCoinchar = null;
this.numberTextBox1.Size = new System.Drawing.Size(112, 21);
this.numberTextBox1.TabIndex = 122;
this.numberTextBox1.Text = "0";
this.numberTextBox1.value = new System.Decimal(new int[] {
0,
0,
0,
0}); }
#endregion
这是主要的(...代表省略了)
public enum Mask {None,Decimal,Integer }
枚举也是一种class,写在类里面会当成一种类的嵌套用法
试试看