示例#1
0
 protected async void Button2Click(MouseEventArgs args)
 {
     DialogService.Close();
     await JSRuntime.InvokeAsync <string>("window.history.back");
 }
 public void Save()
 {
     DialogService.Close(DialogResult <Item> .Ok(Item));
 }
示例#3
0
 protected async Task CloseButtonClick(MouseEventArgs args)
 {
     DialogService.Close();
 }
示例#4
0
 protected async void Button2Click(MouseEventArgs args)
 {
     DialogService.Close();
 }
示例#5
0
 protected async void Button3Click(UIMouseEventArgs args)
 {
     DialogService.Close(null);
 }
示例#6
0
        private void Login()
        {
            SkyDocsService.Login(loginModel.Username, loginModel.Password);

            DialogService.Close();
        }
示例#7
0
        protected async void Form0Submit(Supplier args)
        {
            var northwindUpdateSupplierResult = await Northwind.UpdateSupplier(int.Parse(SupplierID), supplier);

            DialogService.Close(supplier);
        }
 protected async System.Threading.Tasks.Task Button1Click(MouseEventArgs args)
 {
     DialogService.Close();
     await JSRuntime.InvokeAsync <string>("window.history.back");
 }
示例#9
0
 protected void Cancel() => DialogService.Close();
示例#10
0
        protected async void Form0Submit(Territory args)
        {
            var northwindUpdateTerritoryResult = await Northwind.UpdateTerritory($"{TerritoryID}", territory);

            DialogService.Close(territory);
        }
示例#11
0
        protected async void Form0Submit(Supplier args)
        {
            var northwindCreateSupplierResult = await Northwind.CreateSupplier(supplier);

            DialogService.Close(supplier);
        }
示例#12
0
        protected async void Form0Submit(Order args)
        {
            var northwindCreateOrderResult = await Northwind.CreateOrder(order);

            DialogService.Close(order);
        }
 protected async void Form0Submit(ApplicationUser args)
 {
     DialogService.Close();
     await JSRuntime.InvokeAsync <string>("window.history.back");
 }
示例#14
0
 public void Cancel()
 {
     DialogService.Close(DialogResult <Item> .Cancel());
 }
 private void HandleValidSubmit()
 {
     DialogService.Close(Contact);
 }
示例#16
0
 protected async System.Threading.Tasks.Task Form0Submit(ApplicationUser args)
 {
     DialogService.Close();
     await JSRuntime.InvokeAsync <string>("window.history.back");
 }
示例#17
0
        protected async void Form0Submit(OrderDetail args)
        {
            var northwindUpdateOrderDetailResult = await Northwind.UpdateOrderDetail(int.Parse(OrderID), int.Parse(ProductID), orderdetail);

            DialogService.Close(orderdetail);
        }
示例#18
0
        protected async void Form0Submit(Order args)
        {
            var northwindUpdateOrderResult = await Northwind.UpdateOrder(int.Parse(OrderID), order);

            DialogService.Close(order);
        }
示例#19
0
        protected async void Form0Submit(Customer args)
        {
            var northwindUpdateCustomerResult = await Northwind.UpdateCustomer($"{CustomerID}", customer);

            DialogService.Close(customer);
        }
示例#20
0
 protected async System.Threading.Tasks.Task Button2Click(MouseEventArgs args)
 {
     DialogService.Close(null);
 }
 public void Close()
 {
     DialogService.Close(this, true);
 }