private void autentificare(object sender, EventArgs e)
        {
            this.vVizitator.Hide();
            VWelcome vWelcome = new VWelcome(model);

            vWelcome.Show();
        }
Ejemplo n.º 2
0
        private void backToLogin(object sender, EventArgs e)
        {
            this.vSignup.Hide();
            VWelcome vWelcome = new VWelcome(model);

            vWelcome.Show();
        }
Ejemplo n.º 3
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            //model
            ModelArtGallery model = new ModelArtGallery();
            //view
            VWelcome vWelcome = new VWelcome(model);
            //controller
            CWelcome cWelcome = vWelcome.GetCWelcome();

            //pass the view of the controller
            Application.Run(cWelcome.GetVWelcome());
        }
Ejemplo n.º 4
0
 public CWelcome(VWelcome vWelcome)
 {
     this.vWelcome = vWelcome;
     this.model    = vWelcome.GetModel();
     this.gestionareEvenimente();
 }
Ejemplo n.º 5
0
 public CWelcome()
 {
     this.vWelcome           = new VWelcome();
     this.persistUtilizatori = new PersistentaUtilizatori();
     this.gestionareEvenimente();
 }