Click here to Skip to main content
15,892,537 members
Home / Discussions / Windows Forms
   

Windows Forms

 
Questiondatagridview cell color Pin
jogisarge27-Aug-10 8:27
jogisarge27-Aug-10 8:27 
AnswerRe: datagridview cell color Pin
Dave Kreskowiak27-Aug-10 10:45
mveDave Kreskowiak27-Aug-10 10:45 
AnswerRe: datagridview cell color Pin
Eddy Vluggen30-Aug-10 9:09
professionalEddy Vluggen30-Aug-10 9:09 
AnswerRe: datagridview cell color Pin
All Time Programming2-Sep-10 22:41
All Time Programming2-Sep-10 22:41 
QuestionHow to find/copy image stored into ImageList controls Pin
Samarjeet Singh@india27-Aug-10 1:10
Samarjeet Singh@india27-Aug-10 1:10 
AnswerRe: How to find/copy image stored into ImageList controls Pin
Goutam Patra27-Aug-10 3:34
professionalGoutam Patra27-Aug-10 3:34 
GeneralRe: How to find/copy image stored into ImageList controls Pin
Samarjeet Singh@india27-Aug-10 4:57
Samarjeet Singh@india27-Aug-10 4:57 
QuestionPass value from One form to another Pin
.NetDeveloper0921-Aug-10 22:19
.NetDeveloper0921-Aug-10 22:19 
Hi i have a form1 with one textbox1 and button1 when i click the button another form2 loads which has one textbox1 and button one when i type alfanumeric values in the textbox of form2 and press the button1 of form2 it is not displaying the value in form1 textbox1.

I am using property approach.

My code is as:

Form One:
<pre>
Public Class Form1

Public _form2 As Form2 = New Form2

Private Sub btnList_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnList.Click
_form2.Show()

End Sub

Public WriteOnly Property _textBox() As String

Set(ByVal Value As String)

tbxVal.Text = Value

End Set

End Property

End Class
</pre>

Form Two
<pre>
Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click

Dim frm As Form1 = New Form1
Value = _textBox1
Me.Close()

End Sub

Public ReadOnly Property _textBox1() As String
Get
Return tbxValue1.Text
End Get
End Property

Private Sub Form2_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
Dim fm As Form1 = New Form1
fm.tbxVal.Text = Value
End Sub
</pre>
AnswerRe: Pass value from One form to another Pin
Abhinav S21-Aug-10 22:43
Abhinav S21-Aug-10 22:43 
GeneralRe: Pass value from One form to another Pin
.NetDeveloper0921-Aug-10 22:51
.NetDeveloper0921-Aug-10 22:51 
GeneralRe: Pass value from One form to another Pin
.NetDeveloper0922-Aug-10 2:01
.NetDeveloper0922-Aug-10 2:01 
GeneralRe: Pass value from One form to another Pin
johannesnestler26-Aug-10 3:33
johannesnestler26-Aug-10 3:33 
GeneralRe: Pass value from One form to another Pin
.NetDeveloper0926-Aug-10 9:59
.NetDeveloper0926-Aug-10 9:59 
GeneralRe: Pass value from One form to another Pin
Luc Pattyn26-Aug-10 10:45
sitebuilderLuc Pattyn26-Aug-10 10:45 
GeneralRe: Pass value from One form to another Pin
.NetDeveloper0927-Aug-10 2:00
.NetDeveloper0927-Aug-10 2:00 
AnswerRe: Pass value from One form to another Pin
Pete O'Hanlon26-Aug-10 4:21
mvePete O'Hanlon26-Aug-10 4:21 
QuestionBinding a controls enabled property to a static class property based on a separate threads state Pin
Mycroft Holmes19-Aug-10 17:05
professionalMycroft Holmes19-Aug-10 17:05 
AnswerRe: Binding a controls enabled property to a static class property based on a separate threads state Pin
Luc Pattyn19-Aug-10 18:01
sitebuilderLuc Pattyn19-Aug-10 18:01 
GeneralRe: Binding a controls enabled property to a static class property based on a separate threads state Pin
Mycroft Holmes19-Aug-10 19:41
professionalMycroft Holmes19-Aug-10 19:41 
GeneralRe: Binding a controls enabled property to a static class property based on a separate threads state Pin
Luc Pattyn20-Aug-10 1:31
sitebuilderLuc Pattyn20-Aug-10 1:31 
GeneralRe: Binding a controls enabled property to a static class property based on a separate threads state Pin
Mycroft Holmes20-Aug-10 3:24
professionalMycroft Holmes20-Aug-10 3:24 
Questionhow to make window form control scale with the form Pin
neodeaths17-Aug-10 0:08
neodeaths17-Aug-10 0:08 
AnswerRe: how to make window form control scale with the form Pin
Richard Blythe17-Aug-10 7:20
Richard Blythe17-Aug-10 7:20 
AnswerRe: how to make window form control scale with the form Pin
dan!sh 17-Aug-10 7:36
professional dan!sh 17-Aug-10 7:36 
AnswerRe: how to make window form control scale with the form Pin
johannesnestler26-Aug-10 3:44
johannesnestler26-Aug-10 3:44 

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.