Пример #1
0
 private void handleStartingFile(object sender, FilepathEventArgs e)
 {
     changeCurrentFile(e.Filepath);
 }
        protected virtual void onStartingFile(FilepathEventArgs e)
        {
            EventHandler<FilepathEventArgs> handler = StartingFile;

            if(handler != null)
            {
                handler(this, e);
            }
        }
Пример #3
0
 private void handleFinishedFile(object sender, FilepathEventArgs e)
 {
     changeCurrentFile(null);
 }
        protected virtual void onFinishedFile(FilepathEventArgs e)
        {
            EventHandler<FilepathEventArgs> handler = FinishedFile;

            if(handler != null)
            {
                handler(this, e);
            }
        }