public void setView(Servicii_Menu_Item v) { this.View = v; View.BindGridServicii += OnBindGridServicii; View.GridServiciiCellValueChanged += OnGridServiciiCellValueChanged; View.StergeServiciuToolStripPressed += OnStergeServiciuToolStripPressed; }
private void OnServiciiMIRequested(object sender, EventArgs e) { Servicii_Menu_Item ServiciiView = new Servicii_Menu_Item(); Home_ServiciiPageController.setView(ServiciiView); View.openChildForm(Home_ServiciiPageController.getView()); }
public Servicii_Menu_ItemController(ref Service s, Servicii_Menu_Item v) { this.View = v; this.Service = s; View.BindGridServicii += OnBindGridServicii; View.GridServiciiCellValueChanged += OnGridServiciiCellValueChanged; View.StergeServiciuToolStripPressed += OnStergeServiciuToolStripPressed; }
public Servicii_Menu_ItemController(ref Service s) { this.Service = s; this.View = null; }