public MyControl() { InitializeComponent(); Rst.BorderThickness = new Thickness(0, 0, 0, 0); Rst.UndoLimit = 100; Rst.Focus(); terminalController = new TerminalController(this); }
private void OnLoad(object sender, EventArgs e) { controller.Init(); Rst.Focus(); Closing += (s, ev) => { controller.Close(); }; }
public MyControl() { InitializeComponent(); Rst.BorderThickness = new Thickness(0, 0, 0, 0); Rst.UndoLimit = 100; Rst.FontFamily = new FontFamily(OptionMgr.Font); Rst.FontSize = OptionMgr.FontSize; Rst.Focus(); terminalController = new TerminalController(this); }