CKodlayicisi
Üye
[COLOR="LimeMerhaba Arkadaşlar ben CKodlayicisi Bugün Sizlere Uygulama Güncellemeyi Anlatıcam
Kodlar: C#
C# WindowsForm Application Açalım
Sonra Form1'e Çift Tıklayıp Veya Sol Tık Sonra Kodları Görüntüle Diyip Şu Kodları Yazalım İnternette Doğru Düzgün Anlatan Yok anlatıyım Dedim[/COLOR]
2 Formada Şunları İmport Edelim
[COLOR="Lime [URL="https://tik.lat/ntMVE"] http://www.rudewolfs.ml/Versiyon.php?v=[/URL]" + Program.versioncode);
StreamReader reader = new StreamReader(stream);
String content = reader.ReadToEnd();
if (content == "GÜNCELLE")
{
ret = true;
}
else
{
ret = false;
}
}
catch
{
ret = false;
}
return ret;
}
private **** Form1_Load(object sender, EventArgs e)
{
if (checkupdate())
{
DialogResult a = MessageBox.Show("Yeni Güncellemeler Var", "RudeWolfs", MessageBoxButtons.YesNo, MessageBoxIcon.Information);
if(a == DialogResult.Yes)
{
System.Threading.Thread t = new System.Threading.Thread(new System.Threading.ThreadStart(UpdateMe));
t.Start();
this.Close();
}
}
}
public static **** UpdateMe()
{
Application.Run(new Form2());
}
}
}
//CKodlayicisi[/COLOR]
[/code]
[COLOR="Cyan [URL="https://tik.lat/x4J8n"] [COLOR="lime [URL="https://tik.lat/vV27R"] [COLOR="Lime
Kodlar: C#
C# WindowsForm Application Açalım
Sonra Form1'e Çift Tıklayıp Veya Sol Tık Sonra Kodları Görüntüle Diyip Şu Kodları Yazalım İnternette Doğru Düzgün Anlatan Yok anlatıyım Dedim[/COLOR]
2 Formada Şunları İmport Edelim
[COLOR="Lime [URL="https://tik.lat/ntMVE"] http://www.rudewolfs.ml/Versiyon.php?v=[/URL]" + Program.versioncode);
StreamReader reader = new StreamReader(stream);
String content = reader.ReadToEnd();
if (content == "GÜNCELLE")
{
ret = true;
}
else
{
ret = false;
}
}
catch
{
ret = false;
}
return ret;
}
private **** Form1_Load(object sender, EventArgs e)
{
if (checkupdate())
{
DialogResult a = MessageBox.Show("Yeni Güncellemeler Var", "RudeWolfs", MessageBoxButtons.YesNo, MessageBoxIcon.Information);
if(a == DialogResult.Yes)
{
System.Threading.Thread t = new System.Threading.Thread(new System.Threading.ThreadStart(UpdateMe));
t.Start();
this.Close();
}
}
}
public static **** UpdateMe()
{
Application.Run(new Form2());
}
}
}
//CKodlayicisi[/COLOR]
[/code]
[COLOR="Cyan [URL="https://tik.lat/x4J8n"] [COLOR="lime [URL="https://tik.lat/vV27R"] [COLOR="Lime
Son düzenleme: