The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Jul 2017 |
| Last Sign in: | 364 Weeks Ago, 2 Days Ago |
| Questions Answered: | 1850 |
| Tutorials Posted: | 1850 |
Graduate in Biology and Nutrition, MBA Finance
Florida State University
Aug-2000 - Jul-2007
Ass. Relationship Manager
Penn-Florida
Mar-2009 - Feb-2016
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace TakeHomeFinal
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
buttonShow.Enabled = false;
buttonLogin.Enabled = false;
textBox1.UseSystemPasswordChar = true;
}
private void textBox1_TextChanged(object sender, EventArgs e)
{
if (textBox1.Text != "")
buttonShow.Enabled = true;
else
buttonShow.Enabled = false;
if (textBox1.Text != "")
buttonLogin.Enabled = true;
else
buttonLogin.Enabled = false;
textBox1.MaxLength = 3;
}
private void buttonShow_Click(object sender, EventArgs e)
{
textBox2.Text = textBox1.Text;
}
private void buttonLogin_Click(object sender, EventArgs e)
{
if
(textBox1.Text = "123")
Â
textBox1.Enabled = false;
buttonShow.Enabled = false;
buttonLogin.Enabled = false;
else
textBox1.Clear();
(textBox2.Text = "Invalid password");
textBox1.Focus();
}
}
}
Â
Â
So this is how far I got and I'm getting to error message cannot convert string to bool. Hoping you could help me with this.
Hel-----------lo -----------Sir-----------/Ma-----------dam----------- Â----------- -----------Tha-----------nk -----------you----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------acq-----------uis-----------iti-----------on -----------of -----------my -----------pos-----------ted----------- so-----------lut-----------ion-----------.Pl-----------eas-----------e p-----------ing----------- me----------- on----------- ch-----------at -----------I a-----------m Â----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I