When you need to pass sender and e to the method (e.g. a page control event) MyButton_Click(MyButton, new RoutedEventArgs()); Timer1_Tick(this, new object()); You can use null MyButton_Tick(SomeControlName, null);