Exemplo n.º 1
0
 protected virtual void OnValoreRestituito(MTCheckboxEventArgs e)
 {
     if (ValoreRestituito != null)
     {
         ValoreRestituito(this, e);
     }
 }
Exemplo n.º 2
0
        private void Button_Click(object sender, EventArgs e)
        {
            MTChk.Checked = true;
            Button prova = (Button)sender;
            MTCheckboxEventArgs eventValore = new MTCheckboxEventArgs(prova.CommandArgument);

            OnValoreRestituito(eventValore);
        }