-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdashboard_functionality.h
61 lines (60 loc) · 1.05 KB
/
dashboard_functionality.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#include <errno.h>
#include<stdio.h>
#include<windows.h>
#include <sys/stat.h>
#define gotoxy(x,y) printf("\033[%d;%dH", (x), (y))
//#include <sys/types.h>
//#include <dirent.h>
void case_1();
void case_2();
void case_3();
void case_4();
void case_5();
void case_6();
void case_8();
void change_Info();
void show_Files();
void dashboard_Function(){
start :
system("cls");
char ch,FN[20];
dashboard_Admin_GUI();
fflush(stdin);
show_Files();
gotoxy(24, 42);
ch = getch();
if(ch==27){
exit(0);
}
switch(ch)
{
case '1' :
case_1();
break;
case '2' :
case_2();
break;
case '3' :
case_3();
break;
case '4' :
case_4();
break;
case '5' :
case_5();
break;
case '6' :
case_6();
break;
case '7':
Help();
break;
case '8':
exit(0);
break;
default :
error_InputDashboard_GUI();
break;
}
goto start;
}