GİRİŞ YAPAN KULLANICININ ADINI VE SOYADINI YAZDIRAN PROGRAM
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApp3
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        private void btnGiris_Click_1(object sender, EventArgs e)
        {
                MessageBox.Show("HOŞGELDİNİZ " + txtAd.Text + " " + txtSoyad.Text);
            if(txtAd.Text=="" && txtSoyad.Text=="")
            {
                MessageBox.Show("HATALI GİRİŞ YAPTINIZ");
            }
        }
    }
}
                                 ...
Yorumlar
Yorum Gönder