View on GitHub

Notes

reference notes

User interface

The UI is the connection between the user and the computer

Gooey User Interaction

Console vs. event-driven programming

Event Driven Programming

What is API

What is MFC

Advantage of MFC

When a user drag a button and place it on the window form, the code will be generated for the user automatically.

The look and feel of the button, the coordinate will be created by the system. The only thing that user need to write is code of what should the button does!

// button1
//
this->button1->Location = System::Drawing::Point(191, 31);
this->button1->Name = L"button1";
this->button1->Size = System::Drawing::Size(75, 23);
this->button1->TabIndex = 0;
this->button1->Text = L"+";
this->button1->UseVisualStyleBackColor = true;
this->button1->Click += gcnew System::EventHandler(this, &Form1::button1_Click);