예제 #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            EventHandler <BtnClickEventArgs> temp = BtnClickEvent;

            if (temp != null)
            {
                BtnClickEventArgs ee = new BtnClickEventArgs();
                ee.Value = label1.Text;

                temp(sender, ee);
            }
        }
예제 #2
0
 private void Fm_BtnClickEvent(object sender, BtnClickEventArgs e)
 {
     label1.Text = e.Value;
 }