Пример #1
0
        public override void LoadProperties()
        {
            if (ConnectionProperties.Contains("data source"))
            {
                fileTextBox.Text = ConnectionProperties["data source"] as string;
            }

            if (ConnectionProperties.Contains("password"))
            {
                passwordTextBox.Text = ConnectionProperties["password"] as string;
            }
        }
Пример #2
0
        public override void LoadProperties()
        {
            SQLiteOptions.SelectProviderName(providerComboBox);

            fileTextBox.Text     = String.Empty;
            passwordTextBox.Text = String.Empty;

            if (ConnectionProperties == null)
            {
                return;
            }

            if (ConnectionProperties.Contains("data source"))
            {
                fileTextBox.Text = ConnectionProperties["data source"] as string;
            }

            if (ConnectionProperties.Contains("password"))
            {
                passwordTextBox.Text = ConnectionProperties["password"] as string;
            }
        }