Click here to Skip to main content
15,914,452 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to show out the photo from access database??? Pin
Guffa30-Dec-05 4:12
Guffa30-Dec-05 4:12 
QuestionPlace a form before show it Pin
Sasuko30-Dec-05 3:12
Sasuko30-Dec-05 3:12 
AnswerRe: Place a form before show it Pin
ika230-Dec-05 3:36
ika230-Dec-05 3:36 
AnswerRe: Place a form before show it Pin
Darryl Borden30-Dec-05 5:24
Darryl Borden30-Dec-05 5:24 
Questionhow to override the button draw event? Pin
Sasuko29-Dec-05 23:55
Sasuko29-Dec-05 23:55 
AnswerRe: how to override the button draw event? Pin
VPMahank30-Dec-05 4:06
VPMahank30-Dec-05 4:06 
QuestionForm return value and interface question Pin
john111333429-Dec-05 23:52
john111333429-Dec-05 23:52 
AnswerRe: Form return value and interface question Pin
Robert Rohde30-Dec-05 2:09
Robert Rohde30-Dec-05 2:09 
Hi,

1. There are several prossibilities.
a) Show the Form as you would normally with ShowDialog and add a property to it so the result can be retrieved afterwards. This is like the built in dialogs of .Net work.
b) Define your own ShowXY function in your form which internally calls ShowDialog on himself and returns the wanted result:
public MyObject ShowMyForm(){
   if (this.ShowDialog() == DialogResult.Ok)
      return _myResult;
   else
      return null;
}


2. There are several way to do this. One is:
if (Array.IndexOf(t.GetInterfaces(), typeof(IMyInterface)) >= 0)
   Console.WriteLine("Interface implemented");
else
   Console.WriteLine("Interface not implemented");

GeneralRe: Form return value and interface question Pin
john111333430-Dec-05 3:15
john111333430-Dec-05 3:15 
QuestionForms messaging Pin
navvara the infantryman29-Dec-05 23:45
navvara the infantryman29-Dec-05 23:45 
QuestionProblem with InstallUtil Pin
User 189529729-Dec-05 23:22
User 189529729-Dec-05 23:22 
QuestionWindows Forms Tab Control Pin
Aryadip29-Dec-05 22:55
Aryadip29-Dec-05 22:55 
AnswerRe: Windows Forms Tab Control Pin
Darryl Borden30-Dec-05 3:54
Darryl Borden30-Dec-05 3:54 
AnswerRe: Windows Forms Tab Control Pin
Curtis Schlak.30-Dec-05 4:46
Curtis Schlak.30-Dec-05 4:46 
QuestionProblem with SQL Sentence !!!!! Pin
coloso29-Dec-05 22:52
coloso29-Dec-05 22:52 
AnswerRe: Problem with SQL Sentence !!!!! Pin
PrakashBhaskar29-Dec-05 23:11
PrakashBhaskar29-Dec-05 23:11 
GeneralRe: Problem with SQL Sentence !!!!! Pin
coloso29-Dec-05 23:27
coloso29-Dec-05 23:27 
AnswerRe: Problem with SQL Sentence !!!!! Pin
leppie29-Dec-05 23:25
leppie29-Dec-05 23:25 
GeneralRe: Problem with SQL Sentence !!!!! Pin
PrakashBhaskar29-Dec-05 23:48
PrakashBhaskar29-Dec-05 23:48 
GeneralRe: Problem with SQL Sentence !!!!! Pin
leppie30-Dec-05 0:03
leppie30-Dec-05 0:03 
AnswerRe: Problem with SQL Sentence !!!!! Pin
J4amieC30-Dec-05 0:27
J4amieC30-Dec-05 0:27 
AnswerRe: Problem with SQL Sentence !!!!! Pin
Werdna30-Dec-05 7:02
Werdna30-Dec-05 7:02 
QuestionImages Pin
Timothy_198229-Dec-05 22:31
Timothy_198229-Dec-05 22:31 
AnswerRe: Images Pin
Darryl Borden30-Dec-05 3:31
Darryl Borden30-Dec-05 3:31 
GeneralRe: Images Pin
Timothy_198230-Dec-05 4:05
Timothy_198230-Dec-05 4:05 

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.