⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 main.cs

📁 是一个模拟ATM的程序
💻 CS
字号:
// Main.cs created with MonoDevelop// User: Estelle at 1:34 PM 5/5/2008//// To change standard headers go to Edit->Preferences->Coding->Standard Headers//using System;using System.Reflection;using System.Collections;using System.Windows.Forms;using System.Drawing;
using System.IO;namespace ATM{	class Launcher{
        [STAThread]		public static void Main(string[] args){			//Redirect the Standard Error Stream to the log.tmp in the CURRENT DIRECTORY.
            Console.WriteLine("This is a gui application, please wait...");
            FileStream fs = new FileStream("log.tmp", FileMode.Create);
            TextWriter tw = new StreamWriter(fs);
            Console.SetError(tw);						Application.EnableVisualStyles();			Application.Run(new ATMForm());		}	}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -