📄 modifyresultinfo.pas
字号:
unit ModifyResultInfo;
interface
uses
System.Drawing, System.Collections, System.ComponentModel,
System.Windows.Forms, System.Data;
type
FrmModifyResultInfo = class(System.Windows.Forms.Form)
{$REGION 'Designer Managed Code'}
strict private
/// <summary>
/// Required designer variable.
/// </summary>
Components: System.ComponentModel.Container;
Label1: System.Windows.Forms.Label;
TxtTestDate: System.Windows.Forms.TextBox;
Label2: System.Windows.Forms.Label;
TxtStID: System.Windows.Forms.TextBox;
Label3: System.Windows.Forms.Label;
TxtCourseNo: System.Windows.Forms.TextBox;
Label4: System.Windows.Forms.Label;
TxtResult: System.Windows.Forms.TextBox;
GroupBox1: System.Windows.Forms.GroupBox;
GroupBox2: System.Windows.Forms.GroupBox;
BtFirst: System.Windows.Forms.Button;
BtPrev: System.Windows.Forms.Button;
BtNext: System.Windows.Forms.Button;
BtLast: System.Windows.Forms.Button;
BtModify: System.Windows.Forms.Button;
BtUpdate: System.Windows.Forms.Button;
BtCancel: System.Windows.Forms.Button;
BtDelete: System.Windows.Forms.Button;
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
procedure InitializeComponent;
{$ENDREGION}
strict protected
/// <summary>
/// Clean up any resources being used.
/// </summary>
procedure Dispose(Disposing: Boolean); override;
private
{ Private Declarations }
public
constructor Create;
end;
[assembly: RuntimeRequiredAttribute(TypeOf(FrmModifyResultInfo))]
implementation
{$REGION 'Windows Form Designer generated code'}
/// <summary>
/// Required method for Designer support -- do not modify
/// the contents of this method with the code editor.
/// </summary>
procedure FrmModifyResultInfo.InitializeComponent;
begin
Self.Label1 := System.Windows.Forms.Label.Create;
Self.TxtTestDate := System.Windows.Forms.TextBox.Create;
Self.Label2 := System.Windows.Forms.Label.Create;
Self.TxtStID := System.Windows.Forms.TextBox.Create;
Self.Label3 := System.Windows.Forms.Label.Create;
Self.TxtCourseNo := System.Windows.Forms.TextBox.Create;
Self.Label4 := System.Windows.Forms.Label.Create;
Self.TxtResult := System.Windows.Forms.TextBox.Create;
Self.GroupBox1 := System.Windows.Forms.GroupBox.Create;
Self.BtLast := System.Windows.Forms.Button.Create;
Self.BtNext := System.Windows.Forms.Button.Create;
Self.BtPrev := System.Windows.Forms.Button.Create;
Self.BtFirst := System.Windows.Forms.Button.Create;
Self.GroupBox2 := System.Windows.Forms.GroupBox.Create;
Self.BtDelete := System.Windows.Forms.Button.Create;
Self.BtCancel := System.Windows.Forms.Button.Create;
Self.BtUpdate := System.Windows.Forms.Button.Create;
Self.BtModify := System.Windows.Forms.Button.Create;
Self.GroupBox1.SuspendLayout;
Self.GroupBox2.SuspendLayout;
Self.SuspendLayout;
//
// Label1
//
Self.Label1.Location := System.Drawing.Point.Create(8, 8);
Self.Label1.Name := 'Label1';
Self.Label1.Size := System.Drawing.Size.Create(64, 23);
Self.Label1.TabIndex := 1;
Self.Label1.Text := '考试时间';
Self.Label1.TextAlign := System.Drawing.ContentAlignment.MiddleCenter;
//
// TxtTestDate
//
Self.TxtTestDate.Location := System.Drawing.Point.Create(72, 8);
Self.TxtTestDate.Name := 'TxtTestDate';
Self.TxtTestDate.TabIndex := 2;
Self.TxtTestDate.Text := '';
//
// Label2
//
Self.Label2.Location := System.Drawing.Point.Create(176, 8);
Self.Label2.Name := 'Label2';
Self.Label2.Size := System.Drawing.Size.Create(64, 23);
Self.Label2.TabIndex := 3;
Self.Label2.Text := '学号';
Self.Label2.TextAlign := System.Drawing.ContentAlignment.MiddleCenter;
//
// TxtStID
//
Self.TxtStID.Location := System.Drawing.Point.Create(240, 8);
Self.TxtStID.Name := 'TxtStID';
Self.TxtStID.TabIndex := 4;
Self.TxtStID.Text := '';
//
// Label3
//
Self.Label3.Location := System.Drawing.Point.Create(8, 40);
Self.Label3.Name := 'Label3';
Self.Label3.Size := System.Drawing.Size.Create(64, 23);
Self.Label3.TabIndex := 5;
Self.Label3.Text := '课程编号';
Self.Label3.TextAlign := System.Drawing.ContentAlignment.MiddleCenter;
//
// TxtCourseNo
//
Self.TxtCourseNo.Location := System.Drawing.Point.Create(72, 40);
Self.TxtCourseNo.Name := 'TxtCourseNo';
Self.TxtCourseNo.TabIndex := 6;
Self.TxtCourseNo.Text := '';
//
// Label4
//
Self.Label4.Location := System.Drawing.Point.Create(176, 40);
Self.Label4.Name := 'Label4';
Self.Label4.Size := System.Drawing.Size.Create(64, 23);
Self.Label4.TabIndex := 7;
Self.Label4.Text := '分数';
Self.Label4.TextAlign := System.Drawing.ContentAlignment.MiddleCenter;
//
// TxtResult
//
Self.TxtResult.Location := System.Drawing.Point.Create(240, 40);
Self.TxtResult.Name := 'TxtResult';
Self.TxtResult.TabIndex := 8;
Self.TxtResult.Text := '';
//
// GroupBox1
//
Self.GroupBox1.Controls.Add(Self.BtLast);
Self.GroupBox1.Controls.Add(Self.BtNext);
Self.GroupBox1.Controls.Add(Self.BtPrev);
Self.GroupBox1.Controls.Add(Self.BtFirst);
Self.GroupBox1.Location := System.Drawing.Point.Create(8, 72);
Self.GroupBox1.Name := 'GroupBox1';
Self.GroupBox1.Size := System.Drawing.Size.Create(344, 64);
Self.GroupBox1.TabIndex := 9;
Self.GroupBox1.TabStop := False;
Self.GroupBox1.Text := '查看成绩信息';
//
// BtLast
//
Self.BtLast.Location := System.Drawing.Point.Create(248, 32);
Self.BtLast.Name := 'BtLast';
Self.BtLast.TabIndex := 3;
Self.BtLast.Text := '最后一条';
//
// BtNext
//
Self.BtNext.Location := System.Drawing.Point.Create(168, 32);
Self.BtNext.Name := 'BtNext';
Self.BtNext.TabIndex := 2;
Self.BtNext.Text := '下一条';
//
// BtPrev
//
Self.BtPrev.Location := System.Drawing.Point.Create(88, 32);
Self.BtPrev.Name := 'BtPrev';
Self.BtPrev.TabIndex := 1;
Self.BtPrev.Text := '上一条';
//
// BtFirst
//
Self.BtFirst.Location := System.Drawing.Point.Create(8, 32);
Self.BtFirst.Name := 'BtFirst';
Self.BtFirst.TabIndex := 0;
Self.BtFirst.Text := '第一条';
//
// GroupBox2
//
Self.GroupBox2.Controls.Add(Self.BtDelete);
Self.GroupBox2.Controls.Add(Self.BtCancel);
Self.GroupBox2.Controls.Add(Self.BtUpdate);
Self.GroupBox2.Controls.Add(Self.BtModify);
Self.GroupBox2.Location := System.Drawing.Point.Create(8, 144);
Self.GroupBox2.Name := 'GroupBox2';
Self.GroupBox2.Size := System.Drawing.Size.Create(344, 64);
Self.GroupBox2.TabIndex := 10;
Self.GroupBox2.TabStop := False;
Self.GroupBox2.Text := '修改成绩信息';
//
// BtDelete
//
Self.BtDelete.Location := System.Drawing.Point.Create(248, 32);
Self.BtDelete.Name := 'BtDelete';
Self.BtDelete.TabIndex := 4;
Self.BtDelete.Text := '删除记录';
//
// BtCancel
//
Self.BtCancel.Location := System.Drawing.Point.Create(168, 32);
Self.BtCancel.Name := 'BtCancel';
Self.BtCancel.TabIndex := 3;
Self.BtCancel.Text := '取消修改';
//
// BtUpdate
//
Self.BtUpdate.Location := System.Drawing.Point.Create(88, 32);
Self.BtUpdate.Name := 'BtUpdate';
Self.BtUpdate.TabIndex := 2;
Self.BtUpdate.Text := '更新数据';
//
// BtModify
//
Self.BtModify.Location := System.Drawing.Point.Create(8, 32);
Self.BtModify.Name := 'BtModify';
Self.BtModify.TabIndex := 1;
Self.BtModify.Text := '修改记录';
//
// FrmModifyResultInfo
//
Self.AutoScaleBaseSize := System.Drawing.Size.Create(6, 14);
Self.ClientSize := System.Drawing.Size.Create(360, 222);
Self.Controls.Add(Self.GroupBox1);
Self.Controls.Add(Self.TxtResult);
Self.Controls.Add(Self.Label4);
Self.Controls.Add(Self.TxtCourseNo);
Self.Controls.Add(Self.Label3);
Self.Controls.Add(Self.TxtStID);
Self.Controls.Add(Self.Label2);
Self.Controls.Add(Self.TxtTestDate);
Self.Controls.Add(Self.Label1);
Self.Controls.Add(Self.GroupBox2);
Self.Name := 'FrmModifyResultInfo';
Self.Text := '修改成绩信息';
Self.GroupBox1.ResumeLayout(False);
Self.GroupBox2.ResumeLayout(False);
Self.ResumeLayout(False);
end;
{$ENDREGION}
procedure FrmModifyResultInfo.Dispose(Disposing: Boolean);
begin
if Disposing then
begin
if Components <> nil then
Components.Dispose();
end;
inherited Dispose(Disposing);
end;
constructor FrmModifyResultInfo.Create;
begin
inherited Create;
//
// Required for Windows Form Designer support
//
InitializeComponent;
//
// TODO: Add any constructor code after InitializeComponent call
//
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -