private void btLogOut_Click(object sender, EventArgs e) { Authorization_From authorizationFrom = new Authorization_From(); authorizationFrom.Show(); this.Visible = false; this.ShowInTaskbar = false; }
private void RegisterGuest() { try { Procedure_CLass procedureCLass = new Procedure_CLass(); ArrayList fieldValueList = new ArrayList() { tbName_Sotrudnika.Text, tbMidlle_Name_Sotrudnika.Text, tbLast_Name_Sotrudnika.Text, tbBirhady_Date_Sotrudnika.Text, tbDocument_Series.Text, tbDocument_Number.Text, tbSotrudnika_Login.Text, tbSotrudnika_Password.Text, 5 }; procedureCLass.procedure_Execution("Sotrudniki_insert", fieldValueList); Authorization_From authorizationFrom = new Authorization_From(); authorizationFrom.Show(); this.Visible = false; this.ShowInTaskbar = false; } catch { MessageBox.Show("Чето не так переписывай в программе insert!", "ИНЖПРОМТОРГ", MessageBoxButtons.OK, MessageBoxIcon.Warning); } }