private void autentificare(object sender, EventArgs e) { this.vVizitator.Hide(); VWelcome vWelcome = new VWelcome(model); vWelcome.Show(); }
private void backToLogin(object sender, EventArgs e) { this.vSignup.Hide(); VWelcome vWelcome = new VWelcome(model); vWelcome.Show(); }
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()); }
public CWelcome(VWelcome vWelcome) { this.vWelcome = vWelcome; this.model = vWelcome.GetModel(); this.gestionareEvenimente(); }
public CWelcome() { this.vWelcome = new VWelcome(); this.persistUtilizatori = new PersistentaUtilizatori(); this.gestionareEvenimente(); }