Esempio n. 1
0
        private async void _CUSTOMERS_OnMouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            if (_COMPANIES.SelectedValue == null) return;

            var wind = new AddCompany((Guid)_COMPANIES.SelectedValue) { Owner = Window.GetWindow(this) };
            wind.ShowDialog();
            await Refresh();
        }
Esempio n. 2
0
        private async void AddButton_OnClick(object sender, RoutedEventArgs e)
        {
            var wind = new AddCompany()
            {
                Owner = Window.GetWindow(this)
            };

            wind.ShowDialog();
            await Refresh();
        }
Esempio n. 3
0
        private async void _CUSTOMERS_OnMouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            if (_COMPANIES.SelectedValue == null)
            {
                return;
            }

            var wind = new AddCompany((Guid)_COMPANIES.SelectedValue)
            {
                Owner = Window.GetWindow(this)
            };

            wind.ShowDialog();
            await Refresh();
        }
Esempio n. 4
0
 private async void AddButton_OnClick(object sender, RoutedEventArgs e)
 {
     var wind = new AddCompany() { Owner = Window.GetWindow(this) };
     wind.ShowDialog();
     await Refresh();
 }