示例#1
0
        private void Form2_Load(object sender, EventArgs e)
        {
            //cTelefon tel1 = new cTelefon();
            //tel1.Marka = "aPPlE";
            //MessageBox.Show("Marka : " + tel1.Marka);

            cTelefon tel2 = new cTelefon("Samsung", "S8");
            //MessageBox.Show(tel2.Marka + ", " + tel2.Model);
            //MessageBox.Show(tel2.AramaYap("05375136356"));
        }
示例#2
0
        private void btnMesajGonder_Click(object sender, EventArgs e)
        {
            cTelefon telefon = new cTelefon();

            MessageBox.Show(telefon.MesajGonder(txtTelefon.Text, txtMesaj.Text));
        }
示例#3
0
        private void btnAra_Click(object sender, EventArgs e)
        {
            cTelefon tel3 = new cTelefon();

            MessageBox.Show(tel3.AramaYap(txtTelefon.Text));
        }