public CAngajat(VAngajat vAngajat) { indecsiGrid = initializareIndecsi(); this.vAngajat = vAngajat; model = vAngajat.GetModelArtGallery(); gestionareEvenimente(); }
public CVizitator(VVizitator vVizitator) { indecsiGrid = initializareIndecsi(); this.vVizitator = vVizitator; this.model = vVizitator.GetModelArtGallery(); this.GestionareEvenimente(); }
public CAdministrator(VAdministrator vAdministrator) { indecsiGridPersoane = initializareIndecsiPersoane(); this.vAdministrator = vAdministrator; model = vAdministrator.GetModelArtGallery(); GestionareEvenimente(); }
public VSignup(ModelArtGallery model) { InitializeComponent(); this.model = model; cSignup = new CSignup(this); this.model.Attach(this); this.model.Attach(this.cSignup); updateLanguage(); }
public VWelcome(ModelArtGallery model) { InitializeComponent(); this.model = model; controller = new CWelcome(this); this.model.Attach(this); this.model.Attach(controller); updateLanguage(); }
public VVizitator(ModelArtGallery model) { InitializeComponent(); this.dataGridView1.AllowUserToAddRows = false; for (int i = 0; i < dataGridView1.ColumnCount; i++) { this.dataGridView1.Columns[i].ReadOnly = true; } this.model = model; cVizitator = new CVizitator(this); model.Attach(this); model.Attach(cVizitator); updateLanguage(); }
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 VAdministrator(ModelArtGallery model) { InitializeComponent(); this.dataGridViewOpere.AllowUserToAddRows = false; this.dataGridViewUseri.AllowUserToAddRows = false; for (int i = 0; i < dataGridViewOpere.ColumnCount; i++) { this.dataGridViewOpere.Columns[i].ReadOnly = true; } for (int i = 0; i < dataGridViewUseri.ColumnCount; i++) { this.dataGridViewUseri.Columns[i].ReadOnly = true; } this.model = model; cAdministrator = new CAdministrator(this); model.Attach(this); model.Attach(cAdministrator); updateLanguage(); }
public CWelcome(VWelcome vWelcome) { this.vWelcome = vWelcome; this.model = vWelcome.GetModel(); this.gestionareEvenimente(); }
public CSignup(VSignup vSignup) { this.vSignup = vSignup; this.model = vSignup.GetModelArtGallery(); this.gestionareEvenimente(); }