示例#1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            SpreadsheetApplicationContext appContext = SpreadsheetApplicationContext.getAppContext();

            appContext.RunForm(new SpreadsheetForm());
            Application.Run(appContext);
        }
示例#2
0
        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);
        }