Пример #1
0
 private void pictureBox1_Click(object sender, EventArgs e)
 {
     Connection.Form1 form = new Connection.Form1( );
     form.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     form.ShowDialog( );
 }
Пример #2
0
 /// <summary>
 /// 连接数据库
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnConnConfig_Click(object sender, EventArgs e)
 {
     Connection.Form1 form = new Connection.Form1( );
     form.StartPosition = FormStartPosition.CenterScreen;
     form.ShowDialog( );
 }
Пример #3
0
 private void btnconnec_Click(object sender, EventArgs e)
 {
     Connection.Form1 form = new Connection.Form1( );
     form.MaximizeBox = true;
     form.ShowDialog( );
 }