void HandleCloseRequested(object sender, CloseRequestedEventArgs args) { args.Handled = !MessageDialog.Confirm("Samples will be closed", Command.Ok); }
private void CremaAppHost_UnloadRequested(object sender, CloseRequestedEventArgs e) { e.AddTask(this.dataBase.LeaveAsync(this)); }
private void MainWindow_CloseRequested(object sender, CloseRequestedEventArgs args) { Application.Exit(); }
void HandleCloseRequested(object sender, CloseRequestedEventArgs args) { /*args.AllowClose = MessageDialog.Confirm ("Samples will be closed", Command.Ok); * if (args.AllowClose)*/ Application.Exit(); }
private void CremaHost_CloseRequested(object sender, CloseRequestedEventArgs e) { // this.authenticationByToken.Clear(); }
void HandleCloseRequested(object sender, CloseRequestedEventArgs args) { Application.Exit(); }
void HandleCloseRequested(object sender, CloseRequestedEventArgs args) { bool allowClose = MessageDialog.Confirm("Samples will be closed", Command.Ok); args.AllowClose = allowClose; }
void HandleCloseRequested(object sender, CloseRequestedEventArgs args) { args.Handled = !MessageDialog.Confirm ("Samples will be closed", Command.Ok); }