/// <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();
        }
示例#3
0
 private void createAddWindow(object parameter)
 {
     _addWindow             = new AddWindow();
     _addWindow.DataContext = this;
     _addWindow.Show();
 }
示例#4
0
        /// <summary>
        /// The method that adds a new customer.
        /// </summary>
        private void AddMethod()
        {
            AddWindow add = new AddWindow();

            add.Show();
        }
示例#5
0
        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();
 }
示例#8
0
 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();
 }
示例#10
0
        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();
        }