Click here to Skip to main content
15,891,629 members
Home / Discussions / C#
   

C#

 
GeneralRe: Object reference not set to an instance of an object. Pin
HJo25-Aug-03 20:30
HJo25-Aug-03 20:30 
QuestionHow to save/load stream(such as image) to/from database? Pin
xfqiu24-Aug-03 22:46
xfqiu24-Aug-03 22:46 
AnswerRe: How to save/load stream(such as image) to/from database? Pin
Mazdak25-Aug-03 3:03
Mazdak25-Aug-03 3:03 
GeneralRunning webpage Pin
deanoA24-Aug-03 22:14
deanoA24-Aug-03 22:14 
GeneralRe: Running webpage Pin
Mazdak25-Aug-03 4:56
Mazdak25-Aug-03 4:56 
GeneralAccessing Over A NETWORK Pin
deanoA24-Aug-03 20:40
deanoA24-Aug-03 20:40 
GeneralRe: Accessing Over A NETWORK Pin
Julian Bucknall [MSFT]26-Aug-03 7:06
Julian Bucknall [MSFT]26-Aug-03 7:06 
GeneralInheritance w/ 2 Main() methods in Visual Studio .NET C# Pin
Joe McBride24-Aug-03 15:48
Joe McBride24-Aug-03 15:48 
GeneralRe: Inheritance w/ 2 Main() methods in Visual Studio .NET C# Pin
Joe McBride24-Aug-03 18:45
Joe McBride24-Aug-03 18:45 
GeneralWindowsService Questions Pin
Mazdak24-Aug-03 10:49
Mazdak24-Aug-03 10:49 
GeneralRe: WindowsService Questions Pin
Corinna John28-Aug-03 1:39
Corinna John28-Aug-03 1:39 
GeneralRe: WindowsService Questions Pin
Mazdak28-Aug-03 8:02
Mazdak28-Aug-03 8:02 
GeneralRe: WindowsService Questions Pin
Corinna John29-Aug-03 1:46
Corinna John29-Aug-03 1:46 
GeneralRe: WindowsService Questions Pin
Mazdak29-Aug-03 2:40
Mazdak29-Aug-03 2:40 
GeneralRe: WindowsService Questions Pin
Corinna John29-Aug-03 9:50
Corinna John29-Aug-03 9:50 
Generalreading and writting excel format/or using ado.net Pin
djkno324-Aug-03 6:32
djkno324-Aug-03 6:32 
QuestionIs it possible to display a WinForm in a WebForm? Pin
Cristoff24-Aug-03 4:21
Cristoff24-Aug-03 4:21 
AnswerRe: Is it possible to display a WinForm in a WebForm? Pin
leppie24-Aug-03 5:22
leppie24-Aug-03 5:22 
GeneralRe: Is it possible to display a WinForm in a WebForm? Pin
Kannan Kalyanaraman25-Aug-03 0:33
Kannan Kalyanaraman25-Aug-03 0:33 
GeneralRe: Is it possible to display a WinForm in a WebForm? Pin
leppie25-Aug-03 7:03
leppie25-Aug-03 7:03 
GeneralDelete multiple instances of PictureBox Pin
Depesz24-Aug-03 4:09
Depesz24-Aug-03 4:09 
I have program like this:
private void pictureBox1_MouseDown(object sender,
System.Windows.Forms.MouseEventArgs e)
{
pictureBox2 = new PictureBox();
Bitmap img = (Bitmap)Bitmap.FromStream(this.GetType
().Assembly.GetManifestResourceStream("Program.kolko.bmp" ) );
this.Controls.AddRange(new System.Windows.Forms.Control[] {this.pictureBox2});
pictureBox2.Image = img;
pictureBox2.Location = new System.Drawing.Point(e.X, e.Y);
pictureBox2.Size = new System.Drawing.Size(28, 28);
pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
pictureBox2.TabIndex = 1;
pictureBox2.TabStop = false;
}
I want to add a button to my Form, that OnClick will delete all instances of PictureBox2 from Form (will clear my form from Pictureboxes). I don't know how do it.

GeneralRe: Delete multiple instances of PictureBox Pin
A.Wegierski24-Aug-03 19:57
A.Wegierski24-Aug-03 19:57 
GeneralRe: Delete multiple instances of PictureBox Pin
Depesz25-Aug-03 0:14
Depesz25-Aug-03 0:14 
GeneralNew #dev available Pin
leppie24-Aug-03 3:59
leppie24-Aug-03 3:59 
GeneralRe: New #dev available Pin
leppie24-Aug-03 5:20
leppie24-Aug-03 5:20 

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.