Esempio n. 1
0
        public void CatalogConfig()
        {
            if (ConnectionsListBox.SelectedItem != null)
            {
                var ConnectionRow = (CMData.Schemas.XsdDataBase.TBL_ConnectionRow)((DataRowView)ConnectionsListBox.SelectedItem).Row;

                RefreshCatalog(ConnectionRow.id_Connection);

                var ConfigForm = new FormCatalogConfig(DataBaseDataSet);

                ConfigForm.ShowDialog();
            }
            else
            {
                MessageBox.Show(@"Debe seleccionar una conexión", Program.AssemblyTitle, MessageBoxButtons.OK, MessageBoxIcon.Warning);
            }
        }
Esempio n. 2
0
        public void CatalogConfig()
        {
            if (ConnectionsListBox.SelectedItem != null)
            {
                var ConnectionRow = (CMData.Schemas.XsdDataBase.TBL_ConnectionRow)((DataRowView)ConnectionsListBox.SelectedItem).Row;

                RefreshCatalog(ConnectionRow.id_Connection);

                var ConfigForm = new FormCatalogConfig(DataBaseDataSet);

                ConfigForm.ShowDialog();
            }
            else
            {
                MessageBox.Show(@"Debe seleccionar una conexión", Program.AssemblyTitle, MessageBoxButtons.OK, MessageBoxIcon.Warning);
            }
        }