那种汇编开发的

zss427607 2014-07-13 07:54:46
public frmLogin()
{
SystemChangeHandler systemChangeHandler = (SystemChangeHandler) null;
this.components = (IContainer) null;
this.history = (HistoryHelper) null;
// ISSUE: explicit constructor call
base.\u002Ector();
this.InitializeComponent();
this.pictureBox1.Image = (Image) Resources._3;
this.pictureBox2.Image = (Image) Resources.ri_bg1;
this.path = string.Format("{0}\\LoginUser.xml", (object) GlobalInfo.get_HistoryPath());
this.history = new HistoryHelper(this.textUser, this.path, "Data", "UserInfo", "UserName");
this.textPassword.PasswordChar = '*';
if (systemChangeHandler == null)
{
// ISSUE: method pointer
systemChangeHandler = new SystemChangeHandler((object) this, __methodptr(\u003C\u002Ector\u003Eb__0));
}
GlobalInfo.add_SystemChange(systemChangeHandler);
GlobalInfo.set_SystemType("正式系统");
}
请问以上代码是那种汇编语言开发的。
...全文
177 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
threenewbee 2014-07-13
  • 打赏
  • 举报
回复
代码太少,看不出来。是C#的可能性大。看不到VB.NET特有的特征。
threenewbee 2014-07-13
  • 打赏
  • 举报
回复
继续没有发现有VB的特性。
wangnaisheng 2014-07-13
  • 打赏
  • 举报
回复
C# ???
zss427607 2014-07-13
  • 打赏
  • 举报
回复
引用 3 楼 caozhy 的回复:
代码太少,看不出来。是C#的可能性大。看不到VB.NET特有的特征。
[STAThread] public static void Main(string[] args) { string languageHandle = string.Empty; string[] strArray = args; int index = 0; if (index < strArray.Length) languageHandle = strArray[index]; Application.EnableVisualStyles(); if (new frmLogin(languageHandle).ShowDialog() != DialogResult.OK) return; try { MainFrame mainFrame = new MainFrame(); GlobalInfo.set_Frame((Form) mainFrame); Application.Run((Form) mainFrame); } catch (Exception ex) { Splasher.Close(); MsgHelper.ShowError(ex.Message); } } private void toolStripLabel_ServiceTime_DoubleClick(object sender, EventArgs e) { this.GetServerTime(); } private void toolStripButton_CloseOtherForm_Click(object sender, EventArgs e) { foreach (Form form in this.MdiChildren) { if (form != this.ActiveMdiChild) form.Close(); } }

110,538

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