-
MERHABA
+
+
+
+
+
MERHABA
+
using System; using System.Drawing; using System.Windows.Forms; namespace YakindaWeb { public class Form1 : Form { private Label welcomeLabel; private Label infoLabel; private Button clickButton; public Form1() { // Form ayarları this.Text = "İçerik hazırlanıyor!"; this.Size = new Size(400, 250); this.StartPosition = FormStartPosition.CenterScreen; this.BackColor = Color.White; // Hoş geldin etiketi welcomeLabel = new Label(); welcomeLabel.Text = "Hoş geldin!"; welcomeLabel.Font = new Font("Segoe UI", 16, FontStyle.Bold); welcomeLabel.AutoSize = true; welcomeLabel.Location = new Point(140, 30); // Bilgilendirme etiketi infoLabel = new Label(); infoLabel.Text = "Çok Yakında."; infoLabel.Font = new Font("Segoe UI", 10); infoLabel.AutoSize = true; infoLabel.Location = new Point(100, 80); // Buton clickButton = new Button(); clickButton.Text = "Tıkla"; clickButton.Font = new Font("Segoe UI", 10); clickButton.Size = new Size(100, 35); clickButton.Location = new Point(150, 130); clickButton.BackColor = Color.FromArgb(0, 123, 255); clickButton.ForeColor = Color.White; clickButton.FlatStyle = FlatStyle.Flat; clickButton.Click += new EventHandler(Button_Click); // Elemanları forma ekle this.Controls.Add(welcomeLabel); this.Controls.Add(infoLabel); this.Controls.Add(clickButton); } private void Button_Click(object sender, EventArgs e) { MessageBox.Show("Teşekkürler!"); } [STAThread] static void Main() { Application.EnableVisualStyles(); Application.Run(new Form1()); } } }
+
+
+
+
+
+
+
+
orkunyarenoglu
+
+
+
+
+
+
+
+
+
+