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

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