コード例 #1
0
        private void btnEditServiceToPromo_Click(object sender, RoutedEventArgs e)
        {
            PromoServicesModel promoServModel = dgvPromoServices.SelectedItem as PromoServicesModel;

            if (promoServModel != null)
            {
                PromoServiceDetails promoServ = new PromoServiceDetails(this, promoServModel);

                //promoServ.dgvPromoServices.ItemsSource = loadServices(promoServModel.PromoID);

                promoServ.ShowDialog();
            }
        }
コード例 #2
0
        private void btnAddServiceToPromo_Click(object sender, RoutedEventArgs e)
        {
            PromoServiceDetails promoServ = new PromoServiceDetails(this);

            promoServ.ShowDialog();
        }