Exemple #1
0
        // Работа с телефонами

        private void buttonConnectPhone_Click(object sender, EventArgs e)
        {
            DatabaseWorks database = new DatabaseWorks(Credentials);

            listBoxMainLog.Items.Add(database.PhoneRegionConnect(GetDirCode("Db_Region", comboBoxPhoneRegion.Text, 1), GetDirCode("Db_Phones", comboBoxPhoneRegionPhone.Text, 2)));
            UpdatePhones();
            database.Dispose();
        }