Beispiel #1
0
        /// <summary>
        /// 初始化界面
        /// </summary>
        private void init()
        {
            connectionString = Config.WorkflowSource.ConnectionString;

            var con = ConfigParse.GetConn <OracleConnection>(connectionString);

            txtDataSource.Text = con.DataSource;
            txtUserId.Text     = Config.WorkflowSourceUser;
            txtPassword.Text   = Config.WorkflowSourcePassword;
        }
Beispiel #2
0
        private ConDbForm(ScriptForm parent)
        {
            this.parent = parent;
            InitializeComponent();

            OracleConnection con = ConfigParse.GetConn <OracleConnection>(Config.OracleSource.ConnectionString);

            txtDataSource.Text = con.DataSource;
            txtUserId.Text     = Config.OracleSourceUser;
            txtPassword.Text   = Config.OracleSourcePassword;
        }
Beispiel #3
0
        /// <summary>
        /// 初始化界面
        /// </summary>
        private void init()
        {
            connectionString = Config.Workflow.ConnectionString;

            var con = ConfigParse.GetConn <SqlConnection>(connectionString);

            txtDataSource.Text = con.DataSource;
            txtDbName.Text     = con.Database;
            txtUserId.Text     = Config.WorkflowUser;
            txtPassword.Text   = Config.WorkflowPassword;
        }
Beispiel #4
0
        /// <summary>
        /// 初始化界面
        /// </summary>
        private void init()
        {
            connectionString1 = Config.WorkflowObject.ConnectionString;
            connectionString2 = Config.WorkflowSource.ConnectionString;

            var con1 = ConfigParse.GetConn <OracleConnection>(connectionString1);
            var con2 = ConfigParse.GetConn <OracleConnection>(connectionString2);

            txtDataSource1.Text = con1.DataSource;
            txtUserId1.Text     = Config.WorkflowObjectUser;
            txtPassword1.Text   = Config.WorkflowObjectPassword;

            txtDataSource2.Text = con2.DataSource;
            txtUserId2.Text     = Config.WorkflowSourceUser;
            txtPassword2.Text   = Config.WorkflowSourcePassword;
        }