📄 riqiform.cs
字号:
//===========================================================================
// Smarclient FPMS Demo Project a sample project for SmartClient technology.
// Smarclient FPMS Demo is designed and implemented bases Microsoft Application Block tech.
// Author: SFPMS Team, Date 2004-11
// Vision 1.0
// Revison History
//=============================================================================
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace JSW.FPMS.Xiang.ShiTu
{
/// <summary>
/// RiQiForm 的摘要说明。
/// </summary>
public class RiQiForm : System.Windows.Forms.Form
{
#region 成员变量区域
private System.Windows.Forms.Panel panel1;
public System.Windows.Forms.MonthCalendar MyCalendar;
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.Container components = null;
#endregion
#region 私有方法区域
private void RiQiForm_Resize(object sender, System.EventArgs e)
{
this.Width=272;
this.Height =148;
}
private void RiQiForm_Deactivate(object sender, System.EventArgs e)
{
this.Hide();
}
private void RiQiForm_Closed(object sender, System.EventArgs e)
{
}
#region Windows Form Designer generated code
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.panel1 = new System.Windows.Forms.Panel();
this.MyCalendar = new System.Windows.Forms.MonthCalendar();
this.panel1.SuspendLayout();
this.SuspendLayout();
//
// panel1
//
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel1.Controls.Add(this.MyCalendar);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(272, 147);
this.panel1.TabIndex = 1;
//
// MyCalendar
//
this.MyCalendar.FirstDayOfWeek = System.Windows.Forms.Day.Sunday;
this.MyCalendar.Location = new System.Drawing.Point(0, 0);
this.MyCalendar.Name = "MyCalendar";
this.MyCalendar.TabIndex = 1;
//
// RiQiForm
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.ClientSize = new System.Drawing.Size(272, 147);
this.Controls.Add(this.panel1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "RiQiForm";
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
this.Resize += new System.EventHandler(this.RiQiForm_Resize);
this.Closed += new System.EventHandler(this.RiQiForm_Closed);
this.Deactivate += new System.EventHandler(this.RiQiForm_Deactivate);
this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
#endregion
#region 公有方法区域
public RiQiForm()
{
InitializeComponent();
}
#endregion
#region 保护方法区域
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#endregion
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -