Click here to Skip to main content
15,894,955 members
Home / Discussions / C#
   

C#

 
GeneralRe: Multi-Column Listbox :: C# Pin
Joshua Nussbaum19-Nov-02 20:56
Joshua Nussbaum19-Nov-02 20:56 
GeneralRe: Multi-Column Listbox :: C# Pin
valikac20-Nov-02 12:07
valikac20-Nov-02 12:07 
GeneralRe: Multi-Column Listbox :: C# Pin
Joshua Nussbaum20-Nov-02 12:46
Joshua Nussbaum20-Nov-02 12:46 
GeneralRe: Multi-Column Listbox :: C# Pin
valikac20-Nov-02 15:10
valikac20-Nov-02 15:10 
GeneralRe: Multi-Column Listbox :: C# Pin
David Stone20-Nov-02 17:48
sitebuilderDavid Stone20-Nov-02 17:48 
GeneralRe: Multi-Column Listbox :: C# Pin
valikac20-Nov-02 17:51
valikac20-Nov-02 17:51 
GeneralRe: Multi-Column Listbox :: C# Pin
LongRange.Shooter21-Nov-02 9:56
LongRange.Shooter21-Nov-02 9:56 
GeneralRe: Multi-Column Listbox :: C# Pin
valikac21-Nov-02 9:59
valikac21-Nov-02 9:59 
GeneralRe: Multi-Column Listbox :: C# Pin
ian mariano20-Nov-02 3:05
ian mariano20-Nov-02 3:05 
Questioni have two threads and make a group of it? Pin
imran_rafique19-Nov-02 16:31
imran_rafique19-Nov-02 16:31 
AnswerRe: i have two threads and make a group of it? Pin
Joshua Nussbaum19-Nov-02 20:57
Joshua Nussbaum19-Nov-02 20:57 
Questionwhy use property in class? Pin
zhoujun19-Nov-02 14:40
zhoujun19-Nov-02 14:40 
AnswerRe: why use property in class? Pin
Christian Graus19-Nov-02 19:43
protectorChristian Graus19-Nov-02 19:43 
AnswerRe: why use property in class? Pin
ian mariano20-Nov-02 2:52
ian mariano20-Nov-02 2:52 
AnswerRe: why use property in class? Pin
LongRange.Shooter21-Nov-02 10:07
LongRange.Shooter21-Nov-02 10:07 
Questionhow to display bitmap in MDI form Pin
Linder Wang19-Nov-02 14:19
sussLinder Wang19-Nov-02 14:19 
I am a beginner of C#. Now I have a question about how to display bitmap files in MDI form window. Following are some code I wrote :

1. In the parent form :
m_bmp = (Bitmap)Bitmap.FromFile(openFileDialog.FileName);
Form2 frm = new Form2();
frm.MdiParent = this;
frm.SetBitmap(m_bmp);
frm.Show();


2. In the child form2 :
protected override void OnPaint (PaintEventArgs e)
{
Graphics g = e.Graphics;
g.DrawImage(m_bmp, new Point(100,100));
}

About the running result, for the first time, it can successfully display a bitmap image(i1.bmp) in a child form window. But if I open another bitmap(i2.bmp) in another child form window, the previous form window will also changed to display i2.bmp.

How to solve this problem? Please help me.
GeneralCollection editor problem Pin
dacris19-Nov-02 11:24
dacris19-Nov-02 11:24 
GeneralRe: Collection editor problem Pin
leppie19-Nov-02 11:36
leppie19-Nov-02 11:36 
GeneralRe: Collection editor problem Pin
dacris19-Nov-02 12:14
dacris19-Nov-02 12:14 
QuestionUnfocus a form when it's created? Pin
Bog19-Nov-02 8:53
Bog19-Nov-02 8:53 
AnswerRe: Unfocus a form when it's created? Pin
LongRange.Shooter19-Nov-02 11:13
LongRange.Shooter19-Nov-02 11:13 
AnswerRe: I don't understand your q very well, but.. Pin
Masaaki Onishi19-Nov-02 19:20
Masaaki Onishi19-Nov-02 19:20 
GeneralSplit string by string Pin
dezoe19-Nov-02 6:43
dezoe19-Nov-02 6:43 
GeneralRe: Split string by string Pin
leppie19-Nov-02 11:12
leppie19-Nov-02 11:12 
GeneralRe: Split string by string Pin
Eric Gunnerson (msft)19-Nov-02 11:25
Eric Gunnerson (msft)19-Nov-02 11:25 

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.