static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); var context = SpreadsheetWindowContext.GetContext(); SpreadsheetWindowContext.GetContext().RunNew(); Application.Run(context); }
/// <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); }
/// <summary> /// Creates a new, independent spreadsheet window. /// </summary> public void OpenNew() { SpreadsheetWindowContext.GetContext().RunNew(); }