예제 #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();
        }
예제 #2
0
 private void HandleNew()
 {
     window.OpenNew();
 }
예제 #3
0
 /// <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();
 }
예제 #5
0
 /// <summary>
 /// Handles a request to open a new spreadsheet.
 /// </summary>
 private void HandleNewSpreadsheet()
 {
     window.OpenNew();
 }