-
Notifications
You must be signed in to change notification settings - Fork 0
/
ProductivityCalculatorDialog.h
48 lines (36 loc) · 1.04 KB
/
ProductivityCalculatorDialog.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
#pragma once
#include "afxdialogex.h"
#include "FalconDlg.h"
// ProductivityCalculatorDialog dialog
class ProductivityCalculatorDialog : public CDialogEx
{
DECLARE_DYNAMIC(ProductivityCalculatorDialog)
public:
ProductivityCalculatorDialog(CFalconDlg* pParentDlg, CWnd* pParent = nullptr); // standard constructor
virtual ~ProductivityCalculatorDialog();
// Dialog Data
#ifdef AFX_DESIGN_TIME
enum { IDD = IDD_DIALOG_PRODUCTIVITY_CALCULATOR };
#endif
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
DECLARE_MESSAGE_MAP()
public:
//Local control variables
CStatic ProductivityScoreBox;
CEdit Weekly_Work_Hours_Box;
CEdit Number_Of_Course_Credits_Box;
CEdit Weekly_Extracurriculars_Box;
CFont scoreFont;
//Local value variables
CString WorkHours;
CString CourseCredits;
CString ExtracurricularHours;
int ProductivityScore;
//Transformation variables
CString strScore;
// Pointer to the parent dialog
CFalconDlg* m_pFalconDlg;
//Controller handlers
afx_msg void OnBnClickedButtonGenerateScore();
};