Quantcast
Channel: C#nedir?com Forum
Viewing all articles
Browse latest Browse all 613

C# : c# kod ile form işlemleri

$
0
0
Author: telat
Subject: c# kod ile form işlemleri
Posted: 22 Ekim 2018 at 08:09

Originally posted by telat telat wrote:

iyi günler;
görsel stüdyosu 2017 de bir program üzerinde çalışıyorum ve   kitlendiği  bir nokta oldu. butona tıklandığında  yeni bir form oluşturmak istiyorum.bu olayı yeni form ekleyerek değil kod ile yapmam lazım yeni bir form ve resim kutusu, buton ve combobox oluşturmam lazım fakat kodları yazıyorum sadece form oluşuyor.; içine yerleştirmeyi düşündüğüm butonlar vs. oluşmuyor. yardımcı olur musunuz
kodlarım
private void button14_Click(object sender, EventArgs e)

        {
             Form x = new Form();
             x.Width = 1085;
             x.Height = 601;
            Button kamera = new Button();
            kamera.Width = 179;
            kamera.Height = 44;
            kamera.Location = new Point(821, 160);
            Button kaydet = new Button();
            kaydet.Width = 179;
            kaydet.Height = 44;
            kaydet.Location = new Point(821, 212);
            x.Show();
 }


Viewing all articles
Browse latest Browse all 613

Latest Images

Trending Articles



Latest Images