Click here to Skip to main content
15,906,301 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: Calendar schedule control.... Pin
N a v a n e e t h17-Jun-08 3:44
N a v a n e e t h17-Jun-08 3:44 
GeneralRe: Calendar schedule control.... Pin
Christian Graus17-Jun-08 4:50
protectorChristian Graus17-Jun-08 4:50 
GeneralRe: Calendar schedule control.... Pin
darkelv17-Jun-08 5:25
darkelv17-Jun-08 5:25 
QuestionAssign event to a particular combo in a DataGridView Pin
Anoop Unnikrishnan16-Jun-08 20:10
Anoop Unnikrishnan16-Jun-08 20:10 
QuestionPlug in development for Outlook express/ Windows Mail in win32 c Pin
dolly16-Jun-08 19:28
dolly16-Jun-08 19:28 
AnswerRe: Plug in development for Outlook express/ Windows Mail in win32 c Pin
Christian Graus17-Jun-08 2:30
protectorChristian Graus17-Jun-08 2:30 
Questiondata binding across multiple forms Pin
wjprice16-Jun-08 7:01
wjprice16-Jun-08 7:01 
AnswerRe: data binding across multiple forms Pin
SomeGuyThatIsMe17-Jun-08 0:51
SomeGuyThatIsMe17-Jun-08 0:51 
you would have to instantiate(sp?) an instance of each form, with public controls(bad idea) then you could access the controls to databind them, and when you wanted to show that perticular form use the instance you already have to load it, not necessarily the best idea...another idea is to load a dataset with all of your data in different datatables(you probably already do this) and then pass the dataset to a public property on the form before you call form.show() so that when you call form.show and the form_Load event fires you can use the dataset you passed to load any data that form needs.

something like :

form frm = new form();
frm.DataSetProperty = dataSet;
frm.Show();

and in form_Load you just bind whatever controls you need based on the tables in the dataset, you could just pass dataTables, but it sounds like you need more than one table per form.

hope this helps.

Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.

GeneralRe: data binding across multiple forms Pin
wjprice17-Jun-08 1:48
wjprice17-Jun-08 1:48 
GeneralRe: data binding across multiple forms Pin
SomeGuyThatIsMe17-Jun-08 2:01
SomeGuyThatIsMe17-Jun-08 2:01 
GeneralRe: data binding across multiple forms Pin
wjprice17-Jun-08 3:16
wjprice17-Jun-08 3:16 
GeneralRe: data binding across multiple forms Pin
SomeGuyThatIsMe17-Jun-08 3:21
SomeGuyThatIsMe17-Jun-08 3:21 
QuestionDatetimePicker Control Time Format Pin
somagunasekaran16-Jun-08 2:04
somagunasekaran16-Jun-08 2:04 
AnswerRe: DatetimePicker Control Time Format Pin
Christian Graus16-Jun-08 2:37
protectorChristian Graus16-Jun-08 2:37 
GeneralRe: DatetimePicker Control Time Format Pin
led mike16-Jun-08 6:53
led mike16-Jun-08 6:53 
GeneralRe: DatetimePicker Control Time Format Pin
Christian Graus16-Jun-08 11:49
protectorChristian Graus16-Jun-08 11:49 
QuestionHow to set project path to a folder in windows application Pin
charanbura15-Jun-08 22:29
charanbura15-Jun-08 22:29 
AnswerRe: How to set project path to a folder in windows application Pin
Ashfield16-Jun-08 1:34
Ashfield16-Jun-08 1:34 
GeneralRe: How to set project path to a folder in windows application Pin
charanbura16-Jun-08 17:47
charanbura16-Jun-08 17:47 
QuestionWindows API double click Pin
Chris_McGrath15-Jun-08 16:22
Chris_McGrath15-Jun-08 16:22 
QuestionTreeview Control - Issue with [modified] Pin
Rome'14-Jun-08 21:40
Rome'14-Jun-08 21:40 
QuestionUse of CSS file in Windows form in C#.Net project [modified] Pin
Member 476460913-Jun-08 20:57
Member 476460913-Jun-08 20:57 
AnswerRe: Use of CSS file in Windows form in C#.Net project Pin
Ashfield15-Jun-08 22:14
Ashfield15-Jun-08 22:14 
QuestionVertical Title Windows Pin
EvgeniX13-Jun-08 17:08
EvgeniX13-Jun-08 17:08 
AnswerRe: Vertical Title Windows Pin
Kristian Sixhøj13-Jun-08 19:47
Kristian Sixhøj13-Jun-08 19:47 

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.