コード例 #1
0
        public MainWindow()
        {
            InitializeComponent();
            var Helper = new SharedProject.MySharedCode();

            MessageBox.Show(Helper.GetFilePath("demo.dat"));
        }
コード例 #2
0
 async void Show()
 {
     var Helper = new SharedProject.MySharedCode();
     var Dialog = new Windows.UI.Popups.MessageDialog(
         Helper.GetFilePath("demo.dat"));
     await Dialog.ShowAsync();
 }
コード例 #3
0
        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();
        }
コード例 #4
0
        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();
            }
        }
コード例 #5
0
        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);
        }
コード例 #6
0
        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();
        }
コード例 #7
0
ファイル: MainWindow.xaml.cs プロジェクト: AxelPantoja/Lab03
        async void Show()
        {
            var Helper = new SharedProject.MySharedCode();

            MessageBox.Show(Helper.GetFilePath("demo.dat"), "", MessageBoxButton.OK);
        }
コード例 #8
0
        public void MostrarArchivo()
        {
            var Helper = new SharedProject.MySharedCode();

            MessageBox.Show(Helper.GetFilePath("demo.dat"));
        }