Example #1
0
 void view_FileOpen(object sender, FileOpenEventArgs e)
 {
     FileEditor.EditFile(e.Path);
 }
Example #2
0
        private void OnFileOpen(string path)
        {
            var args = new FileOpenEventArgs(path);

            var handler = FileOpen;
            if (handler != null)
            {
                handler(this, args);
            }
        }