📄 uctrackernews.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 UCTrackerNews.
/// </summary>
public class UCTrackerNews : System.Windows.Forms.UserControl
{
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor1;
private Infragistics.Win.Misc.UltraLabel ultraLabel1;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public UCTrackerNews()
{
// 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();
this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
((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(280, 208);
this.ultraTextEditor1.TabIndex = 1;
this.ultraTextEditor1.Text = "News from Tracker here...";
//
// ultraLabel1
//
this.ultraLabel1.Location = new System.Drawing.Point(8, 72);
this.ultraLabel1.Name = "ultraLabel1";
this.ultraLabel1.Size = new System.Drawing.Size(264, 64);
this.ultraLabel1.TabIndex = 17;
this.ultraLabel1.Text = "This will call a WebMethod \"GetNews()\" from a Tracker webservice that we will hos" +
"t.\r\n\r\nDo this on a different thread so it does not slow the UI.";
//
// UCTrackerNews
//
this.Controls.Add(this.ultraLabel1);
this.Controls.Add(this.ultraTextEditor1);
this.Name = "UCTrackerNews";
this.Size = new System.Drawing.Size(280, 208);
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).EndInit();
this.ResumeLayout(false);
}
#endregion
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -