private void engine_Message(object sender, MigrationEventArgs e)
 {
     if (InvokeRequired)
     {
         progressDisplay.Invoke(new EventHandler<MigrationEventArgs>(engine_Message),
             sender,
             e);
     }
     else
     {
         progressDisplay.Items.Insert(0, e.Message);
     }
 }
Exemple #2
0
 private void engine_Message(object sender, MigrationEventArgs e)
 {
     if (InvokeRequired)
     {
         progressDisplay.Invoke(new EventHandler <MigrationEventArgs>(engine_Message),
                                sender,
                                e);
     }
     else
     {
         progressDisplay.Items.Insert(0, e.Message);
     }
 }