VS.NET 可以用中文做 类名 变量 方法名 COOOOOOOOOOOOL死了!!!!!
VS.NET 可以用中文做 类名 变量 方法名 COOOOOOOOOOOOL死了!!!!!VS.NET 可以用中文做 类名 变量 方法名 COOOOOOOOOOOOL死了!!!!!
//-----------------------------------------------------------------------
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
namespace WindowsApplication1
{
/// <summary>
/// Summary description for Form1.
/// </summary>
public class 昆的程序 : System.Windows.Forms.Form
{
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Label label1;
private System.Timers.Timer timer1;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public
int 邓锟 ;
public string 靠;
string 妈的;
public class 爸爸 : Object
{
public string 名字;
public void 吃()
{
MessageBox.Show(名字+" 在吃饭... : )");
}
public 爸爸()
{
名字="邓锟";
}
}
public class 儿子 : 爸爸
{
//public string 名字;
// public void 吃()
//{
//MessageBox.Show("妈的,老子是儿子,老子在吃饭... : )");
//}
public void 哭()
{
MessageBox.Show("55555555555~~~~~");
}
public 儿子()
{
名字="邓锟的儿子";
}
}
public 昆的程序()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
邓锟 = 100;
靠 ="shit , ";
妈的 = "老子怎么还是这么穷?";
//
// TODO: Add any constructor code after InitializeComponent call
//
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if (components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
private void InitializeComponent()
{
.....
}
[STAThread]
static void Main()
{
Application.Run(new 昆的程序());
}
private void button1_Click(object sender, System.EventArgs e)
{
timer1.Enabled=!timer1.Enabled;
if(!label1.Visible)
label1.Visible=true;
爸爸 爸爸1= new 爸爸();
爸爸1.吃();
儿子 儿子1= new 儿子();
儿子1.吃();
儿子1.哭();
MessageBox.Show(靠+妈的);
}
private void timer1_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
{
label1.Visible=!label1.Visible;
}
}
}
//--------------------------------------------------------------------------