main.cs

来自「是一个模拟ATM的程序」· CS 代码 · 共 27 行

CS
27
字号
// 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 + =
减小字号Ctrl + -
显示快捷键?