Пример #1
0
        private void timer1_Tick(object sender, EventArgs e)
        {
            photo ph = new photo();

            ph.TOKEN = textBox1.Text;
            ph.CHAT  = textBox2.Text;
        }
Пример #2
0
        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();
        }
Пример #3
0
        private void sendPhotoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            photo ph = new photo();

            ph.Show();
        }