Click here to Skip to main content
16,006,768 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: a beginer Pin
Christian Graus22-Aug-05 11:02
protectorChristian Graus22-Aug-05 11:02 
GeneralListView image problem Pin
Nick Z.19-Aug-05 16:20
Nick Z.19-Aug-05 16:20 
GeneralAxHost - asynchronous loading Pin
mankeyrabbit18-Aug-05 23:14
mankeyrabbit18-Aug-05 23:14 
GeneralPage range in PrintDialog not working Pin
BigSassy18-Aug-05 10:47
BigSassy18-Aug-05 10:47 
GeneralRe: Page range in PrintDialog not working Pin
Big Sassy20-Aug-05 6:16
Big Sassy20-Aug-05 6:16 
GeneralParsing url,filepath Pin
softty18-Aug-05 9:38
softty18-Aug-05 9:38 
GeneralAssembly.CreateInstance Problem Pin
khaasJ18-Aug-05 0:23
khaasJ18-Aug-05 0:23 
GeneralNumericUpDown DataBinding problem Pin
wout de zeeuw17-Aug-05 22:37
wout de zeeuw17-Aug-05 22:37 
I want to bind a NumericUpAndDown to an int property. But when I just bind the "Value" of the NumericUpAndDown then the property doesn't get updated when I type a value. When I just bind the "Text" of the NumericUpAndDown the property doesn't get updated when I push the up/down buttons. When I bind both it seems to work properly, but is this the right way to work with the NumericUpAndDown? Seems like slightly wierd behaviour by this control.

Here's the code for binding:

<br />
        private System.Windows.Forms.NumericUpDown numericUpDown1;<br />
        private System.Windows.Forms.Button button1;<br />
		/// <summary><br />
		/// Required designer variable.<br />
		/// </summary><br />
		private System.ComponentModel.Container components = null;<br />
        private int i;<br />
<br />
		public Form1()<br />
		{<br />
			//<br />
			// Required for Windows Form Designer support<br />
			//<br />
			InitializeComponent();<br />
<br />
            numericUpDown1.DataBindings.Add("Text", this, "I");<br />
            numericUpDown1.DataBindings.Add("Value", this, "I");<br />
        }<br />
<br />
        public int I {<br />
            get {<br />
                return i;<br />
            }<br />
            set {<br />
                i = value;<br />
            }<br />
        }<br />
<br />


Wout
QuestionGet list of machines in LAN? Pin
Jimmy Huynh17-Aug-05 16:48
Jimmy Huynh17-Aug-05 16:48 
AnswerRe: Get list of machines in LAN? Pin
dharbinj18-Aug-05 15:38
dharbinj18-Aug-05 15:38 
QuestionDataSet to IEnumerator? Pin
Carl Mercier17-Aug-05 8:21
Carl Mercier17-Aug-05 8:21 
AnswerRe: DataSet to IEnumerator? Pin
Christian Graus17-Aug-05 14:40
protectorChristian Graus17-Aug-05 14:40 
GeneralRe: DataSet to IEnumerator? Pin
Carl Mercier17-Aug-05 16:11
Carl Mercier17-Aug-05 16:11 
GeneralRe: DataSet to IEnumerator? Pin
Christian Graus17-Aug-05 16:37
protectorChristian Graus17-Aug-05 16:37 
GeneralRe: DataSet to IEnumerator? Pin
Carl Mercier18-Aug-05 1:52
Carl Mercier18-Aug-05 1:52 
GeneralRe: DataSet to IEnumerator? Pin
Christian Graus18-Aug-05 14:54
protectorChristian Graus18-Aug-05 14:54 
GeneralRe: DataSet to IEnumerator? Pin
Carl Mercier18-Aug-05 17:21
Carl Mercier18-Aug-05 17:21 
GeneralReleaseComObject() and Dispose pattern association Pin
DeepakSharma17-Aug-05 2:15
DeepakSharma17-Aug-05 2:15 
Generalsending auto response email messages Pin
woleraymond16-Aug-05 0:27
woleraymond16-Aug-05 0:27 
GeneralRe: sending auto response email messages Pin
S. Senthil Kumar16-Aug-05 0:40
S. Senthil Kumar16-Aug-05 0:40 
GeneralGet to desired unicode subrange! Pin
CoolAmir15-Aug-05 3:26
CoolAmir15-Aug-05 3:26 
GeneralRe: Get to desired unicode subrange! Pin
CoolAmir16-Aug-05 7:18
CoolAmir16-Aug-05 7:18 
GeneralCompact Framework 2.0 Problem: Application not in List Pin
twickl14-Aug-05 2:54
twickl14-Aug-05 2:54 
GeneralRichTextBox problems Pin
Jian13213-Aug-05 18:14
Jian13213-Aug-05 18:14 
GeneralImage from Website Pin
Peter Liddle12-Aug-05 9:24
Peter Liddle12-Aug-05 9:24 

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.