예제 #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            presenter = new MainPresenter(textBox1.Text, textBox2.Text);
            var con = presenter.ButtonConnection();

            label1.Text    = con.Item1;
            label3.Text    = presenter.ReturnDatabases();
            label3.Visible = con.Item2;
            label5.Text    = presenter.ReturnUserName();
            label5.Visible = con.Item3;

            Refresh();
        }