M
ma.giorgi
Hi Everybody!
I have the following problem:
from the application mainForm the user can do several operation
Some of them are password protected
(the password is a code that change everytime on the basis of a
reference code)
so when the user click on a menu in the main form, the passwordForm is
displayed
the user enter the password and click the OK button
now I have a function in the passwordForm that verify the inserted
password against the reference code
if it's correct I can continue to execute the code in the mainForm
else I stop, to perform this my form should return the result to
mainForm and then close...
I can't figure out how to proceed on this, I mean the logic, I don't
want to use the inputbox from vb.dll, only pure C#.
thanks in advance!
marco
I have the following problem:
from the application mainForm the user can do several operation
Some of them are password protected
(the password is a code that change everytime on the basis of a
reference code)
so when the user click on a menu in the main form, the passwordForm is
displayed
the user enter the password and click the OK button
now I have a function in the passwordForm that verify the inserted
password against the reference code
if it's correct I can continue to execute the code in the mainForm
else I stop, to perform this my form should return the result to
mainForm and then close...
I can't figure out how to proceed on this, I mean the logic, I don't
want to use the inputbox from vb.dll, only pure C#.
thanks in advance!
marco