📄 ucannouncements.cs
字号:
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Windows.Forms;
namespace Tracker7UI.plugins.HomePage
{
/// <summary>
/// Summary description for UCAnnouncements.
/// </summary>
public class UCAnnouncements : System.Windows.Forms.UserControl
{
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor1;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public UCAnnouncements()
{
// This call is required by the Windows.Forms Form Designer.
InitializeComponent();
// TODO: Add any initialization after the InitializeComponent call
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Component Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.ultraTextEditor1 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).BeginInit();
this.SuspendLayout();
//
// ultraTextEditor1
//
this.ultraTextEditor1.Dock = System.Windows.Forms.DockStyle.Fill;
this.ultraTextEditor1.FlatMode = true;
this.ultraTextEditor1.Location = new System.Drawing.Point(0, 0);
this.ultraTextEditor1.Multiline = true;
this.ultraTextEditor1.Name = "ultraTextEditor1";
this.ultraTextEditor1.Scrollbars = System.Windows.Forms.ScrollBars.Vertical;
this.ultraTextEditor1.Size = new System.Drawing.Size(216, 192);
this.ultraTextEditor1.TabIndex = 1;
this.ultraTextEditor1.Text = "Your announcements here...";
//
// UCAnnouncements
//
this.Controls.Add(this.ultraTextEditor1);
this.Name = "UCAnnouncements";
this.Size = new System.Drawing.Size(216, 192);
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).EndInit();
this.ResumeLayout(false);
}
#endregion
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -