public void Load(UserCategoryes.UserSign userSign)
 {
     Bitmap image;
     using (MemoryStream stream = new MemoryStream(userSign.SignImage))
     {
         image = new Bitmap(stream);
     }
     pictureBox1.Image = image;
 }
        private void UserForm_Load(object sender, EventArgs e)
        {
            UserQuestions = new UserQuestions(_baseWorker);
            UserCategoryes = new UserCategoryes(_baseWorker);

            foreach (UserQuestions.UserQuestion userQuestion in UserQuestions.userQuestions)
            {
                questionsComboBox.Items.Add(userQuestion);
            }
            if (questionsComboBox.Items.Count > 1)
            {
                questionsComboBox.SelectedIndex = 0;
            }
            button2.Enabled = false;
            MaxClass = 0;
            SelectState = 1;
            SetState();
        }