コード例 #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            var context = SpreadsheetWindowContext.GetContext();

            SpreadsheetWindowContext.GetContext().RunNew();
            Application.Run(context);
        }
コード例 #2
0
 /// <summary>
 /// Opens a file with the passed in filename.
 /// </summary>
 /// <param name="filename">The name of the file to be opened</param>
 public void OpenNew(string filename)
 {
     SpreadsheetWindowContext.GetContext().RunNew(filename);
 }
コード例 #3
0
 /// <summary>
 /// Creates a new, independent spreadsheet window.
 /// </summary>
 public void OpenNew()
 {
     SpreadsheetWindowContext.GetContext().RunNew();
 }