Click here to Skip to main content
15,898,538 members
Home / Discussions / C#
   

C#

 
GeneralRe: Answer for this Questions Pin
Guffa22-Jan-08 21:21
Guffa22-Jan-08 21:21 
GeneralRe: Answer for this Questions Pin
darkelv23-Jan-08 0:56
darkelv23-Jan-08 0:56 
QuestionRegarding report generation Pin
tasumisra22-Jan-08 18:20
tasumisra22-Jan-08 18:20 
GeneralC# Airbrush Pin
electriac22-Jan-08 14:14
electriac22-Jan-08 14:14 
GeneralRe: C# Airbrush Pin
Skippums22-Jan-08 15:15
Skippums22-Jan-08 15:15 
GeneralRe: C# Airbrush Pin
Thomas Stockwell23-Jan-08 8:12
professionalThomas Stockwell23-Jan-08 8:12 
QuestionRefresh Data in another Form Pin
DotNetMan22-Jan-08 14:09
DotNetMan22-Jan-08 14:09 
GeneralRe: Refresh Data in another Form Pin
J$22-Jan-08 14:53
J$22-Jan-08 14:53 
A quick question. Is Form2 shown modally? If so, at the point the Form2 is closed (right after it is declared in whatever method Form1 instantiates it), that is where you can refresh your data.

If the above situation doesn't work for you, I would consider reworking the whole public method thing you tried. Perhaps you didn't pass reference of Form1 to Form2, instead, you passed reference to a regular System.Windows.Forms.Form.

Something like
public void OpenForm(Form myForm)
is NOT the same as
public void OpenForm(Form1 myForm)
because Form1 is the actual object that would have your method contained in it.

That is probably why you didn't see that method show up in your Intellisense list. (I don't know, I'm just taking a guess...)

Hope that helps.
GeneralRe: Refresh Data in another Form Pin
DotNetMan22-Jan-08 15:23
DotNetMan22-Jan-08 15:23 
GeneralRe: Refresh Data in another Form Pin
Nouman Bhatti22-Jan-08 20:51
Nouman Bhatti22-Jan-08 20:51 
GeneralChange cursor (Cursors.Cross) in C# Pin
AlexB4722-Jan-08 13:54
AlexB4722-Jan-08 13:54 
GeneralRe: Change cursor (Cursors.Cross) in C# Pin
Paul Conrad22-Jan-08 14:06
professionalPaul Conrad22-Jan-08 14:06 
GeneralRe: Change cursor (Cursors.Cross) in C# Pin
Luc Pattyn22-Jan-08 14:30
sitebuilderLuc Pattyn22-Jan-08 14:30 
GeneralRe: Change cursor (Cursors.Cross) in C# Pin
AlexB4722-Jan-08 15:00
AlexB4722-Jan-08 15:00 
Generalhelp implementing an interface's methods Pin
jasondemont22-Jan-08 13:16
jasondemont22-Jan-08 13:16 
GeneralRe: help implementing an interface's methods Pin
Luc Pattyn22-Jan-08 14:35
sitebuilderLuc Pattyn22-Jan-08 14:35 
GeneralRe: help implementing an interface's methods Pin
jasondemont22-Jan-08 15:10
jasondemont22-Jan-08 15:10 
GeneralRe: help implementing an interface's methods Pin
Luc Pattyn22-Jan-08 15:47
sitebuilderLuc Pattyn22-Jan-08 15:47 
GeneralRe: help implementing an interface's methods [modified] Pin
Clive D. Pottinger23-Jan-08 5:14
Clive D. Pottinger23-Jan-08 5:14 
GeneralRe: help implementing an interface's methods Pin
jasondemont24-Jan-08 12:19
jasondemont24-Jan-08 12:19 
GeneralRe: help implementing an interface's methods Pin
Clive D. Pottinger25-Jan-08 8:46
Clive D. Pottinger25-Jan-08 8:46 
GeneralRe: help implementing an interface's methods Pin
jasondemont25-Jan-08 13:37
jasondemont25-Jan-08 13:37 
GeneralRe: help implementing an interface's methods Pin
jasondemont26-Jan-08 3:57
jasondemont26-Jan-08 3:57 
Generalsaving file problem Pin
AliNajjar22-Jan-08 12:57
AliNajjar22-Jan-08 12:57 
GeneralRe: saving file problem Pin
Paul Conrad22-Jan-08 14:07
professionalPaul Conrad22-Jan-08 14:07 

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.