Click here to Skip to main content
15,894,330 members
Home / Discussions / C#
   

C#

 
QuestionPDF to SharePoint documentlibrary Pin
dade20054-Apr-06 21:48
dade20054-Apr-06 21:48 
QuestionProblem in accessing values from IDataReader Pin
MudkiSekhon4-Apr-06 21:19
MudkiSekhon4-Apr-06 21:19 
AnswerRe: Problem in accessing values from IDataReader Pin
Vasudevan Deepak Kumar4-Apr-06 21:29
Vasudevan Deepak Kumar4-Apr-06 21:29 
AnswerRe: Problem in accessing values from IDataReader Pin
J4amieC4-Apr-06 21:42
J4amieC4-Apr-06 21:42 
QuestionHelp me on MDI Parent form please Pin
Bobby8874-Apr-06 21:07
Bobby8874-Apr-06 21:07 
QuestionSTOP form_load Pin
Cliffer4-Apr-06 21:06
Cliffer4-Apr-06 21:06 
AnswerRe: STOP form_load Pin
Ricardo Casquete4-Apr-06 21:44
Ricardo Casquete4-Apr-06 21:44 
AnswerRe: STOP form_load Pin
Nicholas Butler4-Apr-06 23:26
sitebuilderNicholas Butler4-Apr-06 23:26 
Hi
You don't say how you are showing the form.

If you are showing it using ShowDialog, you can just set the DialogResult property:

private void Form2_Load(object sender, System.EventArgs e)
{
    try
    {
        ...
    }
    catch
    {
        DialogResult = DialogResult.Abort;
    }
}



----------------------------
Be excellent to each other Smile | :)

EasiReports[^] My free reporting component for WinForms.
Questionclose popup after response.end() Pin
unosinu4-Apr-06 20:47
unosinu4-Apr-06 20:47 
AnswerRe: close popup after response.end() Pin
fenglinzh4-Apr-06 22:09
fenglinzh4-Apr-06 22:09 
QuestionGetting Keyboard Keystroke values Pin
Navaneeth.K.N4-Apr-06 20:46
Navaneeth.K.N4-Apr-06 20:46 
AnswerRe: Getting Keyboard Keystroke values Pin
alexey N5-Apr-06 22:55
alexey N5-Apr-06 22:55 
Questionhammaing code Pin
abdallahziad4-Apr-06 20:24
abdallahziad4-Apr-06 20:24 
QuestionLoading class objects from datasets Pin
moazzamahmed4-Apr-06 19:47
moazzamahmed4-Apr-06 19:47 
AnswerRe: Loading class objects from datasets Pin
Nicholas Butler4-Apr-06 21:06
sitebuilderNicholas Butler4-Apr-06 21:06 
GeneralRe: Loading class objects from datasets Pin
moazzamahmed5-Apr-06 5:55
moazzamahmed5-Apr-06 5:55 
Questionlocking rows in a multithreaded application Pin
Prashant Gadhave4-Apr-06 19:38
Prashant Gadhave4-Apr-06 19:38 
AnswerRe: locking rows in a multithreaded application Pin
Ricardo Casquete4-Apr-06 21:52
Ricardo Casquete4-Apr-06 21:52 
QuestionHow draw formatted text in cell DataGrid Pin
Piotr B.4-Apr-06 19:18
Piotr B.4-Apr-06 19:18 
AnswerRe: How draw formatted text in cell DataGrid Pin
Bobby8874-Apr-06 20:41
Bobby8874-Apr-06 20:41 
AnswerRe: How draw formatted text in cell DataGrid Pin
russellsoft4-Apr-06 20:59
russellsoft4-Apr-06 20:59 
QuestionPropertygrid help required. Pin
aliasjad4-Apr-06 19:09
aliasjad4-Apr-06 19:09 
AnswerRe: Propertygrid help required. Pin
Ricardo Casquete4-Apr-06 21:55
Ricardo Casquete4-Apr-06 21:55 
GeneralRe: Propertygrid help required. Pin
aliasjad5-Apr-06 21:13
aliasjad5-Apr-06 21:13 
GeneralRe: Propertygrid help required. Pin
Ricardo Casquete5-Apr-06 21:30
Ricardo Casquete5-Apr-06 21:30 

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.