Exemple #1
0
        /// <summary>
        /// Event to open file, prompts dialog if not saved
        /// </summary>
        /// <param name="fileName"></param>
        private void HandleOpenFile(String fileName)
        {
            TextReader r = new StreamReader(fileName);

            window.OpenNew(r);
            r.Close();
        }
Exemple #2
0
 private void HandleNew()
 {
     window.OpenNew();
 }
 /// <summary>
 /// Handles request to open new window
 /// </summary>
 public void HandleNew()
 {
     window.OpenNew();
 }
 /// <summary>
 /// Handles a request to open a new window.
 /// </summary>
 private void HandleNew()
 {
     view.OpenNew();
 }
Exemple #5
0
 /// <summary>
 /// Handles a request to open a new spreadsheet.
 /// </summary>
 private void HandleNewSpreadsheet()
 {
     window.OpenNew();
 }