Click here to Skip to main content
15,558,795 members
Home / Discussions / C#
   

C#

 
GeneralRe: Here is a tough one - DataGrid throwing exception while repainting Pin
leppie25-Sep-02 8:45
leppie25-Sep-02 8:45 
GeneralRe: Here is a tough one - DataGrid throwing exception while repainting Pin
Luis Alonso Ramos25-Sep-02 10:05
Luis Alonso Ramos25-Sep-02 10:05 
GeneralRe: Here is a tough one - DataGrid throwing exception while repainting Pin
leppie25-Sep-02 10:20
leppie25-Sep-02 10:20 
GeneralRe: Here is a tough one - DataGrid throwing exception while repainting Pin
Luis Alonso Ramos26-Sep-02 6:31
Luis Alonso Ramos26-Sep-02 6:31 
GeneralOpenFileDialog slowing me down?! Pin
Zombies with Coffee, LLC25-Sep-02 7:41
professionalZombies with Coffee, LLC25-Sep-02 7:41 
GeneralRe: Slow function calls when no breakpoint set?! Pin
leppie25-Sep-02 8:03
leppie25-Sep-02 8:03 
GeneralRe: Slow function calls when no breakpoint set?! Pin
Zombies with Coffee, LLC25-Sep-02 9:14
professionalZombies with Coffee, LLC25-Sep-02 9:14 
GeneralRe: Slow function calls when no breakpoint set?! Pin
Zombies with Coffee, LLC25-Sep-02 9:34
professionalZombies with Coffee, LLC25-Sep-02 9:34 
Little more info...

It's OpenFileDialog causing the slowdown!!!?

private void menuItem7_Click_1(object sender, System.EventArgs e)
{
   OpenFileDialog pFileOpen = new OpenFileDialog( );

   pFileOpen.InitialDirectory = @"J:\Aware\SPECS\EFTS\6.2\Samples\10_subs";
   pFileOpen.Filter = "EFTS Files (*.eft)|*.eft|All files (*.*)|*.*";
   pFileOpen.FilterIndex = 1;

   if( pFileOpen.ShowDialog( ) != DialogResult.OK )
      return;

   EFTS.EftsFile pEftsFile = EftsVerification.LoadEftsFile( pFileOpen.FileName );
// EFTS.EftsFile pEftsFile = EftsVerification.LoadEftsFile( @"J:\Aware\Specs\EFTS\6.2\samples\10_subs\car3.eft" );

   Classification.Classify pDialog = new Classification.Classify( );
   pDialog.EftsFile = pEftsFile;
   pDialog.ShowDialog( this );
}

If I comment out the OpenFileDialog part of the code and give the LoadEftsFile the name of the file directly, then it loads normal and quick.

Seems that OpenFileDialog is doing some sort of 4 second clean up?!?
GeneralRe: Slow function calls when no breakpoint set?! Pin
Zombies with Coffee, LLC25-Sep-02 10:09
professionalZombies with Coffee, LLC25-Sep-02 10:09 
GeneralRe: Slow function calls when no breakpoint set?! Pin
leppie25-Sep-02 10:31
leppie25-Sep-02 10:31 
GeneralRe: Slow function calls when no breakpoint set?! Pin
Zombies with Coffee, LLC25-Sep-02 10:40
professionalZombies with Coffee, LLC25-Sep-02 10:40 
GeneralRe: Slow function calls when no breakpoint set?! Pin
Zombies with Coffee, LLC25-Sep-02 10:58
professionalZombies with Coffee, LLC25-Sep-02 10:58 
GeneralRe: Slow function calls when no breakpoint set?! Pin
leppie25-Sep-02 11:16
leppie25-Sep-02 11:16 
GeneralRe: Slow function calls when no breakpoint set?! Pin
Zombies with Coffee, LLC25-Sep-02 11:24
professionalZombies with Coffee, LLC25-Sep-02 11:24 
GeneralRe: Slow function calls when no breakpoint set?! Pin
Zombies with Coffee, LLC25-Sep-02 12:09
professionalZombies with Coffee, LLC25-Sep-02 12:09 
GeneralRe: Slow function calls when no breakpoint set?! Pin
leppie26-Sep-02 8:22
leppie26-Sep-02 8:22 
QuestionHow to accessing profile settings? Pin
CherezZaboro25-Sep-02 7:26
CherezZaboro25-Sep-02 7:26 
AnswerRe: How to accessing profile settings? Pin
Mazdak25-Sep-02 7:53
Mazdak25-Sep-02 7:53 
GeneralRe: How to accessing profile settings? Pin
CherezZaboro25-Sep-02 8:02
CherezZaboro25-Sep-02 8:02 
GeneralRe: How to accessing profile settings? Pin
Mazdak26-Sep-02 0:52
Mazdak26-Sep-02 0:52 
GeneralKeeping DataTable synchronized with DataGrid after row is deleted Pin
Doug Brower25-Sep-02 5:06
Doug Brower25-Sep-02 5:06 
GeneralRe: Keeping DataTable synchronized with DataGrid after row is deleted Pin
leppie25-Sep-02 6:24
leppie25-Sep-02 6:24 
GeneralRe: Keeping DataTable synchronized with DataGrid after row is deleted Pin
Doug Brower25-Sep-02 8:33
Doug Brower25-Sep-02 8:33 
GeneralGood books or reference for Multithread programming in C# Pin
D Shen25-Sep-02 4:30
D Shen25-Sep-02 4:30 
GeneralRe: Good books or reference for Multithread programming in C# Pin
leppie25-Sep-02 6:49
leppie25-Sep-02 6:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.