Click here to Skip to main content
16,013,730 members
Home / Discussions / C#
   

C#

 
GeneralRe: Translating Win32API and their Structs problems Pin
yoaz14-Oct-04 8:41
yoaz14-Oct-04 8:41 
GeneralListView Add Data Pin
mfcuser13-Oct-04 10:06
mfcuser13-Oct-04 10:06 
GeneralRe: ListView Add Data Pin
Anonymous13-Oct-04 10:55
Anonymous13-Oct-04 10:55 
GeneralRe: ListView Add Data Pin
mfcuser13-Oct-04 11:28
mfcuser13-Oct-04 11:28 
GeneralRe: ListView Add Data Pin
mfcuser13-Oct-04 11:43
mfcuser13-Oct-04 11:43 
GeneralRe: ListView Add Data Pin
jagan7914-Oct-04 7:01
jagan7914-Oct-04 7:01 
GeneralRe: ListView Add Data Pin
mfcuser14-Oct-04 8:29
mfcuser14-Oct-04 8:29 
GeneralRe: ListView Add Data Pin
mfcuser14-Oct-04 8:32
mfcuser14-Oct-04 8:32 
However by removing the two lines, the rest of the code works fine. This is the one that works

<br />
private void button1_Click(object sender, System.EventArgs e)<br />
		{<br />
			double[] dData  = new double[200];<br />
			double[] dData2 = new double[200];<br />
			ListViewItem newItem = null;<br />
<br />
			for(int i=0;i<200;i++)<br />
			{<br />
				dData[i]  = Math.Sin(0.09*i);<br />
				dData2[i] = Math.Cos(0.1*i);<br />
				newItem= new ListViewItem(i.ToString());<br />
				newItem.SubItems.Add(dData[i].ToString());<br />
				newItem.SubItems.Add(dData2[i].ToString());<br />
				this.listView1.Items.Add(newItem);<br />
			}<br />
			waveformPlot1.PlotY(dData);<br />
			waveformPlot2.PlotY(dData2);<br />
		}<br />

GeneralRe: ListView Add Data Pin
jagan7914-Oct-04 12:39
jagan7914-Oct-04 12:39 
GeneralFileSharing violation. Pin
pat27088113-Oct-04 9:43
pat27088113-Oct-04 9:43 
GeneralOwner drawn combobox Pin
Roland F13-Oct-04 9:22
Roland F13-Oct-04 9:22 
GeneralGetting thumbnails of webpages Pin
yyylny13-Oct-04 9:09
yyylny13-Oct-04 9:09 
GeneralDirectX control library Pin
Mark Tutt13-Oct-04 8:42
Mark Tutt13-Oct-04 8:42 
GeneralRe: DirectX control library Pin
Steve Maier13-Oct-04 8:55
professionalSteve Maier13-Oct-04 8:55 
GeneralRe: DirectX control library Pin
Nick Parker13-Oct-04 8:55
protectorNick Parker13-Oct-04 8:55 
GeneralRe: DirectX control library Pin
Mark Tutt13-Oct-04 9:30
Mark Tutt13-Oct-04 9:30 
GeneralNeed help : AxMSComm control Pin
to_hshen13-Oct-04 7:06
to_hshen13-Oct-04 7:06 
Generaljust a thought Pin
yoaz14-Oct-04 6:49
yoaz14-Oct-04 6:49 
Generalobject needs an 'indexer' Pin
Tim Atkins13-Oct-04 7:03
Tim Atkins13-Oct-04 7:03 
GeneralRe: object needs an 'indexer' Pin
J4amieC13-Oct-04 7:55
J4amieC13-Oct-04 7:55 
GeneralRe: object needs an 'indexer' Pin
Tim Atkins13-Oct-04 8:03
Tim Atkins13-Oct-04 8:03 
GeneralRe: object needs an 'indexer' Pin
J4amieC13-Oct-04 9:21
J4amieC13-Oct-04 9:21 
GeneralGetting the file version of my running assembly Pin
Luis Alonso Ramos13-Oct-04 5:59
Luis Alonso Ramos13-Oct-04 5:59 
GeneralRe: Getting the file version of my running assembly Pin
leppie13-Oct-04 7:24
leppie13-Oct-04 7:24 
GeneralRe: Getting the file version of my running assembly Pin
Luis Alonso Ramos13-Oct-04 7:53
Luis Alonso Ramos13-Oct-04 7:53 

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.