?? commandsummary.cs
字號:
namespace FTP.View.VisibleControls {
using System;
using System.Windows.Forms;
using System.Drawing;
using FTP.Model.DataStructures;
internal class CommandSummary : AbstractPanel {
private HandleUserGestures handleUserGestures;
private TextBox tbCommandSummary;
internal CommandSummary(HandleUserGestures pHandleUserGestures) {
this.handleUserGestures = pHandleUserGestures;
tbCommandSummary = new TextBox();
tbCommandSummary.Multiline = true;
tbCommandSummary.Font = new System.Drawing.Font ("Courier", 10, System.Drawing.FontStyle.Bold);
tbCommandSummary.Location = new Point(5,530);
tbCommandSummary.Size = new System.Drawing.Size (1000, 200);
tbCommandSummary.ScrollBars = System.Windows.Forms.ScrollBars.Both;
tbCommandSummary.Dock = DockStyle.Fill;
this.Controls.Add(tbCommandSummary);
}
// IViewComonentInterface methods
public override void AcceptModelChanges(ModelViewState ftpViewState) {
this.tbCommandSummary .Text = ftpViewState.consoleOutput;
this.tbCommandSummary .ScrollToCaret();
}
// This method does nothing as this component is read only
public override void ExtractUserChanges(ref ModelViewState pFtpViewState) {}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -