Пример #1
0
        private void button6_Click(object sender, EventArgs e)
        {
            ChooseDataSourceForm cdf = new ChooseDataSourceForm();
            DialogResult         r   = cdf.ShowDialog();

            if (r != DialogResult.OK)
            {
                return;
            }
            cbcs.Items.Add(cdf.shortcut);

            SaveConnection(cdf.shortcut);

            dataSourceType = "database_connection";
        }
Пример #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            ChooseDataSourceForm cdf = new ChooseDataSourceForm();

            cdf.ShowDialog();
        }