I'm working on a store management program, and i created a Windows Form for verifying login details of a user. Then in a seperate header file i created this function.
I'm getting these errors on textBox1 and textBox2.
a nonstatic member reference must be relative to a specific object
error C2227: left of '->Text' must point to class/struct/union/generic type