基于Skyline的三维模型工程流程
基于Skyline的三维模型工程流程 详细的说明了skyline的三维建模的流程!
图书管理系统(C#) try { if (textBox1.Text.Trim() == " " || textBox2.Text.Trim() == " ") { MessageBox.Show("用户名和用户密码不能为空!", "登录失败", MessageBoxButtons.OK, MessageBoxIcon.Error); return; } SqlConnection conn = new SqlConnection(); conn.ConnectionString = "Server=.;DataBase=tushuguanlixitong;UID=sa;PWD=001;"; conn.Open(); string sql = "select count(*) from 管理员信息 where yonghuming='" +textBox1.Text.Trim() + "' and yonghumima='" + textBox2.Text.Trim() + "'"; SqlCommand cmd = new SqlCommand(); cmd.Connection = conn; cmd.CommandText = sql; int result = Convert.ToInt32(cmd.ExecuteScalar()); conn.Close(); if (result == 1) { guanliyuan a = new guanliyuan(); a.Show(); this.Hide(); } else { MessageBox.Show("用户名和密码错误!", "登录失败", MessageBoxButtons.OK, MessageBoxIcon.Error); return; } } catch (System.Exception aa) { MessageBox.Show(aa.Message); }