static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); SpreadsheetApplicationContext appContext = SpreadsheetApplicationContext.getAppContext(); appContext.RunForm(new SpreadsheetForm()); Application.Run(appContext); }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); // Start an application context and run one form inside it SpreadsheetApplicationContext appContext = SpreadsheetApplicationContext.getAppContext(); appContext.RunForm(new MainForm()); Application.Run(appContext); }