Unit21.pas
资源名称:HIS.rar [点击查看]
上传用户:fjdqny
上传日期:2016-10-26
资源大小:6299k
文件大小:9k
源码类别:
Delphi控件源码
开发平台:
Delphi
- unit Unit21;
- interface
- uses
- Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
- Dialogs, Menus, ComCtrls, ExtCtrls, ToolWin, StdCtrls, ImgList, jpeg,
- SkinCaption, WinSkinData;
- type
- TForm21 = class(TForm)
- MainMenu1: TMainMenu;
- N1: TMenuItem;
- N2: TMenuItem;
- N3: TMenuItem;
- N4: TMenuItem;
- N5: TMenuItem;
- N6: TMenuItem;
- N7: TMenuItem;
- N8: TMenuItem;
- N9: TMenuItem;
- N10: TMenuItem;
- N11: TMenuItem;
- N12: TMenuItem;
- N13: TMenuItem;
- N14: TMenuItem;
- N15: TMenuItem;
- N16: TMenuItem;
- N17: TMenuItem;
- N18: TMenuItem;
- N19: TMenuItem;
- N20: TMenuItem;
- N21: TMenuItem;
- N22: TMenuItem;
- N23: TMenuItem;
- N24: TMenuItem;
- N25: TMenuItem;
- N27: TMenuItem;
- N28: TMenuItem;
- N29: TMenuItem;
- N30: TMenuItem;
- N31: TMenuItem;
- N32: TMenuItem;
- N33: TMenuItem;
- N34: TMenuItem;
- N35: TMenuItem;
- N36: TMenuItem;
- N37: TMenuItem;
- N38: TMenuItem;
- N39: TMenuItem;
- Timer1: TTimer;
- StatusBar1: TStatusBar;
- CoolBar1: TCoolBar;
- ToolBar1: TToolBar;
- ToolButton1: TToolButton;
- ToolButton2: TToolButton;
- ToolButton3: TToolButton;
- ToolButton4: TToolButton;
- ToolButton5: TToolButton;
- ToolButton6: TToolButton;
- Panel1: TPanel;
- Image1: TImage;
- Image2: TImage;
- Image3: TImage;
- Image4: TImage;
- Image5: TImage;
- Image6: TImage;
- Image7: TImage;
- Image8: TImage;
- Image9: TImage;
- Label1: TLabel;
- Image10: TImage;
- Image11: TImage;
- Image12: TImage;
- Image13: TImage;
- Image14: TImage;
- Image15: TImage;
- Image16: TImage;
- Image17: TImage;
- Label4: TLabel;
- Label5: TLabel;
- Label6: TLabel;
- Label7: TLabel;
- Label8: TLabel;
- Label9: TLabel;
- Label10: TLabel;
- Label2: TLabel;
- ImageList1: TImageList;
- Image18: TImage;
- SkinData1: TSkinData;
- SkinCaption1: TSkinCaption;
- N26: TMenuItem;
- procedure N8Click(Sender: TObject);
- procedure N9Click(Sender: TObject);
- procedure N10Click(Sender: TObject);
- procedure N11Click(Sender: TObject);
- procedure N12Click(Sender: TObject);
- procedure N13Click(Sender: TObject);
- procedure N14Click(Sender: TObject);
- procedure N15Click(Sender: TObject);
- procedure N16Click(Sender: TObject);
- procedure N17Click(Sender: TObject);
- procedure N27Click(Sender: TObject);
- procedure N28Click(Sender: TObject);
- procedure N29Click(Sender: TObject);
- procedure N22Click(Sender: TObject);
- procedure N30Click(Sender: TObject);
- procedure N31Click(Sender: TObject);
- procedure N32Click(Sender: TObject);
- procedure N33Click(Sender: TObject);
- procedure N34Click(Sender: TObject);
- procedure N37Click(Sender: TObject);
- procedure N38Click(Sender: TObject);
- procedure Timer1Timer(Sender: TObject);
- procedure N35Click(Sender: TObject);
- procedure N39Click(Sender: TObject);
- procedure Image2Click(Sender: TObject);
- procedure Image4Click(Sender: TObject);
- procedure Image8Click(Sender: TObject);
- procedure Image7Click(Sender: TObject);
- procedure Image9Click(Sender: TObject);
- procedure Image5Click(Sender: TObject);
- procedure Image6Click(Sender: TObject);
- procedure N18Click(Sender: TObject);
- procedure N19Click(Sender: TObject);
- procedure N36Click(Sender: TObject);
- procedure N20Click(Sender: TObject);
- procedure ToolButton1Click(Sender: TObject);
- procedure ToolButton2Click(Sender: TObject);
- procedure ToolButton3Click(Sender: TObject);
- procedure ToolButton5Click(Sender: TObject);
- procedure ToolButton6Click(Sender: TObject);
- procedure Image2MouseMove(Sender: TObject; Shift: TShiftState; X,
- Y: Integer);
- procedure Image4MouseMove(Sender: TObject; Shift: TShiftState; X,
- Y: Integer);
- procedure Image5MouseMove(Sender: TObject; Shift: TShiftState; X,
- Y: Integer);
- procedure Image6MouseMove(Sender: TObject; Shift: TShiftState; X,
- Y: Integer);
- procedure Image7MouseMove(Sender: TObject; Shift: TShiftState; X,
- Y: Integer);
- procedure Image8MouseMove(Sender: TObject; Shift: TShiftState; X,
- Y: Integer);
- procedure Image9MouseMove(Sender: TObject; Shift: TShiftState; X,
- Y: Integer);
- procedure N25Click(Sender: TObject);
- procedure N26Click(Sender: TObject);
- private
- { Private declarations }
- public
- { Public declarations }
- end;
- var
- Form21: TForm21;
- implementation
- uses Unit2, Unit3, Unit4, Unit5, Unit6, Unit7, Unit10, Unit11, Unit8,
- Unit9, Unit12, Unit13, Unit14, Unit15, Unit16, Unit17, Unit18, Unit19,
- Unit20,ShellApi, Unit22, Unit24, Unit25, Unit23, Unit26, Unit27;
- {$R *.dfm}
- procedure TForm21.N8Click(Sender: TObject);
- begin
- form2.show;
- end;
- procedure TForm21.N9Click(Sender: TObject);
- begin
- form3.show;
- end;
- procedure TForm21.N10Click(Sender: TObject);
- begin
- form4.show;
- end;
- procedure TForm21.N11Click(Sender: TObject);
- begin
- form5.show;
- end;
- procedure TForm21.N12Click(Sender: TObject);
- begin
- form6.show;
- end;
- procedure TForm21.N13Click(Sender: TObject);
- begin
- form7.show;
- end;
- procedure TForm21.N14Click(Sender: TObject);
- begin
- form10.show;
- end;
- procedure TForm21.N15Click(Sender: TObject);
- begin
- form11.show;
- end;
- procedure TForm21.N16Click(Sender: TObject);
- begin
- form8.show;
- end;
- procedure TForm21.N17Click(Sender: TObject);
- begin
- form9.show;
- end;
- procedure TForm21.N27Click(Sender: TObject);
- begin
- form12.show;
- end;
- procedure TForm21.N28Click(Sender: TObject);
- begin
- form13.show;
- end;
- procedure TForm21.N29Click(Sender: TObject);
- begin
- form14.show;
- end;
- procedure TForm21.N22Click(Sender: TObject);
- begin
- form15.show;
- end;
- procedure TForm21.N30Click(Sender: TObject);
- begin
- form16.show;
- end;
- procedure TForm21.N31Click(Sender: TObject);
- begin
- form17.show;
- end;
- procedure TForm21.N32Click(Sender: TObject);
- begin
- form18.show;
- end;
- procedure TForm21.N33Click(Sender: TObject);
- begin
- form19.show;
- end;
- procedure TForm21.N34Click(Sender: TObject);
- begin
- form20.show;
- end;
- procedure TForm21.N37Click(Sender: TObject);
- begin
- ShellExecute(0,'open','calc.exe',nil,nil,sw_show);
- end;
- procedure TForm21.N38Click(Sender: TObject);
- begin
- ShellExecute(0,'open','notepad.exe',nil,nil,sw_show);
- end;
- procedure TForm21.Timer1Timer(Sender: TObject);
- begin
- Statusbar1.Panels[2].Text := FormatDateTime(' yyyy年mm月dd日hh:nn:ss ',now);
- end;
- procedure TForm21.N35Click(Sender: TObject);
- begin
- form22.show;
- end;
- procedure TForm21.N39Click(Sender: TObject);
- begin
- if not panel1.Visible then
- panel1.Visible:=true
- else
- panel1.Visible:=false;
- end;
- procedure TForm21.Image2Click(Sender: TObject);
- begin
- form2.Show;
- end;
- procedure TForm21.Image4Click(Sender: TObject);
- begin
- form3.Show;
- end;
- procedure TForm21.Image8Click(Sender: TObject);
- begin
- form3.Show;
- end;
- procedure TForm21.Image7Click(Sender: TObject);
- begin
- form8.Show;
- end;
- procedure TForm21.Image9Click(Sender: TObject);
- begin
- form9.Show;
- end;
- procedure TForm21.Image5Click(Sender: TObject);
- begin
- form4.Show;
- end;
- procedure TForm21.Image6Click(Sender: TObject);
- begin
- form5.Show;
- end;
- procedure TForm21.N18Click(Sender: TObject);
- begin
- form24.show;
- end;
- procedure TForm21.N19Click(Sender: TObject);
- begin
- form25.show;
- end;
- procedure TForm21.N36Click(Sender: TObject);
- begin
- form23.show;
- end;
- procedure TForm21.N20Click(Sender: TObject);
- begin
- form26.show;
- end;
- procedure TForm21.ToolButton1Click(Sender: TObject);
- begin
- if not panel1.Visible then
- panel1.Visible:=true
- else
- panel1.Visible:=false;
- end;
- procedure TForm21.ToolButton2Click(Sender: TObject);
- begin
- ShellExecute(0,'open','calc.exe',nil,nil,sw_show);
- end;
- procedure TForm21.ToolButton3Click(Sender: TObject);
- begin
- ShellExecute(0,'open','notepad.exe',nil,nil,sw_show);
- end;
- procedure TForm21.ToolButton5Click(Sender: TObject);
- begin
- form23.show;
- end;
- procedure TForm21.ToolButton6Click(Sender: TObject);
- begin
- if application.MessageBox('您确实要退出系统吗?','退出',4)=6 then
- application.Terminate
- else
- exit;
- end;
- procedure TForm21.Image2MouseMove(Sender: TObject; Shift: TShiftState; X,
- Y: Integer);
- begin
- Image2.Cursor:=crHandpoint;
- end;
- procedure TForm21.Image4MouseMove(Sender: TObject; Shift: TShiftState; X,
- Y: Integer);
- begin
- Image4.Cursor:=crHandpoint;
- end;
- procedure TForm21.Image5MouseMove(Sender: TObject; Shift: TShiftState; X,
- Y: Integer);
- begin
- Image5.Cursor:=crHandpoint;
- end;
- procedure TForm21.Image6MouseMove(Sender: TObject; Shift: TShiftState; X,
- Y: Integer);
- begin
- Image6.Cursor:=crHandpoint;
- end;
- procedure TForm21.Image7MouseMove(Sender: TObject; Shift: TShiftState; X,
- Y: Integer);
- begin
- Image7.Cursor:=crHandpoint;
- end;
- procedure TForm21.Image8MouseMove(Sender: TObject; Shift: TShiftState; X,
- Y: Integer);
- begin
- Image8.Cursor:=crHandpoint;
- end;
- procedure TForm21.Image9MouseMove(Sender: TObject; Shift: TShiftState; X,
- Y: Integer);
- begin
- Image9.Cursor:=crHandpoint;
- end;
- procedure TForm21.N25Click(Sender: TObject);
- begin
- form27.show;
- end;
- procedure TForm21.N26Click(Sender: TObject);
- begin
- form3.Show;
- end;
- end.