示例#1
0
 private void baseForm_Load(object sender, EventArgs e)
 {
     try
     {
         baglanti = new Baglanti("192.168.43.92", 8888);
         istemci  = baglanti.getIstemci();
         baglanti.getserverAkim();
         SV = new ServeraYolla(baglanti.getserverAkim());
         SV.servera_yolla(kullanici_adi); //servara ben geldim diyoruz.
         ctThread = new Thread(gelenmesaj);
         ctThread.Start();
         io = new DosyaIslemleri(this, kullanici_adi);
         io.dosyaOlustur();
     }
     catch (Exception ex)
     {
         MessageBox.Show("Servera Baglanirken Hata OLustu. " + ex);
         this.Close();
     }
     sl         = new Sol();
     sl.Visible = true;
     labeller   = new labels(sl, io, this);
     labeller.labelleri_olustur();
     this.Opacity       = 0;
     this.ShowInTaskbar = false;
 }
示例#2
0
 public Sol()
 {
     InitializeComponent();
     SV = new ServeraYolla();
 }