Inheritance: System.EventArgs
Exemple #1
0
 static void HandleFinishedFile(object sender, FilepathEventArgs e)
 {
     Console.WriteLine("Finished " + e.Filepath + '!');
 }
Exemple #2
0
 private void HandleStartingFile(object sender, FilepathEventArgs e)
 {
     SetListBoxSelectedItem(lstData, e.Filepath);
 }
Exemple #3
0
 static void HandleStartingFile(object sender, FilepathEventArgs e)
 {
     Console.WriteLine("Starting " + e.Filepath + "...");
 }
        protected virtual void OnStartingFile(FilepathEventArgs e)
        {
            EventHandler<FilepathEventArgs> handler = StartingFile;

            if(handler != null)
            {
                handler(this, e);
            }
        }
Exemple #5
0
 private void HandleFinishedFile(object sender, FilepathEventArgs e)
 {
     SetListBoxSelectedItem(lstData, null);
 }
 static void HandleStartingFile(object sender, FilepathEventArgs e)
 {
     Console.WriteLine("Starting " + e.Filepath + "...");
 }
        protected virtual void OnFinishedFile(FilepathEventArgs e)
        {
            EventHandler<FilepathEventArgs> handler = FinishedFile;

            if(handler != null)
            {
                handler(this, e);
            }
        }
 static void HandleFinishedFile(object sender, FilepathEventArgs e)
 {
     Console.WriteLine("Finished " + e.Filepath + '!');
 }
Exemple #9
0
 private void HandleFinishedFile(object sender, FilepathEventArgs e)
 {
     SetListBoxSelectedItem(lstData, null);
 }
Exemple #10
0
 private void HandleStartingFile(object sender, FilepathEventArgs e)
 {
     SetListBoxSelectedItem(lstData, e.Filepath);
 }
Exemple #11
0
 protected virtual void OnStartingFile(FilepathEventArgs e)
 {
     StartingFile?.Invoke(this, e);
 }
Exemple #12
0
 protected virtual void OnFinishedFile(FilepathEventArgs e)
 {
     FinishedFile?.Invoke(this, e);
 }