Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Error CS0121 The call is ambiguous between the following methods or properties: 'MainWindow.InitializeComponent()' and 'MainWindow.InitializeComponent()'
- /// <summary>
- /// Interaction logic for MainWindow.xaml
- /// </summary>
- public partial class MainWindow : Window
- {
- public MainWindow()
- {
- InitializeComponent();
- }
- private bool button1Clicked = false;
- public bool Windows1 = false;
- private void Button_Click_1(object sender, RoutedEventArgs e)
- {
- void StartWindows_Click()
- {
- button1Clicked = true;
- if (Windows1)
- {
- Windows1 win = new Windows1();
- win.ShowDialog();
- }
- // add later versions when i can
- }
- if (WindowsOption1.IsChecked == true)
- {
- Windows1 = true;
- }
- }
- private string UsernameValue = string.Empty;
- private void Username_TextChanged(object sender, TextChangedEventArgs e)
- {
- UsernameValue = Username.Text;
- }
- }
Add Comment
Please, Sign In to add comment