public void Rand_Button_Click(object sender, RoutedEventArgs e) { _mainPage.Rand_Button_Click(sender, e); }