Ejemplo n.º 1
0
        void ShowPic_Click(object sender, EventArgs e)
        {
            Program.TimerReset();
            var eb = sender as Button;
            var ab = this.Controls[this.Controls.IndexOfKey("attend" + eb.Tag.ToString())] as Button;
            var c  = list[(int)ab.Tag];

            Program.PeopleId = c.cinfo.pid;
            var f = new CommonPicture();

            f.ShowDialog();
        }
Ejemplo n.º 2
0
		void ShowPic_Click(object sender, EventArgs e)
		{
			Program.TimerReset();
			var eb = sender as Button;
			var ab = this.Controls[this.Controls.IndexOfKey("attend" + eb.Tag.ToString())] as Button;
			var c = list[(int)ab.Tag];
			Program.PeopleId = c.pid;
			var f = new CommonPicture();
			f.ShowDialog();
		}