?? app.cs
字號:
using System;
using SWF = System.Windows.Forms;
using ST = System.Threading;
using T = System.Diagnostics.Trace;
namespace BankCustomerApp
{
public class App
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
public static void Main()
{
try
{
// setup generic exception handler...
SWF.Application.ThreadException += new ST.ThreadExceptionEventHandler(App.OnAppException);
// setup cleanup routine for normal app shutdown...
SWF.Application.ThreadExit += new System.EventHandler(App.OnAppExit);
// when app starts, delete the previous log file (if any)
string logfile = System.AppDomain.CurrentDomain.BaseDirectory + "AppLog.txt";
System.IO.TextWriter log = new System.IO.StreamWriter(logfile);
if (Globals.Trace) // then also send trace output to log file
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -