public MainWindow() { InitializeComponent(); var Helper = new SharedProject.MySharedCode(); MessageBox.Show(Helper.GetFilePath("demo.dat")); }
async void Show() { var Helper = new SharedProject.MySharedCode(); var Dialog = new Windows.UI.Popups.MessageDialog( Helper.GetFilePath("demo.dat")); await Dialog.ShowAsync(); }
protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); var Helper = new SharedProject.MySharedCode(); new AlertDialog.Builder(this).SetMessage(Helper.GetFilePath("demo.dat")).Show(); Validate(); }
public void Mostrar() { var Helper = new SharedProject.MySharedCode(); MessageBoxResult result = MessageBox.Show(Helper.GetFilePath("demo.dat"), "", MessageBoxButton.OK); if (result == MessageBoxResult.OK) { Application.Current.Shutdown(); } }
protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); var helper = new SharedProject.MySharedCode(); new AlertDialog.Builder(this).SetMessage(helper.GetFilePath("demo.dat")).Show(); // Set our view from the "main" layout resource // SetContentView (Resource.Layout.Main); }
protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); // Set our view from the "main" layout resource SetContentView(Resource.Layout.Main); // Get our button from the layout resource, // and attach an event to it Button button = FindViewById <Button>(Resource.Id.myButton); button.Click += delegate { button.Text = $"{count++} clicks!"; }; var Helper = new SharedProject.MySharedCode(); new AlertDialog.Builder(this).SetMessage(Helper.GetFilePath("demo.dat")).Show(); Validate(); }
async void Show() { var Helper = new SharedProject.MySharedCode(); MessageBox.Show(Helper.GetFilePath("demo.dat"), "", MessageBoxButton.OK); }
public void MostrarArchivo() { var Helper = new SharedProject.MySharedCode(); MessageBox.Show(Helper.GetFilePath("demo.dat")); }