⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 diary.cs

📁 个人信息管理系统
💻 CS
📖 第 1 页 / 共 2 页
字号:
using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data.OleDb;
namespace personal
{
	/// <summary>
	/// diary 的摘要说明。
	/// </summary>
	public class diary : System.Windows.Forms.Form
	{
		private System.Windows.Forms.PictureBox pictureBox1;
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.Label label3;
		private System.Windows.Forms.Label label4;
		private System.Windows.Forms.Button btnfirst;
		private System.Windows.Forms.Button btnpre;
		private System.Windows.Forms.Button btnnext;
		private System.Windows.Forms.Button btnlast;
		private System.Windows.Forms.TextBox txttime;
		private System.Windows.Forms.TextBox txttitle;
		private System.Windows.Forms.RichTextBox rtbdiary;
		private BindingManagerBase navigator;
		private System.Data.DataSet myds;
		private System.Windows.Forms.Label lbltotal;
		private System.Windows.Forms.Label label2;
		private System.Windows.Forms.TextBox txtpage;
		private System.Windows.Forms.Button btnedit;
		private System.Windows.Forms.Button btndel;
		private System.Windows.Forms.Label label5;
		private System.Windows.Forms.RadioButton btnweather1;
		private System.Windows.Forms.RadioButton btnweather3;
		private System.Windows.Forms.RadioButton btnweather4;
		private System.Windows.Forms.RadioButton btnweather5;
		private System.Windows.Forms.RadioButton btnweather2;
		private System.Windows.Forms.RadioButton btnweather6;
		private System.Windows.Forms.Label label6;
		private System.Windows.Forms.TextBox txtid;
		/// <summary>
		/// 必需的设计器变量。
		/// </summary>
		private System.ComponentModel.Container components = null;

		public diary()
		{
			//
			// Windows 窗体设计器支持所必需的
			//
			InitializeComponent();

			//
			// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
			//
		}

