/// <summary> /// back button click /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnBack_Click(object sender, EventArgs e) { DBScreen DB = new DBScreen(); DB.Show(); this.Hide(); }
/// <summary> /// next button click /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnNext_Click(object sender, EventArgs e) { if (!is_validate()) { WCFData.UserName = txtUserName.Text.Trim(); WCFData.Password = txtPassword.Text.Trim(); DBScreen DBscreen = new DBScreen(); DBscreen.Show(); this.Hide(); } }