TAILIEUCHUNG - Giáo trình phân tích quy trình ứng dụng điều chế thiết bị bán dẫn chứa các mạch logic điện tử p7

Tham khảo tài liệu 'giáo trình phân tích quy trình ứng dụng điều chế thiết bị bán dẫn chứa các mạch logic điện tử p7', khoa học tự nhiên, vật lý phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | 67 if buf farmalloc size NULL OutMessage Error not enough heap space in save_screen . getch closegraph exit 1 else getimage x1 y x y1 buf OutMessage Click a drive name in the list setfillstyle SOLID_FILL WHITE bar x1 y x y1 setcolor BLACK rectangle x y x1 y1 setcolor LIGHTGRAY line x-1 y 1 x-1 y1-1 line x1 1 y1-1 x-1 y1-1 setcolor BLACK char Temp 3 for int i 0 i NumDisk i sprintf Temp c DiskName i outtextxy x1 10 y 10 i 14 Temp for i 0 i NumDisk i if DName DiskName i break setfillstyle SOLID_FILL BLUE bar X1 1 y 7 14 i x-1 y 7 14 14 i setcolor YELLOW sprintf Temp c DiskName i outtextxy x1 10 y 10 i 14 Temp LPEVENT LpEvent do ShowMouse delay 50 LpEvent GetEvent HideMouse if LpEvent- Msg 1 for i 0 i NumDisk i if LpEvent- Posx x1 1 LpEvent- Posx x-1 LpEvent- Posy y 7 i 14 LpEvent- Posy y 7 14 i 14 bar x1 1 y 7 14 i x-1 y 7 14 14 i DName DiskName i setdisk int DName-65 while LpEvent- Msg 1 putimage x1 y buf COPY_PUT farfree buf return LpEvent ----------------------------------------------------------- char FileType TEXTBOX b char s 15 68 b- Path b- OutTextBox b- GetS s return s VI. CLASS include include if defined LIST__ define __LIST__ class LIST private int l t r b int Color public void InitList int x1 int y1 int x2 int y2 int Color void Show int Press char s TEXTBOX Box unsigned attrib char DiskName char DName char ftype int GetList char s TEXTBOX Box unsigned attrib char DiskName char DName TEXTBOX Box2 char ftype int Left return l int Right return r int Top return t int Bottom return b endif VII. MODULE include include include include include include include include include include include ---------------------------------------------------------- void LIST InitList int x1 int y1 int x2 int y2 int col Color col l x1 t y1 r x2 b y2 ---------------------------------------------------------- void LIST Show setfillstyle SOLID_FILL .

TỪ KHÓA LIÊN QUAN
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.