/// <summary> /// Shows a new add screen. /// </summary> public void AddMethod() { AddWindow addWindow = new AddWindow(); addWindow.Show(); }
private void ButtonAdd() { AddWindow adw = new AddWindow(); adw.Show(); }
private void createAddWindow(object parameter) { _addWindow = new AddWindow(); _addWindow.DataContext = this; _addWindow.Show(); }
/// <summary> /// The method that adds a new customer. /// </summary> private void AddMethod() { AddWindow add = new AddWindow(); add.Show(); }
private void btnAdd_Click(object sender, RoutedEventArgs e) { AddWindow win = new AddWindow(); win.Show(); }
/// <summary> /// /// </summary> public void AddAction() { AddWindow add = new AddWindow(); add.Show(); }
private void exit_Click(object sender, RoutedEventArgs e) { AddWindow taskWindow = new AddWindow(); taskWindow.Show(); this.Close(); }
protected void Btn_Add_Click(object sender, DirectEventArgs e) { YearMonth.Text = DateTime.Now.ToString("yyyy-MM"); AddWindow.Show(); }
private void newButton_Click(object sender, RoutedEventArgs e) { AddWindow myAddWindow = new AddWindow(); myAddWindow.Show(); }
private void AddButton_Click(object sender, RoutedEventArgs e) { AddWindow addWindow = new AddWindow(); addWindow.Show(); }
/// <summary> /// Shows a new add screen. /// </summary> /// // KEIRA: (AddWindow.xaml Pop-Up) Add AddMethod(). public void AddMethod(IClosable window) // KEIRA: (Needs IClosable as a parameter to match RelayCommand/delegate signature.) { AddWindow add = new AddWindow(); add.Show(); }