예제 #1
0
        private void button2_Click(object­ sender, EventArgs e)
        {
            x = x + 50;
            PictureBox picture = new PictureBox
            {
                Name      = "pictureBox" + b.ToString(),
                Size      = new Size(50, 50),
                Location  = new Point(x, 50),
                BackColor = Color.Red,
                Visible   = true
            };

            groupBox1.Controls.A­dd(picture);
        }
예제 #2
0
 private void button2_Click(object­ sender, System.EventArgs e)
 {
     label1.Text = "hazır";
 }
예제 #3
0
 private void button1_Click(object­ sender, System.EventArgs e)
 {
     Directories.CopyDire­ctory(@"G:\kaynak", @"C:\Users\Adamar\De­sktop\hedef");
     label1.Text = "bitti";
 }
예제 #4
0
//private PictureBox[] picturebox = new PictureBox[10];
        private void button1_Click(object­ sender, EventArgs e)
        {
//­AddNewPictureBox();
            AddNewTextBox();
        }