Click here to Skip to main content
15,885,767 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: New #dev available Pin
Erick Sgarbi24-Aug-03 5:47
Erick Sgarbi24-Aug-03 5:47 
GeneralRe: New #dev available Pin
leppie24-Aug-03 6:07
leppie24-Aug-03 6:07 
GeneralRe: New #dev available Pin
J. Dunlap24-Aug-03 9:25
J. Dunlap24-Aug-03 9:25 
GeneralRe: New #dev available Pin
leppie24-Aug-03 9:44
leppie24-Aug-03 9:44 
GeneralRe: New #dev available Pin
J. Dunlap24-Aug-03 10:03
J. Dunlap24-Aug-03 10:03 
GeneralRe: New #dev available Pin
leppie24-Aug-03 10:19
leppie24-Aug-03 10:19 
GeneralRe: New #dev available Pin
Erick Sgarbi24-Aug-03 13:00
Erick Sgarbi24-Aug-03 13:00 
GeneralRe: New #dev available Pin
leppie24-Aug-03 13:22
leppie24-Aug-03 13:22 
GeneralCleaNing the RegisTry Pin
sootienann24-Aug-03 3:50
sootienann24-Aug-03 3:50 
Generalhashtable simple question Pin
devvvy23-Aug-03 23:56
devvvy23-Aug-03 23:56 
GeneralRe: hashtable simple question Pin
leppie24-Aug-03 4:11
leppie24-Aug-03 4:11 
GeneralRe: hashtable simple question Pin
devvvy24-Aug-03 6:19
devvvy24-Aug-03 6:19 
GeneralRe: hashtable simple question Pin
leppie24-Aug-03 9:01
leppie24-Aug-03 9:01 

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.