📄 form1.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
namespace WindowsApplication1
{
/// <summary>
/// Form1 的摘要说明。
/// </summary>
public class Form1 : System.Windows.Forms.Form
{
private System.Windows.Forms.Panel panel1; //矩阵显示在面板里
private System.Windows.Forms.Label a11; //标签显示矩阵的元素hij,共144个元素
private System.Windows.Forms.Label a12;
private System.Windows.Forms.Label a14;
private System.Windows.Forms.Label a13;
private System.Windows.Forms.Label a16;
private System.Windows.Forms.Label a15;
private System.Windows.Forms.Label a111;
private System.Windows.Forms.Label a110;
private System.Windows.Forms.Label a19;
private System.Windows.Forms.Label a18;
private System.Windows.Forms.Label a17;
private System.Windows.Forms.Label a112;
private System.Windows.Forms.Label a212;
private System.Windows.Forms.Label a211;
private System.Windows.Forms.Label a210;
private System.Windows.Forms.Label a29;
private System.Windows.Forms.Label a28;
private System.Windows.Forms.Label a27;
private System.Windows.Forms.Label a26;
private System.Windows.Forms.Label a25;
private System.Windows.Forms.Label a24;
private System.Windows.Forms.Label a23;
private System.Windows.Forms.Label a22;
private System.Windows.Forms.Label a21;
private System.Windows.Forms.Label a412;
private System.Windows.Forms.Label a411;
private System.Windows.Forms.Label a410;
private System.Windows.Forms.Label a49;
private System.Windows.Forms.Label a48;
private System.Windows.Forms.Label a47;
private System.Windows.Forms.Label a46;
private System.Windows.Forms.Label a45;
private System.Windows.Forms.Label a44;
private System.Windows.Forms.Label a43;
private System.Windows.Forms.Label a42;
private System.Windows.Forms.Label a41;
private System.Windows.Forms.Label a312;
private System.Windows.Forms.Label a311;
private System.Windows.Forms.Label a310;
private System.Windows.Forms.Label a39;
private System.Windows.Forms.Label a38;
private System.Windows.Forms.Label a37;
private System.Windows.Forms.Label a36;
private System.Windows.Forms.Label a35;
private System.Windows.Forms.Label a34;
private System.Windows.Forms.Label a33;
private System.Windows.Forms.Label a32;
private System.Windows.Forms.Label a31;
private System.Windows.Forms.Label a612;
private System.Windows.Forms.Label a611;
private System.Windows.Forms.Label a610;
private System.Windows.Forms.Label a69;
private System.Windows.Forms.Label a68;
private System.Windows.Forms.Label a67;
private System.Windows.Forms.Label a66;
private System.Windows.Forms.Label a65;
private System.Windows.Forms.Label a64;
private System.Windows.Forms.Label a63;
private System.Windows.Forms.Label a62;
private System.Windows.Forms.Label a61;
private System.Windows.Forms.Label a512;
private System.Windows.Forms.Label a511;
private System.Windows.Forms.Label a510;
private System.Windows.Forms.Label a59;
private System.Windows.Forms.Label a58;
private System.Windows.Forms.Label a57;
private System.Windows.Forms.Label a56;
private System.Windows.Forms.Label a55;
private System.Windows.Forms.Label a54;
private System.Windows.Forms.Label a53;
private System.Windows.Forms.Label a52;
private System.Windows.Forms.Label a51;
private System.Windows.Forms.Label a75;
private System.Windows.Forms.Label a74;
private System.Windows.Forms.Label a73;
private System.Windows.Forms.Label a72;
private System.Windows.Forms.Label a71;
private System.Windows.Forms.Label a1212;
private System.Windows.Forms.Label a1211;
private System.Windows.Forms.Label a1210;
private System.Windows.Forms.Label a1209;
private System.Windows.Forms.Label a1208;
private System.Windows.Forms.Label a1207;
private System.Windows.Forms.Label a1206;
private System.Windows.Forms.Label a1205;
private System.Windows.Forms.Label a1204;
private System.Windows.Forms.Label a1203;
private System.Windows.Forms.Label a1202;
private System.Windows.Forms.Label a1201;
private System.Windows.Forms.Label a1112;
private System.Windows.Forms.Label a1111;
private System.Windows.Forms.Label a1110;
private System.Windows.Forms.Label a1109;
private System.Windows.Forms.Label a1108;
private System.Windows.Forms.Label a1107;
private System.Windows.Forms.Label a1106;
private System.Windows.Forms.Label a1105;
private System.Windows.Forms.Label a1104;
private System.Windows.Forms.Label a1103;
private System.Windows.Forms.Label a1102;
private System.Windows.Forms.Label a1101;
private System.Windows.Forms.Label a1012;
private System.Windows.Forms.Label a1011;
private System.Windows.Forms.Label a1010;
private System.Windows.Forms.Label a1009;
private System.Windows.Forms.Label a1008;
private System.Windows.Forms.Label a1007;
private System.Windows.Forms.Label a1006;
private System.Windows.Forms.Label a1005;
private System.Windows.Forms.Label a1004;
private System.Windows.Forms.Label a1003;
private System.Windows.Forms.Label a1002;
private System.Windows.Forms.Label a1001;
private System.Windows.Forms.Label a912;
private System.Windows.Forms.Label a911;
private System.Windows.Forms.Label a910;
private System.Windows.Forms.Label a99;
private System.Windows.Forms.Label a98;
private System.Windows.Forms.Label a97;
private System.Windows.Forms.Label a96;
private System.Windows.Forms.Label a95;
private System.Windows.Forms.Label a94;
private System.Windows.Forms.Label a93;
private System.Windows.Forms.Label a92;
private System.Windows.Forms.Label a91;
private System.Windows.Forms.Label a812;
private System.Windows.Forms.Label a811;
private System.Windows.Forms.Label a810;
private System.Windows.Forms.Label a89;
private System.Windows.Forms.Label a88;
private System.Windows.Forms.Label a87;
private System.Windows.Forms.Label a86;
private System.Windows.Forms.Label a85;
private System.Windows.Forms.Label a84;
private System.Windows.Forms.Label a83;
private System.Windows.Forms.Label a82;
private System.Windows.Forms.Label a81;
private System.Windows.Forms.Label a712;
private System.Windows.Forms.Label a711;
private System.Windows.Forms.Label a710;
private System.Windows.Forms.Label a79;
private System.Windows.Forms.Label a78;
private System.Windows.Forms.Label a77;
private System.Windows.Forms.Label a76;
private System.Windows.Forms.Button btnLook; //产生12阶矩阵元素
private System.Windows.Forms.Button btnResult; //两个矩阵相乘结果
private System.Windows.Forms.Label lblTitle; //矩阵标题
private System.ComponentModel.Container components = null;
public Form1()
{
InitializeComponent();
}
protected override void Dispose( bool disposing )
{
if( disposing )
{
if (components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.panel1 = new System.Windows.Forms.Panel();
this.a1212 = new System.Windows.Forms.Label();
this.a1211 = new System.Windows.Forms.Label();
this.a1210 = new System.Windows.Forms.Label();
this.a1209 = new System.Windows.Forms.Label();
this.a1208 = new System.Windows.Forms.Label();
this.a1207 = new System.Windows.Forms.Label();
this.a1206 = new System.Windows.Forms.Label();
this.a1205 = new System.Windows.Forms.Label();
this.a1204 = new System.Windows.Forms.Label();
this.a1203 = new System.Windows.Forms.Label();
this.a1202 = new System.Windows.Forms.Label();
this.a1201 = new System.Windows.Forms.Label();
this.a1112 = new System.Windows.Forms.Label();
this.a1111 = new System.Windows.Forms.Label();
this.a1110 = new System.Windows.Forms.Label();
this.a1109 = new System.Windows.Forms.Label();
this.a1108 = new System.Windows.Forms.Label();
this.a1107 = new System.Windows.Forms.Label();
this.a1106 = new System.Windows.Forms.Label();
this.a1105 = new System.Windows.Forms.Label();
this.a1104 = new System.Windows.Forms.Label();
this.a1103 = new System.Windows.Forms.Label();
this.a1102 = new System.Windows.Forms.Label();
this.a1101 = new System.Windows.Forms.Label();
this.a1012 = new System.Windows.Forms.Label();
this.a1011 = new System.Windows.Forms.Label();
this.a1010 = new System.Windows.Forms.Label();
this.a1009 = new System.Windows.Forms.Label();
this.a1008 = new System.Windows.Forms.Label();
this.a1007 = new System.Windows.Forms.Label();
this.a1006 = new System.Windows.Forms.Label();
this.a1005 = new System.Windows.Forms.Label();
this.a1004 = new System.Windows.Forms.Label();
this.a1003 = new System.Windows.Forms.Label();
this.a1002 = new System.Windows.Forms.Label();
this.a1001 = new System.Windows.Forms.Label();
this.a912 = new System.Windows.Forms.Label();
this.a911 = new System.Windows.Forms.Label();
this.a910 = new System.Windows.Forms.Label();
this.a99 = new System.Windows.Forms.Label();
this.a98 = new System.Windows.Forms.Label();
this.a97 = new System.Windows.Forms.Label();
this.a96 = new System.Windows.Forms.Label();
this.a95 = new System.Windows.Forms.Label();
this.a94 = new System.Windows.Forms.Label();
this.a93 = new System.Windows.Forms.Label();
this.a92 = new System.Windows.Forms.Label();
this.a91 = new System.Windows.Forms.Label();
this.a812 = new System.Windows.Forms.Label();
this.a811 = new System.Windows.Forms.Label();
this.a810 = new System.Windows.Forms.Label();
this.a89 = new System.Windows.Forms.Label();
this.a88 = new System.Windows.Forms.Label();
this.a87 = new System.Windows.Forms.Label();
this.a86 = new System.Windows.Forms.Label();
this.a85 = new System.Windows.Forms.Label();
this.a84 = new System.Windows.Forms.Label();
this.a83 = new System.Windows.Forms.Label();
this.a82 = new System.Windows.Forms.Label();
this.a81 = new System.Windows.Forms.Label();
this.a712 = new System.Windows.Forms.Label();
this.a711 = new System.Windows.Forms.Label();
this.a710 = new System.Windows.Forms.Label();
this.a79 = new System.Windows.Forms.Label();
this.a78 = new System.Windows.Forms.Label();
this.a77 = new System.Windows.Forms.Label();
this.a76 = new System.Windows.Forms.Label();
this.a75 = new System.Windows.Forms.Label();
this.a74 = new System.Windows.Forms.Label();
this.a73 = new System.Windows.Forms.Label();
this.a72 = new System.Windows.Forms.Label();
this.a71 = new System.Windows.Forms.Label();
this.a612 = new System.Windows.Forms.Label();
this.a611 = new System.Windows.Forms.Label();
this.a610 = new System.Windows.Forms.Label();
this.a69 = new System.Windows.Forms.Label();
this.a68 = new System.Windows.Forms.Label();
this.a67 = new System.Windows.Forms.Label();
this.a66 = new System.Windows.Forms.Label();
this.a65 = new System.Windows.Forms.Label();
this.a64 = new System.Windows.Forms.Label();
this.a63 = new System.Windows.Forms.Label();
this.a62 = new System.Windows.Forms.Label();
this.a61 = new System.Windows.Forms.Label();
this.a512 = new System.Windows.Forms.Label();
this.a511 = new System.Windows.Forms.Label();
this.a510 = new System.Windows.Forms.Label();
this.a59 = new System.Windows.Forms.Label();
this.a58 = new System.Windows.Forms.Label();
this.a57 = new System.Windows.Forms.Label();
this.a56 = new System.Windows.Forms.Label();
this.a55 = new System.Windows.Forms.Label();
this.a54 = new System.Windows.Forms.Label();
this.a53 = new System.Windows.Forms.Label();
this.a52 = new System.Windows.Forms.Label();
this.a51 = new System.Windows.Forms.Label();
this.a412 = new System.Windows.Forms.Label();
this.a411 = new System.Windows.Forms.Label();
this.a410 = new System.Windows.Forms.Label();
this.a49 = new System.Windows.Forms.Label();
this.a48 = new System.Windows.Forms.Label();
this.a47 = new System.Windows.Forms.Label();
this.a46 = new System.Windows.Forms.Label();
this.a45 = new System.Windows.Forms.Label();
this.a44 = new System.Windows.Forms.Label();
this.a43 = new System.Windows.Forms.Label();
this.a42 = new System.Windows.Forms.Label();
this.a41 = new System.Windows.Forms.Label();
this.a312 = new System.Windows.Forms.Label();
this.a311 = new System.Windows.Forms.Label();
this.a310 = new System.Windows.Forms.Label();
this.a39 = new System.Windows.Forms.Label();
this.a38 = new System.Windows.Forms.Label();
this.a37 = new System.Windows.Forms.Label();
this.a36 = new System.Windows.Forms.Label();
this.a35 = new System.Windows.Forms.Label();
this.a34 = new System.Windows.Forms.Label();
this.a33 = new System.Windows.Forms.Label();
this.a32 = new System.Windows.Forms.Label();
this.a31 = new System.Windows.Forms.Label();
this.a212 = new System.Windows.Forms.Label();
this.a211 = new System.Windows.Forms.Label();
this.a210 = new System.Windows.Forms.Label();
this.a29 = new System.Windows.Forms.Label();
this.a28 = new System.Windows.Forms.Label();
this.a27 = new System.Windows.Forms.Label();
this.a26 = new System.Windows.Forms.Label();
this.a25 = new System.Windows.Forms.Label();
this.a24 = new System.Windows.Forms.Label();
this.a23 = new System.Windows.Forms.Label();
this.a22 = new System.Windows.Forms.Label();
this.a21 = new System.Windows.Forms.Label();
this.a112 = new System.Windows.Forms.Label();
this.a111 = new System.Windows.Forms.Label();
this.a110 = new System.Windows.Forms.Label();
this.a19 = new System.Windows.Forms.Label();
this.a18 = new System.Windows.Forms.Label();
this.a17 = new System.Windows.Forms.Label();
this.a16 = new System.Windows.Forms.Label();
this.a15 = new System.Windows.Forms.Label();
this.a14 = new System.Windows.Forms.Label();
this.a13 = new System.Windows.Forms.Label();
this.a12 = new System.Windows.Forms.Label();
this.a11 = new System.Windows.Forms.Label();
this.btnLook = new System.Windows.Forms.Button();
this.btnResult = new System.Windows.Forms.Button();
this.lblTitle = new System.Windows.Forms.Label();
this.panel1.SuspendLayout();
this.SuspendLayout();
//
// panel1
//
this.panel1.BackColor = System.Drawing.SystemColors.ControlLightLight;
this.panel1.Controls.Add(this.lblTitle);
this.panel1.Controls.Add(this.a1212);
this.panel1.Controls.Add(this.a1211);
this.panel1.Controls.Add(this.a1210);
this.panel1.Controls.Add(this.a1209);
this.panel1.Controls.Add(this.a1208);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -