1234567891011121314151617181920212223 |
- using System;
- using System.Collections.Generic;
- using AvaloniaApplicationPages.Models;
- using ReactiveUI;
- namespace AvaloniaApplicationPages.ViewModels
- {
- public class Page1ViewModel : ReactiveObject
- {
-
- public string Message
- {
- get => Class1.message;
- set => this.RaiseAndSetIfChanged(ref Class1.message, value);
- }
- public void showMessage()
- {
- Message = "Äî ñâèäàíèÿ";
- }
- }
- }
|