private void timer1_Tick(object sender, EventArgs e) { photo ph = new photo(); ph.TOKEN = textBox1.Text; ph.CHAT = textBox2.Text; }
private void Form1_Load(object sender, EventArgs e) { if (File.Exists("ultoken.txt")) { textBox1.Text = File.ReadAllText("ultoken.txt"); } photo ph = new photo(); timer1.Start(); }
private void sendPhotoToolStripMenuItem_Click(object sender, EventArgs e) { photo ph = new photo(); ph.Show(); }