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

C#

 
GeneralRe: How to invoke function from a dll? [modified] Pin
Rick Shaub14-Jan-10 2:51
Rick Shaub14-Jan-10 2:51 
GeneralRe: How to invoke function from a dll? Pin
城市浪子19-Jan-10 17:53
城市浪子19-Jan-10 17:53 
AnswerRe: How to invoke function from a dll? Pin
April Fans12-Jan-10 16:47
April Fans12-Jan-10 16:47 
QuestionOpen folder with file selected Pin
Kim061811-Jan-10 18:20
Kim061811-Jan-10 18:20 
AnswerRe: Open folder with file selected Pin
Alan N12-Jan-10 2:22
Alan N12-Jan-10 2:22 
AnswerRe: Open folder with file selected Pin
carlecomm12-Jan-10 19:31
carlecomm12-Jan-10 19:31 
QuestionRefresh comboxbox in form1 after form2 is closed Pin
misCafe11-Jan-10 17:36
misCafe11-Jan-10 17:36 
AnswerRe: Refresh comboxbox in form1 after form2 is closed Pin
Kubajzz11-Jan-10 18:05
Kubajzz11-Jan-10 18:05 
You can paste your code directly behind the ShowDialog() row. If you call the ShowDialog() function, the main form will "sleep" until the dialog window is closed.

For example, if you call ShowDialog(), and on the next line you call Messagebox.Show(), the messagebox will be shown as soon as the dialog window is closed.

So your code might look like this:

C#
form2 frmitem = new form2();
frmitem.ShowDialog();

UpdateMyComboBox(); // this function will be called as soon as the dialog window is closed

GeneralRe: Refresh comboxbox in form1 after form2 is closed Pin
misCafe11-Jan-10 19:06
misCafe11-Jan-10 19:06 
GeneralRe: Refresh comboxbox in form1 after form2 is closed Pin
Kubajzz11-Jan-10 19:13
Kubajzz11-Jan-10 19:13 
GeneralRe: Refresh comboxbox in form1 after form2 is closed Pin
misCafe11-Jan-10 19:41
misCafe11-Jan-10 19:41 
GeneralRe: Refresh comboxbox in form1 after form2 is closed Pin
<<Tash18>>11-Jan-10 21:24
<<Tash18>>11-Jan-10 21:24 
GeneralRe: Refresh comboxbox in form1 after form2 is closed Pin
Rajeshwari Laxmanan30-Mar-10 21:34
Rajeshwari Laxmanan30-Mar-10 21:34 
QuestionFormBorderStyle problem Pin
roshihans11-Jan-10 17:21
roshihans11-Jan-10 17:21 
QuestionIcon Transparency When Working With PictureBox Control... Pin
Thomas Kemper11-Jan-10 13:20
Thomas Kemper11-Jan-10 13:20 
AnswerRe: Icon Transparency When Working With PictureBox Control... Pin
Tsuda Kageyu19-May-10 0:15
Tsuda Kageyu19-May-10 0:15 
QuestionByte Array Pin
o m n i11-Jan-10 12:36
o m n i11-Jan-10 12:36 
AnswerRe: Byte Array Pin
Luc Pattyn11-Jan-10 12:45
sitebuilderLuc Pattyn11-Jan-10 12:45 
AnswerRe: Byte Array Pin
DaveyM6911-Jan-10 14:01
professionalDaveyM6911-Jan-10 14:01 
AnswerRe: Byte Array Pin
Rick Shaub11-Jan-10 15:18
Rick Shaub11-Jan-10 15:18 
AnswerRe: Byte Array Pin
AspDotNetDev11-Jan-10 18:14
protectorAspDotNetDev11-Jan-10 18:14 
AnswerRe: Byte Array Pin
April Fans12-Jan-10 19:19
April Fans12-Jan-10 19:19 
QuestionC# Code To Start A Skype Call Pin
Kevin Marois11-Jan-10 12:28
professionalKevin Marois11-Jan-10 12:28 
AnswerRe: C# Code To Start A Skype Call Pin
Giorgi Dalakishvili11-Jan-10 19:17
mentorGiorgi Dalakishvili11-Jan-10 19:17 
QuestionHow this below code works Pin
indian14311-Jan-10 12:23
indian14311-Jan-10 12:23 

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.