static void Main() { string strErr = ""; if (ReadIni.ReadAll(ref strErr) == false) { MessageBox.Show(strErr); } Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new frm_Main()); }