1234567891011121314151617181920212223242526272829303132333435363738 |
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- namespace Brovi07.session1
- {
- public partial class AuthSaleForm : Form
- {
- public AuthSaleForm()
- {
- InitializeComponent();
- }
- private void authButton_Click(object sender, EventArgs e)
- {
- if (passwordBox.Text == "0000")
- {
- saleTovar form = new saleTovar();
- form.Show();
- this.Close();
- }
- else
- {
- MessageBox.Show("Пароль введен неверно!");
- this.Close();
- AutorizationForm form = new AutorizationForm();
- form.Show();
- this.Close();
- }
- }
- }
- }
|