コード例 #1
0
 public void setView(Servicii_Menu_Item v)
 {
     this.View                            = v;
     View.BindGridServicii               += OnBindGridServicii;
     View.GridServiciiCellValueChanged   += OnGridServiciiCellValueChanged;
     View.StergeServiciuToolStripPressed += OnStergeServiciuToolStripPressed;
 }
コード例 #2
0
        private void OnServiciiMIRequested(object sender, EventArgs e)
        {
            Servicii_Menu_Item ServiciiView = new Servicii_Menu_Item();

            Home_ServiciiPageController.setView(ServiciiView);

            View.openChildForm(Home_ServiciiPageController.getView());
        }
コード例 #3
0
        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;
        }
コード例 #4
0
 public Servicii_Menu_ItemController(ref Service s)
 {
     this.Service = s;
     this.View    = null;
 }