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

📄 modifyclassinfo.pas

📁 《Delphi 2005数据库系统开发与应用》源代码
💻 PAS
字号:
unit ModifyClassInfo;

interface

uses
  System.Drawing, System.Collections, System.ComponentModel,
  System.Windows.Forms, System.Data;

type
  FrmModifyClassInfo = 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;
    TxtClassNo: System.Windows.Forms.TextBox;
    Label2: System.Windows.Forms.Label;
    TxtGrade: System.Windows.Forms.TextBox;
    Label3: System.Windows.Forms.Label;
    TxtDirector: System.Windows.Forms.TextBox;
    Label4: System.Windows.Forms.Label;
    TxtClassRoom: 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(FrmModifyClassInfo))]

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 FrmModifyClassInfo.InitializeComponent;
begin
  Self.Label1 := System.Windows.Forms.Label.Create;
  Self.TxtClassNo := System.Windows.Forms.TextBox.Create;
  Self.Label2 := System.Windows.Forms.Label.Create;
  Self.TxtGrade := System.Windows.Forms.TextBox.Create;
  Self.Label3 := System.Windows.Forms.Label.Create;
  Self.TxtDirector := System.Windows.Forms.TextBox.Create;
  Self.Label4 := System.Windows.Forms.Label.Create;
  Self.TxtClassRoom := System.Windows.Forms.TextBox.Create;
  Self.GroupBox1 := System.Windows.Forms.GroupBox.Create;
  Self.BtNext := System.Windows.Forms.Button.Create;
  Self.BtPrev := System.Windows.Forms.Button.Create;
  Self.BtFirst := System.Windows.Forms.Button.Create;
  Self.BtLast := 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(0, 16);
  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;
  // 
  // TxtClassNo
  // 
  Self.TxtClassNo.Location := System.Drawing.Point.Create(64, 16);
  Self.TxtClassNo.Name := 'TxtClassNo';
  Self.TxtClassNo.TabIndex := 2;
  Self.TxtClassNo.Text := '';
  // 
  // Label2
  // 
  Self.Label2.Location := System.Drawing.Point.Create(168, 16);
  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;
  // 
  // TxtGrade
  // 
  Self.TxtGrade.Location := System.Drawing.Point.Create(224, 16);
  Self.TxtGrade.Name := 'TxtGrade';
  Self.TxtGrade.TabIndex := 4;
  Self.TxtGrade.Text := '';
  // 
  // Label3
  // 
  Self.Label3.Location := System.Drawing.Point.Create(0, 48);
  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;
  // 
  // TxtDirector
  // 
  Self.TxtDirector.Location := System.Drawing.Point.Create(64, 48);
  Self.TxtDirector.Name := 'TxtDirector';
  Self.TxtDirector.TabIndex := 6;
  Self.TxtDirector.Text := '';
  // 
  // Label4
  // 
  Self.Label4.Location := System.Drawing.Point.Create(168, 48);
  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;
  // 
  // TxtClassRoom
  // 
  Self.TxtClassRoom.Location := System.Drawing.Point.Create(224, 48);
  Self.TxtClassRoom.Name := 'TxtClassRoom';
  Self.TxtClassRoom.TabIndex := 8;
  Self.TxtClassRoom.Text := '';
  // 
  // GroupBox1
  // 
  Self.GroupBox1.Controls.Add(Self.BtNext);
  Self.GroupBox1.Controls.Add(Self.BtPrev);
  Self.GroupBox1.Controls.Add(Self.BtFirst);
  Self.GroupBox1.Controls.Add(Self.BtLast);
  Self.GroupBox1.Location := System.Drawing.Point.Create(8, 80);
  Self.GroupBox1.Name := 'GroupBox1';
  Self.GroupBox1.Size := System.Drawing.Size.Create(328, 64);
  Self.GroupBox1.TabIndex := 9;
  Self.GroupBox1.TabStop := False;
  Self.GroupBox1.Text := '查看班级信息';
  // 
  // BtNext
  // 
  Self.BtNext.Location := System.Drawing.Point.Create(168, 24);
  Self.BtNext.Name := 'BtNext';
  Self.BtNext.Size := System.Drawing.Size.Create(75, 24);
  Self.BtNext.TabIndex := 2;
  Self.BtNext.Text := '下一条';
  // 
  // BtPrev
  // 
  Self.BtPrev.Location := System.Drawing.Point.Create(88, 24);
  Self.BtPrev.Name := 'BtPrev';
  Self.BtPrev.Size := System.Drawing.Size.Create(75, 24);
  Self.BtPrev.TabIndex := 1;
  Self.BtPrev.Text := '上一条';
  // 
  // BtFirst
  // 
  Self.BtFirst.Location := System.Drawing.Point.Create(8, 24);
  Self.BtFirst.Name := 'BtFirst';
  Self.BtFirst.Size := System.Drawing.Size.Create(75, 24);
  Self.BtFirst.TabIndex := 0;
  Self.BtFirst.Text := '第一条';
  // 
  // BtLast
  // 
  Self.BtLast.Location := System.Drawing.Point.Create(248, 24);
  Self.BtLast.Name := 'BtLast';
  Self.BtLast.Size := System.Drawing.Size.Create(75, 24);
  Self.BtLast.TabIndex := 11;
  Self.BtLast.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, 152);
  Self.GroupBox2.Name := 'GroupBox2';
  Self.GroupBox2.Size := System.Drawing.Size.Create(328, 64);
  Self.GroupBox2.TabIndex := 10;
  Self.GroupBox2.TabStop := False;
  Self.GroupBox2.Text := '修改班级信息';
  // 
  // BtDelete
  // 
  Self.BtDelete.Location := System.Drawing.Point.Create(248, 24);
  Self.BtDelete.Name := 'BtDelete';
  Self.BtDelete.Size := System.Drawing.Size.Create(75, 24);
  Self.BtDelete.TabIndex := 4;
  Self.BtDelete.Text := '删除记录';
  // 
  // BtCancel
  // 
  Self.BtCancel.Location := System.Drawing.Point.Create(168, 24);
  Self.BtCancel.Name := 'BtCancel';
  Self.BtCancel.Size := System.Drawing.Size.Create(75, 24);
  Self.BtCancel.TabIndex := 3;
  Self.BtCancel.Text := '取消更改';
  // 
  // BtUpdate
  // 
  Self.BtUpdate.Location := System.Drawing.Point.Create(88, 24);
  Self.BtUpdate.Name := 'BtUpdate';
  Self.BtUpdate.Size := System.Drawing.Size.Create(75, 24);
  Self.BtUpdate.TabIndex := 2;
  Self.BtUpdate.Text := '更新数据';
  // 
  // BtModify
  // 
  Self.BtModify.Location := System.Drawing.Point.Create(8, 24);
  Self.BtModify.Name := 'BtModify';
  Self.BtModify.Size := System.Drawing.Size.Create(75, 24);
  Self.BtModify.TabIndex := 1;
  Self.BtModify.Text := '修改记录';
  // 
  // FrmModifyClassInfo
  // 
  Self.AutoScaleBaseSize := System.Drawing.Size.Create(6, 14);
  Self.ClientSize := System.Drawing.Size.Create(344, 222);
  Self.Controls.Add(Self.GroupBox1);
  Self.Controls.Add(Self.TxtClassRoom);
  Self.Controls.Add(Self.Label4);
  Self.Controls.Add(Self.TxtDirector);
  Self.Controls.Add(Self.Label3);
  Self.Controls.Add(Self.TxtGrade);
  Self.Controls.Add(Self.Label2);
  Self.Controls.Add(Self.TxtClassNo);
  Self.Controls.Add(Self.Label1);
  Self.Controls.Add(Self.GroupBox2);
  Self.Name := 'FrmModifyClassInfo';
  Self.Text := '修改班级信息';
  Self.GroupBox1.ResumeLayout(False);
  Self.GroupBox2.ResumeLayout(False);
  Self.ResumeLayout(False);
end;
{$ENDREGION}

procedure FrmModifyClassInfo.Dispose(Disposing: Boolean);
begin
  if Disposing then
  begin
    if Components <> nil then
      Components.Dispose();
  end;
  inherited Dispose(Disposing);
end;

constructor FrmModifyClassInfo.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 + -