Exemplo n.º 1
0
        private void button_LogOut_Click(object sender, EventArgs e)
        {
            AurhorizationModel aurhorization = new AurhorizationModel();

            aurhorization.LogOut();
            Close();
        }
Exemplo n.º 2
0
        private AurhorizationModel CreateLogModel()
        {
            AurhorizationModel model = new AurhorizationModel();

            model.Login    = Login_LogForm.Text;
            model.Password = Password_LogForm.Text;
            return(model);
        }
Exemplo n.º 3
0
        public void Authorization(AurhorizationModel model)
        {
            var singleton = Singleton.getInstance();

            singleton.ToSigleton(model.Login);
        }