示例#1
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     Application.Run(new MainForm());
     DatabaseConn DatabaseObj = new DatabaseConn();
 }
示例#2
0
 public MainForm()
 {
     InitializeComponent();
     winmp  = new WindowsMediaPlayer();
     dbConn = new DatabaseConn();
     updateTable();
 }