protected override async Task OnInitializedAsync() { billUI = new BillUI(billDataService, mapper, ""); registerUI = new RegisterUI(clientDataService, credentialDataService, mapper); appointmentUI = new AppointmentUI(appointmentDataService, mapper, ""); procedureUI = new ProcedureUI(procedureDataService, mapper); //await PostToAppointments(); }
protected override async Task OnInitializedAsync() { registerVM = new RegisterVM(); registerUI = new RegisterUI(clientDataService, credentialDataService, mapper); registerVM = await registerUI.GetClient(UserName); ResetDialog(); }
public Form1() { InitializeComponent(); RegisterUI.Add("MyControl", "Text");//控件类名,属性 }
protected override void OnInitialized() { registerUI = new RegisterUI(ClientDataService, CredentialDataService, mapper); registerVM = registerUI.New(UserName); }
private string _defaultNickName = "路人甲"; //預設暱稱 void Awake() { Instance = this; }
public void OpenLogin() { LoginUI.SetActive(true); RegisterUI.SetActive(false); }