		/// <summary>
		/// 清理所有正在使用的资源。
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows 窗体设计器生成的代码
		/// <summary>
		/// 设计器支持所需的方法 - 不要使用代码编辑器修改
		/// 此方法的内容。
		/// </summary>
		private void InitializeComponent()
		{
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(diary));
			this.pictureBox1 = new System.Windows.Forms.PictureBox();
			this.label1 = new System.Windows.Forms.Label();
			this.label3 = new System.Windows.Forms.Label();
			this.label4 = new System.Windows.Forms.Label();
			this.btnfirst = new System.Windows.Forms.Button();
			this.btnpre = new System.Windows.Forms.Button();
			this.btnnext = new System.Windows.Forms.Button();
			this.btnlast = new System.Windows.Forms.Button();
			this.txttime = new System.Windows.Forms.TextBox();
			this.txttitle = new System.Windows.Forms.TextBox();
			this.rtbdiary = new System.Windows.Forms.RichTextBox();
			this.lbltotal = new System.Windows.Forms.Label();
			this.label2 = new System.Windows.Forms.Label();
			this.txtpage = new System.Windows.Forms.TextBox();
			this.btnedit = new System.Windows.Forms.Button();
			this.btndel = new System.Windows.Forms.Button();
			this.btnweather1 = new System.Windows.Forms.RadioButton();
			this.label5 = new System.Windows.Forms.Label();
			this.btnweather3 = new System.Windows.Forms.RadioButton();
			this.btnweather4 = new System.Windows.Forms.RadioButton();
			this.btnweather5 = new System.Windows.Forms.RadioButton();
			this.btnweather2 = new System.Windows.Forms.RadioButton();
			this.btnweather6 = new System.Windows.Forms.RadioButton();
			this.label6 = new System.Windows.Forms.Label();
			this.txtid = new System.Windows.Forms.TextBox();
			this.SuspendLayout();
			// 
			// pictureBox1
			// 
			this.pictureBox1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pictureBox1.BackgroundImage")));
			this.pictureBox1.Location = new System.Drawing.Point(0, 0);
			this.pictureBox1.Name = "pictureBox1";
			this.pictureBox1.Size = new System.Drawing.Size(360, 50);
			this.pictureBox1.TabIndex = 0;
			this.pictureBox1.TabStop = false;
			// 
			// label1
			// 
			this.label1.Location = new System.Drawing.Point(16, 80);
			this.label1.Name = "label1";
			this.label1.TabIndex = 1;
			this.label1.Text = "时间:";
			// 
			// label3
			// 
			this.label3.Location = new System.Drawing.Point(8, 144);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(56, 23);
			this.label3.TabIndex = 1;
			this.label3.Text = "题目:";
			this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
			// 
			// label4
			// 
			this.label4.Location = new System.Drawing.Point(16, 184);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(40, 23);
			this.label4.TabIndex = 1;
			this.label4.Text = "内容:";
			this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
			// 
			// btnfirst
			// 
			this.btnfirst.Location = new System.Drawing.Point(48, 456);
			this.btnfirst.Name = "btnfirst";
			this.btnfirst.Size = new System.Drawing.Size(32, 23);
			this.btnfirst.TabIndex = 2;
			this.btnfirst.Text = "<<";
			this.btnfirst.Click += new System.EventHandler(this.btnfirst_Click);
			// 
			// btnpre
			// 
			this.btnpre.Location = new System.Drawing.Point(128, 456);
			this.btnpre.Name = "btnpre";
			this.btnpre.Size = new System.Drawing.Size(32, 23);
			this.btnpre.TabIndex = 2;
			this.btnpre.Text = "<";
			this.btnpre.Click += new System.EventHandler(this.btnpre_Click);
			// 
			// btnnext
			// 
			this.btnnext.Location = new System.Drawing.Point(216, 456);
			this.btnnext.Name = "btnnext";
			this.btnnext.Size = new System.Drawing.Size(32, 23);
			this.btnnext.TabIndex = 2;
			this.btnnext.Text = ">";
			this.btnnext.Click += new System.EventHandler(this.btnnext_Click);
			// 
			// btnlast
			// 
			this.btnlast.Location = new System.Drawing.Point(288, 456);
			this.btnlast.Name = "btnlast";
			this.btnlast.Size = new System.Drawing.Size(32, 23);
			this.btnlast.TabIndex = 2;
			this.btnlast.Text = ">>";
			this.btnlast.Click += new System.EventHandler(this.btnlast_Click);
			// 
			// txttime
			// 
			this.txttime.BorderStyle = System.Windows.Forms.BorderStyle.None;
			this.txttime.Location = new System.Drawing.Point(144, 80);
			this.txttime.Name = "txttime";
			this.txttime.Size = new System.Drawing.Size(136, 14);
			this.txttime.TabIndex = 4;
			this.txttime.Text = "";
			// 
			// txttitle
			// 
			this.txttitle.BorderStyle = System.Windows.Forms.BorderStyle.None;
			this.txttitle.Location = new System.Drawing.Point(144, 152);
			this.txttitle.Name = "txttitle";
			this.txttitle.Size = new System.Drawing.Size(136, 14);
			this.txttitle.TabIndex = 5;
			this.txttitle.Text = "";
			// 
			// rtbdiary
			// 
			this.rtbdiary.BorderStyle = System.Windows.Forms.BorderStyle.None;
			this.rtbdiary.Location = new System.Drawing.Point(56, 240);
			this.rtbdiary.Name = "rtbdiary";
			this.rtbdiary.Size = new System.Drawing.Size(272, 152);
			this.rtbdiary.TabIndex = 7;
			this.rtbdiary.Text = "";
			// 
			// lbltotal
			// 
			this.lbltotal.ForeColor = System.Drawing.Color.Firebrick;
			this.lbltotal.Location = new System.Drawing.Point(40, 416);
			this.lbltotal.Name = "lbltotal";
			this.lbltotal.Size = new System.Drawing.Size(40, 23);
			this.lbltotal.TabIndex = 8;
			this.lbltotal.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
			// 
			// label2
			// 
			this.label2.Location = new System.Drawing.Point(112, 416);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(32, 23);
			this.label2.TabIndex = 9;
			this.label2.Text = "转到";
			this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
			// 
			// txtpage
			// 
			this.txtpage.Location = new System.Drawing.Point(168, 416);
			this.txtpage.Name = "txtpage";
			this.txtpage.Size = new System.Drawing.Size(24, 21);
			this.txtpage.TabIndex = 10;
			this.txtpage.Text = "";
			this.txtpage.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtpage_KeyDown);
			// 
			// btnedit
			// 
			this.btnedit.Location = new System.Drawing.Point(216, 416);
			this.btnedit.Name = "btnedit";

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -