Click here to Skip to main content
15,917,320 members
Home / Discussions / C#
   

C#

 
AnswerRe: Compare XML using c# Pin
blackjack21504-Sep-08 20:11
blackjack21504-Sep-08 20:11 
GeneralRe: Compare XML using c# Pin
mfmaneef4-Sep-08 20:20
mfmaneef4-Sep-08 20:20 
QuestionSearching for the presence of an item in a dataqueue. Pin
Angelinna4-Sep-08 19:12
Angelinna4-Sep-08 19:12 
QuestionSorting question Pin
MarkB7774-Sep-08 18:44
MarkB7774-Sep-08 18:44 
AnswerRe: Sorting question Pin
Guffa5-Sep-08 1:40
Guffa5-Sep-08 1:40 
GeneralRe: Sorting question Pin
MarkB7775-Sep-08 15:56
MarkB7775-Sep-08 15:56 
QuestionHow to get another DataTable from original DataTable? Pin
nhatvhm4-Sep-08 18:20
nhatvhm4-Sep-08 18:20 
AnswerRe: How to get another DataTable from original DataTable? Pin
AB77714-Sep-08 21:19
AB77714-Sep-08 21:19 
GeneralRe: How to get another DataTable from original DataTable? Pin
nhatvhm5-Sep-08 21:28
nhatvhm5-Sep-08 21:28 
AnswerRe: How to get another DataTable from original DataTable? Pin
Morven Huang4-Sep-08 21:30
Morven Huang4-Sep-08 21:30 
GeneralRe: How to get another DataTable from original DataTable? Pin
nhatvhm5-Sep-08 21:14
nhatvhm5-Sep-08 21:14 
AnswerRe: How to get another DataTable from original DataTable? Pin
nhatvhm5-Sep-08 21:47
nhatvhm5-Sep-08 21:47 
QuestionSystem.io.ports problem, how check inputs Pin
desperate_C4-Sep-08 13:52
desperate_C4-Sep-08 13:52 
Questionsearchable combobox? Pin
Jassim Rahma4-Sep-08 12:19
Jassim Rahma4-Sep-08 12:19 
AnswerRe: searchable combobox? Pin
Paul Conrad4-Sep-08 16:36
professionalPaul Conrad4-Sep-08 16:36 
GeneralRe: searchable combobox? Pin
Jassim Rahma5-Sep-08 2:28
Jassim Rahma5-Sep-08 2:28 
GeneralRe: searchable combobox? Pin
Paul Conrad5-Sep-08 4:53
professionalPaul Conrad5-Sep-08 4:53 
GeneralRe: searchable combobox? Pin
Jassim Rahma5-Sep-08 6:48
Jassim Rahma5-Sep-08 6:48 
QuestionrichTextBox and rtf problem Pin
panoskatws4-Sep-08 12:10
panoskatws4-Sep-08 12:10 
QuestionCan't remove the last row from datagridview Pin
NewToAspDotNet4-Sep-08 11:56
NewToAspDotNet4-Sep-08 11:56 
AnswerRe: Can't remove the last row from datagridview Pin
panoskatws4-Sep-08 12:16
panoskatws4-Sep-08 12:16 
GeneralRe: Can't remove the last row from datagridview Pin
NewToAspDotNet4-Sep-08 23:43
NewToAspDotNet4-Sep-08 23:43 
Questioni donot understand listview Pin
netJP12L4-Sep-08 11:17
netJP12L4-Sep-08 11:17 
On msdn it says about listview that, "In virtual mode, only the items required are created".
My questions is that who decides how many items are supposed to be displayed, is that the size of the listview. If so, then let's say if is set listview1.VirtualListSize=1000; and the listview size is listview1.Size=new Size(10,10); does it mean it loads only 1 ,2 ,3 or may be 4 items and the rest aren't loaded in memory.

Seondly, the image loaded sucessfully but it is blurred. it's not cleard at all
void listView1_DrawItem(object sender, DrawListViewItemEventArgs e)
{
Bitmap b = new Bitmap(120,60);
PictureBox p = new PictureBox();
p.SizeMode = PictureBoxSizeMode.StretchImage;
p.Image = Resource1.WinterImage;
p.DrawToBitmap(b,new Rectangle(0,0,120,60));
e.Graphics.DrawImage(b, e.Bounds);
}

If i add picturebox on a form loaded event like this, it's very clear

private void Form3_Load(object sender, EventArgs e)
{
PictureBox p = new PictureBox();
p.SizeMode = PictureBoxSizeMode.StretchImage;
p.Image = Resource1.WinterImage;
p.Location = new Point(300, 300);
Controls.Add(p);
}
AnswerRe: i donot understand listview Pin
Wendelius4-Sep-08 11:33
mentorWendelius4-Sep-08 11:33 
AnswerRe: i donot understand listview Pin
Daniel Grunwald4-Sep-08 12:42
Daniel Grunwald4-Sep-08 12:42 

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.