?? bank.cs
字號:
using System.Reflection;
using System.Runtime.InteropServices;
using System.EnterpriseServices;
[assembly:AssemblyKeyFile("Bank.snk")]
[assembly:ApplicationName("DotNetBank")]
namespace Wrox
{
[Transaction(TransactionOption.Required)]
public class Bank : ServicedComponent
{
public void Transfer(string FromAC, string ToAC, decimal Amt)
{
string f = "Transferring " + Amt.ToString() + " from " + FromAC + " to " + ToAC;
ContextUtil.SetComplete();
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -