-
February 17th, 2016, 21:48
#1
در خواست آموزش لینک دار کردن در chsharp
سلام دوستان
من یه برنامه آدرس فایندر با سی شارپ دارم که لینک دار نیست چطور میتونم لینک دارش کنم لطفا راهنمایی کنید
اینم کد برنامه
درضمن تایل برنامه را از کجا میشود تغییر داد
کد HTML:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Net;
namespace AdressFinder
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void PicSearch_Click(object sender, EventArgs e)
{
try
{
var WebC = new WebClient();
String StrAdress = WebC.DownloadString("http://address/find.txt");
LblAdress.Text = StrAdress;
}
catch
{
MessageBox.Show("خطا در اتصال به سرور");
}
try
{
pictureBox1.Load("http://address.com/2***.png");
}
catch
{
MessageBox.Show("خطا در اتصال به سرور");
}
}
private void Form1_Load(object sender, EventArgs e)
{
LblAdress.Text = "برای دریافت آدرس برروی زره بین کلیک کنید";
}
private void LblAdress_Click(object sender, EventArgs e)
{
}
private void pictureBox1_Click(object sender, EventArgs e)
{
}
}
}
- - - Updated - - -
یعنی واقعا کسی بلد نیست ؟؟ یه کد ساده است چطور باید لینک دارش کنم
-
-
February 17th, 2016 21:48
# ADS