Click here to Skip to main content
15,887,472 members
Home / Discussions / C#
   

C#

 
QuestionProbleme mouse event When hosting Win32 in WPF Pin
k_samsamsam_k23-Oct-07 4:04
k_samsamsam_k23-Oct-07 4:04 
AnswerRe: Probleme mouse event When hosting Win32 in WPF Pin
Fred Griggs15-Jun-08 0:50
Fred Griggs15-Jun-08 0:50 
Questionhow to access a ms access database in c# and use the fetched infos Pin
stephan_00723-Oct-07 3:33
stephan_00723-Oct-07 3:33 
AnswerRe: how to access a ms access database in c# and use the fetched infos Pin
pmarfleet23-Oct-07 4:03
pmarfleet23-Oct-07 4:03 
GeneralRe: how to access a ms access database in c# and use the fetched infos Pin
stephan_00723-Oct-07 4:21
stephan_00723-Oct-07 4:21 
GeneralRe: how to access a ms access database in c# and use the fetched infos Pin
pmarfleet23-Oct-07 4:54
pmarfleet23-Oct-07 4:54 
QuestionAccessing control of another form Pin
Rahul Babu23-Oct-07 2:46
Rahul Babu23-Oct-07 2:46 
AnswerRe: Accessing control of another form Pin
J4amieC23-Oct-07 3:01
J4amieC23-Oct-07 3:01 
2 options really.

1) Expose the whole control as a property of form 2.

on form2:
public TextBox TextBox
{
   get{ return this.textBox; }
}


then in form1:

Form2 form2 = new Form2();<br />
form2.TextBox.Text = "Hello World";



2) Expose just that functionality that you need, without exposing the whole control (this way is arguably preferable)

on form2:
public string SomeTextBoxInfo
{
   get{ return this.textBox.Text; }
   set{ this.textBox.Text = value
}


then in form1:

Form2 form2 = new Form2();<br />
form2.SomeTextBoxInfo = "Hello World";



AnswerRe: Accessing control of another form Pin
Martin#23-Oct-07 3:01
Martin#23-Oct-07 3:01 
QuestionInstallation: store Serial Number Pin
JoZ CaVaLLo23-Oct-07 2:08
JoZ CaVaLLo23-Oct-07 2:08 
AnswerRe: Installation: store Serial Number Pin
martin_hughes23-Oct-07 5:28
martin_hughes23-Oct-07 5:28 
GeneralRe: Installation: store Serial Number Pin
JoZ CaVaLLo23-Oct-07 5:41
JoZ CaVaLLo23-Oct-07 5:41 
QuestionConverting Image to Object Pin
sindhutiwari23-Oct-07 1:53
sindhutiwari23-Oct-07 1:53 
AnswerRe: Converting Image to Object Pin
Guffa23-Oct-07 1:56
Guffa23-Oct-07 1:56 
GeneralRe: Converting Image to Object Pin
sindhutiwari23-Oct-07 2:20
sindhutiwari23-Oct-07 2:20 
AnswerRe: Converting Image to Object Pin
Guffa23-Oct-07 3:01
Guffa23-Oct-07 3:01 
AnswerRe: Converting Image to Object Pin
Pete O'Hanlon23-Oct-07 2:03
mvePete O'Hanlon23-Oct-07 2:03 
GeneralRe: Converting Image to Object Pin
sindhutiwari23-Oct-07 2:19
sindhutiwari23-Oct-07 2:19 
GeneralRe: Converting Image to Object Pin
Pete O'Hanlon23-Oct-07 2:26
mvePete O'Hanlon23-Oct-07 2:26 
GeneralRe: Converting Image to Object Pin
sindhutiwari23-Oct-07 2:30
sindhutiwari23-Oct-07 2:30 
GeneralRe: Converting Image to Object Pin
Pete O'Hanlon23-Oct-07 2:34
mvePete O'Hanlon23-Oct-07 2:34 
GeneralRe: Converting Image to Object Pin
sindhutiwari23-Oct-07 2:50
sindhutiwari23-Oct-07 2:50 
QuestionOutlook add in is not loading in client machine Pin
pritesh_patel23-Oct-07 1:28
pritesh_patel23-Oct-07 1:28 
Questiontreeview nodes from sql server Pin
NewToAspDotNet23-Oct-07 0:34
NewToAspDotNet23-Oct-07 0:34 
AnswerRe: treeview nodes from sql server Pin
pmarfleet23-Oct-07 1:08
pmarfleet23-Oct-07 1:08 

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.