📄 lzlmain.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;using System.Data.SqlClient ;
using drawmenu;
using System.IO ;
using System.Net;
//using linzl;
//using drawmenu.computer;
namespace lzl061111152357good5
{
/// <summary>
/// Main 的摘要说明。
/// </summary>
public class lzlMain : System.Windows.Forms.Form
{
private System.Windows.Forms.MainMenu mainMenu1;
private System.Windows.Forms.MenuItem menuItem1;
private System.Windows.Forms.MenuItem menuItem2;
private System.Windows.Forms.MenuItem menuItem3;
private System.Windows.Forms.MenuItem menuItem4;
private System.Windows.Forms.MenuItem menuItem5;
private System.Windows.Forms.MenuItem menuItem6;
private System.Windows.Forms.ImageList imageList1;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.Button button4;
private System.Windows.Forms.Button button5;
private System.Windows.Forms.Button button6;
private System.Windows.Forms.Button button7;
private System.Windows.Forms.Button button8;
private System.Windows.Forms.Button button9;
private System.Windows.Forms.Button button10;
private System.Windows.Forms.Button button11;
private System.Windows.Forms.Button button12;
private System.Windows.Forms.Button button13;
private System.Windows.Forms.StatusBar statusBar1;
private System.Windows.Forms.StatusBarPanel statusBarPanel1;
private System.Windows.Forms.StatusBarPanel statusBarPanel2;
private System.Windows.Forms.StatusBarPanel statusBarPanel3;
private System.Windows.Forms.StatusBarPanel statusBarPanel4;
private System.Windows.Forms.MenuItem menuItem7;
private System.Windows.Forms.MenuItem menuItem8;
private System.Windows.Forms.Timer timer1;
private System.Windows.Forms.NotifyIcon notifyIcon1;
public System.Windows.Forms.ContextMenu contextMenu1;
internal System.Windows.Forms.MenuItem menuItem9;
internal System.Windows.Forms.MenuItem menuItem10;
internal System.Windows.Forms.MenuItem menuItem11;
internal System.Windows.Forms.MenuItem menuItem12;
private System.Windows.Forms.MenuItem menuItem13;
private System.Windows.Forms.MenuItem menuItem14;
private System.Windows.Forms.MenuItem menuItem15;
private System.Windows.Forms.MenuItem menuItem16;
private System.Windows.Forms.MenuItem menuItem17;
private System.Windows.Forms.MenuItem menuItem18;
private System.Windows.Forms.MenuItem menuItem19;
private System.Windows.Forms.MenuItem menuItem20;
private System.Windows.Forms.MenuItem menuItem21;
private System.Windows.Forms.MenuItem menuItem22;
private System.Windows.Forms.MenuItem menuItem23;
private System.Windows.Forms.MenuItem menuItem24;
private System.Windows.Forms.MenuItem menuItem25;
private System.Windows.Forms.MenuItem menuItem26;
private System.Windows.Forms.MenuItem menuItem27;
private System.Windows.Forms.MenuItem menuItem28;
private System.Windows.Forms.MenuItem menuItem29;
private System.Windows.Forms.MenuItem menuItem30;
private System.Windows.Forms.MenuItem menuItem31;
private System.Windows.Forms.MenuItem menuItem32;
private System.Windows.Forms.MenuItem menuItem33;
private System.Windows.Forms.MenuItem menuItem34;
private System.Windows.Forms.MenuItem menuItem35;
private System.Windows.Forms.MenuItem menuItem36;
private System.Windows.Forms.MenuItem menuItem37;
private System.Windows.Forms.MenuItem menuItem38;
private System.Windows.Forms.MenuItem menuItem39;
private System.Windows.Forms.MenuItem menuItem40;
internal System.Windows.Forms.TextBox textBox1;
internal System.Windows.Forms.TextBox textBox2;
private System.Windows.Forms.Button button14;
private System.Windows.Forms.MenuItem menuItem41;
private System.Windows.Forms.MenuItem menuItem42;
private System.Windows.Forms.MenuItem menuItem43;
private System.Windows.Forms.MenuItem menuItem44;
private System.Windows.Forms.MenuItem menuItem45;
private System.Windows.Forms.MenuItem menuItem46;
private System.Windows.Forms.MenuItem menuItem47;
private System.Windows.Forms.MenuItem menuItem48;
private System.Windows.Forms.MenuItem menuItem49;
private System.Windows.Forms.MenuItem menuItem50;
private System.Windows.Forms.MenuItem menuItem51;
private System.Windows.Forms.MenuItem menuItem52;
private System.Windows.Forms.MenuItem menuItem53;
private System.Windows.Forms.MenuItem menuItem54;
private System.Windows.Forms.ContextMenu contextMenu2;
private System.Windows.Forms.MenuItem menuItem55;
private System.Windows.Forms.MenuItem menuItem56;
private System.Windows.Forms.MenuItem menuItem57;
private System.Windows.Forms.MenuItem menuItem58;
private System.Windows.Forms.MenuItem menuItem59;
public System.Windows.Forms.TextBox textBox3;
private System.Windows.Forms.MenuItem menuItem60;
private System.ComponentModel.IContainer components;
public lzlMain()
{
//
// 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()
{
this.components = new System.ComponentModel.Container();
System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(lzlMain));
this.mainMenu1 = new System.Windows.Forms.MainMenu();
this.menuItem1 = new System.Windows.Forms.MenuItem();
this.menuItem13 = new System.Windows.Forms.MenuItem();
this.menuItem14 = new System.Windows.Forms.MenuItem();
this.menuItem15 = new System.Windows.Forms.MenuItem();
this.menuItem16 = new System.Windows.Forms.MenuItem();
this.menuItem17 = new System.Windows.Forms.MenuItem();
this.menuItem19 = new System.Windows.Forms.MenuItem();
this.menuItem41 = new System.Windows.Forms.MenuItem();
this.menuItem44 = new System.Windows.Forms.MenuItem();
this.menuItem45 = new System.Windows.Forms.MenuItem();
this.menuItem2 = new System.Windows.Forms.MenuItem();
this.menuItem20 = new System.Windows.Forms.MenuItem();
this.menuItem47 = new System.Windows.Forms.MenuItem();
this.menuItem48 = new System.Windows.Forms.MenuItem();
this.menuItem49 = new System.Windows.Forms.MenuItem();
this.menuItem50 = new System.Windows.Forms.MenuItem();
this.menuItem51 = new System.Windows.Forms.MenuItem();
this.menuItem52 = new System.Windows.Forms.MenuItem();
this.menuItem53 = new System.Windows.Forms.MenuItem();
this.menuItem21 = new System.Windows.Forms.MenuItem();
this.menuItem22 = new System.Windows.Forms.MenuItem();
this.menuItem23 = new System.Windows.Forms.MenuItem();
this.menuItem24 = new System.Windows.Forms.MenuItem();
this.menuItem38 = new System.Windows.Forms.MenuItem();
this.menuItem39 = new System.Windows.Forms.MenuItem();
this.menuItem40 = new System.Windows.Forms.MenuItem();
this.menuItem3 = new System.Windows.Forms.MenuItem();
this.menuItem7 = new System.Windows.Forms.MenuItem();
this.menuItem25 = new System.Windows.Forms.MenuItem();
this.menuItem26 = new System.Windows.Forms.MenuItem();
this.menuItem27 = new System.Windows.Forms.MenuItem();
this.menuItem28 = new System.Windows.Forms.MenuItem();
this.menuItem29 = new System.Windows.Forms.MenuItem();
this.menuItem30 = new System.Windows.Forms.MenuItem();
this.menuItem4 = new System.Windows.Forms.MenuItem();
this.menuItem31 = new System.Windows.Forms.MenuItem();
this.menuItem32 = new System.Windows.Forms.MenuItem();
this.menuItem33 = new System.Windows.Forms.MenuItem();
this.menuItem34 = new System.Windows.Forms.MenuItem();
this.menuItem35 = new System.Windows.Forms.MenuItem();
this.menuItem36 = new System.Windows.Forms.MenuItem();
this.menuItem5 = new System.Windows.Forms.MenuItem();
this.menuItem8 = new System.Windows.Forms.MenuItem();
this.menuItem18 = new System.Windows.Forms.MenuItem();
this.menuItem37 = new System.Windows.Forms.MenuItem();
this.menuItem54 = new System.Windows.Forms.MenuItem();
this.menuItem6 = new System.Windows.Forms.MenuItem();
this.menuItem42 = new System.Windows.Forms.MenuItem();
this.menuItem43 = new System.Windows.Forms.MenuItem();
this.menuItem46 = new System.Windows.Forms.MenuItem();
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.contextMenu1 = new System.Windows.Forms.ContextMenu();
this.menuItem9 = new System.Windows.Forms.MenuItem();
this.menuItem10 = new System.Windows.Forms.MenuItem();
this.menuItem11 = new System.Windows.Forms.MenuItem();
this.menuItem12 = new System.Windows.Forms.MenuItem();
this.button14 = new System.Windows.Forms.Button();
this.button13 = new System.Windows.Forms.Button();
this.button12 = new System.Windows.Forms.Button();
this.button10 = new System.Windows.Forms.Button();
this.button9 = new System.Windows.Forms.Button();
this.button8 = new System.Windows.Forms.Button();
this.button6 = new System.Windows.Forms.Button();
this.button5 = new System.Windows.Forms.Button();
this.button4 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.button11 = new System.Windows.Forms.Button();
this.button7 = new System.Windows.Forms.Button();
this.textBox1 = new System.Windows.Forms.TextBox();
this.textBox2 = new System.Windows.Forms.TextBox();
this.textBox3 = new System.Windows.Forms.TextBox();
this.statusBar1 = new System.Windows.Forms.StatusBar();
this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel();
this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel();
this.statusBarPanel3 = new System.Windows.Forms.StatusBarPanel();
this.statusBarPanel4 = new System.Windows.Forms.StatusBarPanel();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
this.contextMenu2 = new System.Windows.Forms.ContextMenu();
this.menuItem55 = new System.Windows.Forms.MenuItem();
this.menuItem56 = new System.Windows.Forms.MenuItem();
this.menuItem57 = new System.Windows.Forms.MenuItem();
this.menuItem60 = new System.Windows.Forms.MenuItem();
this.menuItem58 = new System.Windows.Forms.MenuItem();
this.menuItem59 = new System.Windows.Forms.MenuItem();
this.groupBox1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.statusBarPanel4)).BeginInit();
this.SuspendLayout();
//
// mainMenu1
//
this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.menuItem1,
this.menuItem2,
this.menuItem3,
this.menuItem4,
this.menuItem5,
this.menuItem6});
//
// menuItem1
//
this.menuItem1.Index = 0;
this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.menuItem13,
this.menuItem14,
this.menuItem15,
this.menuItem16,
this.menuItem17,
this.menuItem19,
this.menuItem41,
this.menuItem44,
this.menuItem45});
this.menuItem1.Text = "文件";
//
// menuItem13
//
this.menuItem13.Index = 0;
this.menuItem13.OwnerDraw = true;
this.menuItem13.Text = " 仓库信息";
this.menuItem13.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.menuItem13_DrawItem);
this.menuItem13.Click += new System.EventHandler(this.menuItem13_Click_1);
this.menuItem13.MeasureItem += new System.Windows.Forms.MeasureItemEventHandler(this.menuItem13_MeasureItem);
//
// menuItem14
//
this.menuItem14.Index = 1;
this.menuItem14.OwnerDraw = true;
this.menuItem14.Text = " 引用";
this.menuItem14.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.menuItem14_DrawItem);
this.menuItem14.Click += new System.EventHandler(this.menuItem14_Click_1);
this.menuItem14.MeasureItem += new System.Windows.Forms.MeasureItemEventHandler(this.menuItem14_MeasureItem);
//
// menuItem15
//
this.menuItem15.Index = 2;
this.menuItem15.OwnerDraw = true;
this.menuItem15.Text = "-";
this.menuItem15.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.menuItem15_DrawItem);
this.menuItem15.MeasureItem += new System.Windows.Forms.MeasureItemEventHandler(this.menuItem15_MeasureItem);
//
// menuItem16
//
this.menuItem16.Index = 3;
this.menuItem16.OwnerDraw = true;
this.menuItem16.Text = " 面板";
this.menuItem16.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.menuItem16_DrawItem);
this.menuItem16.Click += new System.EventHandler(this.menuItem16_Click);
this.menuItem16.MeasureItem += new System.Windows.Forms.MeasureItemEventHandler(this.menuItem16_MeasureItem);
//
// menuItem17
//
this.menuItem17.Index = 4;
this.menuItem17.OwnerDraw = true;
this.menuItem17.Text = " 日贴";
this.menuItem17.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.menuItem17_DrawItem);
this.menuItem17.Click += new System.EventHandler(this.menuItem17_Click);
this.menuItem17.MeasureItem += new System.Windows.Forms.MeasureItemEventHandler(this.menuItem17_MeasureItem);
//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -