コード例 #1
0
        private void button_LogOut_Click(object sender, EventArgs e)
        {
            AurhorizationModel aurhorization = new AurhorizationModel();

            aurhorization.LogOut();
            Close();
        }
コード例 #2
0
        private AurhorizationModel CreateLogModel()
        {
            AurhorizationModel model = new AurhorizationModel();

            model.Login    = Login_LogForm.Text;
            model.Password = Password_LogForm.Text;
            return(model);
        }
コード例 #3
0
        public void Authorization(AurhorizationModel model)
        {
            var singleton = Singleton.getInstance();

            singleton.ToSigleton(model.Login);
        }