Program
Void
clogin form :: onButton1()
Update
date(true);
If(m-txtuser=”cse”&&m_txtpass=”cse”);
{
Message
box(“welcome”
}
Else
{
Message
box(“invalid”);
Cdlogin::onok();
}
Void CLOGIN FORM Dig::onButton2()
{
CDRLOGS::oncancel();
}
Void
CArthematiclDlg::OnButton1()
{
Update
data (time);
Out
n1,n2,res;
N1=m_
frist;
N2=m_second;
Res=n1+n2;
M_result=res;
Update
data (false);
}
Void C
arthimatic 1 Dig:: on the button 2()
{
Update
data (time);
Out
n1,n2,res;
N1=m_
frist;
N2=m_second;
Res=n1-n2;
M_result=res;
Update
data (false);
}
Void C
arthimetic 1 Dig:: on the button 3()
{
Update
data (time);
Out
n1,n2,res;
N1=m_
frist;
N2=m_second;
Res=n1*n2;
M_result=res;
Update
data (false);
}
Void C arthimatic
1 Dig:: on the button 4()
{
Update
data (time);
Out
n1,n2,res;
N1=m_
frist;
N2=m_second;
Res=n1/n2;
M_result=res;
Update
data (false);
}
0 Comment "ARTHEMATIC OPARATION USING APPLICATION WIZARD USING VISUAL BASIC"
Post a Comment