Beispiel #1
0
        public void Bind(IIerarchicalContainer container, IIerarchicalObject objectToBind, bool clearAll, bool viewOtherColumns)
        {
            _container = container;
            _object    = objectToBind;

            Bind(clearAll, viewOtherColumns);
        }
Beispiel #2
0
        private void ShowDoDetails(IIerarchicalContainer container)
        {
            try
            {
                ScritturePresenter presenter;
                if (container != null)
                {
                    if (container.SelectedNode == null)
                    {
                        return;
                    }
                    presenter = new ScritturePresenter(_view.ScrittureFormView, _sericeBilancio, container.SelectedNode.Tag.ToString());
                }
                else
                {
                    presenter = new ScritturePresenter(_view.ScrittureFormView, _sericeBilancio, "");
                }

                presenter.InitializeForm();

                presenter.StartDialog();

                RefreshInterface();
            }
            catch (Exception ex)
            {
                _view.GetSimpleMessageNotificator().Show(ex.Message, "Errore", MessageType.Error);
            }
        }
Beispiel #3
0
        public void Bind(IIerarchicalContainer container, IIerarchicalObject objectToBind, bool clearAll)
        {
            _container = container;
            _object    = objectToBind;

            Bind(clearAll, true);
        }
Beispiel #4
0
        private void ShowPreventivoDoDetails(IIerarchicalContainer container)
        {
            try
            {
                if (container.SelectedNode == null)
                {
                    return;
                }


                ImportoContoPresenter presenter = new ImportoContoPresenter(_view.ImportoFormView, _sericePreventivo, container.SelectedNode.Tag.ToString());


                presenter.InitializeForm();

                presenter.StartDialog();

                RefreshPreventivoInterface();
            }
            catch (Exception ex)
            {
                _view.GetSimpleMessageNotificator().Show(ex.Message, "Errore", MessageType.Error);
            }
        }