Exemple #1
0
        /// <summary>
        /// Sposta la selezione sul titolo dell'UP scelta e ritorna la sua sigla.
        /// </summary>
        /// <returns>Restituisce la sigla dell'UP scelta.</returns>
        public new object ShowDialog()
        {
            base.ShowDialog();

            if (comboUP.SelectedIndex != -1)
            {
                //non mi serve il nome del foglio perché lavoro direttamente con la siglaEntita
                DefinedNames n       = new DefinedNames("", DefinedNames.InitType.GOTOs);
                string       address = n.GetGotoFromSiglaEntita(comboUP.SelectedValue);
                Handler.Goto(address);
            }

            return(comboUP.SelectedValue);
        }