Click here to Skip to main content
15,890,336 members
Home / Discussions / C#
   

C#

 
GeneralRe: constructors in VisualC#.NET Pin
Pete O'Hanlon31-Mar-08 2:55
mvePete O'Hanlon31-Mar-08 2:55 
GeneralRe: constructors in VisualC#.NET Pin
carbon_golem31-Mar-08 2:21
carbon_golem31-Mar-08 2:21 
GeneralRe: constructors in VisualC#.NET Pin
Scott Dorman1-Apr-08 7:28
professionalScott Dorman1-Apr-08 7:28 
GeneralRe: constructors in VisualC#.NET Pin
Rajesh R Subramanian31-Mar-08 2:50
professionalRajesh R Subramanian31-Mar-08 2:50 
GeneralRe: constructors in VisualC#.NET Pin
Pete O'Hanlon31-Mar-08 2:57
mvePete O'Hanlon31-Mar-08 2:57 
GeneralRe: constructors in VisualC#.NET Pin
Kevin McFarlane31-Mar-08 2:56
Kevin McFarlane31-Mar-08 2:56 
GeneralNotification From Problem Pin
half-life31-Mar-08 1:11
half-life31-Mar-08 1:11 
GeneralRe: Notification From Problem Pin
Pete O'Hanlon31-Mar-08 1:41
mvePete O'Hanlon31-Mar-08 1:41 
If you get thrown into the catch block, you don't end up closing the fmrLoading form. Try rewriting this as:
using (frmLoading loading = new frmLoading())
{
  loading.Show();
  try
  {
    TA....
  }
  catch ( SomeAppropriateException here )
  {
    this.Close();
  }
  loading.Close();
}
As a general note, try wrapping your code blocks in pre instead of code tags and don't catch general exceptions without actually attempting to catch more specific exceptions before hand.


Deja View - the feeling that you've seen this post before.

My blog | My articles



GeneralRe: Notification From Problem Pin
half-life31-Mar-08 2:19
half-life31-Mar-08 2:19 
GeneralPicklist - How to display a picklist in a datagrid Pin
amdacc31-Mar-08 0:55
amdacc31-Mar-08 0:55 
GeneralRe: Picklist - How to display a picklist in a datagrid Pin
J4amieC31-Mar-08 1:00
J4amieC31-Mar-08 1:00 
GeneralRe: Picklist - How to display a picklist in a datagrid Pin
amdacc31-Mar-08 1:24
amdacc31-Mar-08 1:24 
GeneralRunning operation at shutdown Pin
__DanC__31-Mar-08 0:21
__DanC__31-Mar-08 0:21 
GeneralRe: Running operation at shutdown Pin
mav.northwind31-Mar-08 8:10
mav.northwind31-Mar-08 8:10 
GeneralRe: Running operation at shutdown Pin
__DanC__31-Mar-08 22:12
__DanC__31-Mar-08 22:12 
GeneralRe: Running operation at shutdown Pin
mav.northwind1-Apr-08 19:22
mav.northwind1-Apr-08 19:22 
GeneralQuery the active directory to get the user name for given login id Pin
rozhanin30-Mar-08 23:57
rozhanin30-Mar-08 23:57 
GeneralReportViewer Error: Subreport could not be shown Pin
Maddie from Dartford30-Mar-08 23:03
Maddie from Dartford30-Mar-08 23:03 
GeneralRe: ReportViewer Error: Subreport could not be shown Pin
carbon_golem31-Mar-08 2:43
carbon_golem31-Mar-08 2:43 
GeneralRe: ReportViewer Error: Subreport could not be shown Pin
Maddie from Dartford31-Mar-08 3:26
Maddie from Dartford31-Mar-08 3:26 
QuestionEvent without focus Pin
Member 353710930-Mar-08 22:56
Member 353710930-Mar-08 22:56 
GeneralRe: Event without focus Pin
Laddie30-Mar-08 23:33
Laddie30-Mar-08 23:33 
GeneralRe: Event without focus Pin
Member 353710930-Mar-08 23:41
Member 353710930-Mar-08 23:41 
GeneralRe: Event without focus Pin
Laddie30-Mar-08 23:45
Laddie30-Mar-08 23:45 
GeneralRe: Event without focus Pin
Member 353710931-Mar-08 0:11
Member 353710931-Mar-08 0:11 

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.