예제 #1
0
 public Form_account_info(ModelQAContainer _model, UserData _userInfo)
 {
     InitializeComponent();
     model    = _model;
     userData = _userInfo;
     //User Information
     textBoxName.Text = userData.NameUser.ToString();
     this.Text        = userData.LoginUser.ToString();
 }
예제 #2
0
        public Form_Main_User(ModelQAContainer _model, UserData _user)
        {
            InitializeComponent();
            model = _model;
            user  = _user;

            leftBorderBtn      = new Panel();
            leftBorderBtn.Size = new Size(7, 64);
            panelMenu.Controls.Add(leftBorderBtn);
        }
예제 #3
0
 public Form_Main_Admin(ModelQAContainer _model, UserData _admin)
 {
     InitializeComponent();
     model              = _model;
     admin              = _admin;
     this.Text          = admin.NameUser.ToString();
     leftBorderBtn      = new Panel();
     leftBorderBtn.Size = new Size(7, 64);
     panelMenu.Controls.Add(leftBorderBtn);
 }
예제 #4
0
 public FormSign()
 {
     InitializeComponent();
     model = new ModelQAContainer();
 }