protected virtual void OnSChange(SChangeEventArgs e) { if (SChange != null) { SChange(this, e); } }
void kopiowanie(object sender, SChangeEventArgs e) { if (this.Text == Clipboard.GetText()) { MessageBox.Show("Skopiowano zawartosc"); } else { MessageBox.Show("Whoops"); } }