Click here to Skip to main content
15,889,527 members
Home / Discussions / C#
   

C#

 
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 
QuestionVisual Studio 2008 Installation error Pin
arkiboys4-Sep-08 9:58
arkiboys4-Sep-08 9:58 
RantRe: Visual Studio 2008 Installation error Pin
Mbah Dhaim4-Sep-08 10:02
Mbah Dhaim4-Sep-08 10:02 
AnswerRe: Visual Studio 2008 Installation error Pin
#realJSOP4-Sep-08 10:31
mve#realJSOP4-Sep-08 10:31 
QuestionFormat of the initialization string does not conform to specification starting at index 0.???? Pin
Twyce4-Sep-08 8:08
Twyce4-Sep-08 8:08 
AnswerRe: Format of the initialization string does not conform to specification starting at index 0.???? Pin
leppie4-Sep-08 8:59
leppie4-Sep-08 8:59 
AnswerRe: Format of the initialization string does not conform to specification starting at index 0.???? Pin
Wendelius4-Sep-08 9:16
mentorWendelius4-Sep-08 9:16 
GeneralRe: Format of the initialization string does not conform to specification starting at index 0.???? Pin
Twyce4-Sep-08 9:35
Twyce4-Sep-08 9:35 
GeneralRe: Format of the initialization string does not conform to specification starting at index 0.???? Pin
Twyce4-Sep-08 9:42
Twyce4-Sep-08 9:42 
AnswerRe: Format of the initialization string does not conform to specification starting at index 0.???? Pin
Pete O'Hanlon4-Sep-08 9:46
mvePete O'Hanlon4-Sep-08 9:46 
GeneralRe: Format of the initialization string does not conform to specification starting at index 0.???? Pin
Twyce4-Sep-08 9:50
Twyce4-Sep-08 9:50 
GeneralRe: Format of the initialization string does not conform to specification starting at index 0.???? Pin
Pete O'Hanlon4-Sep-08 9:55
mvePete O'Hanlon4-Sep-08 9:55 
GeneralRe: Format of the initialization string does not conform to specification starting at index 0.???? Pin
Twyce4-Sep-08 10:51
Twyce4-Sep-08 10:51 
GeneralRe: Format of the initialization string does not conform to specification starting at index 0.???? Pin
Pete O'Hanlon4-Sep-08 11:01
mvePete O'Hanlon4-Sep-08 11:01 
GeneralRe: Format of the initialization string does not conform to specification starting at index 0.???? Pin
Twyce4-Sep-08 11:42
Twyce4-Sep-08 11:42 
GeneralRe: Format of the initialization string does not conform to specification starting at index 0.???? Pin
Wendelius6-Sep-08 9:18
mentorWendelius6-Sep-08 9:18 

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.