示例#1
0
        protected void TextHasChanged(string value)
        {
            value = value.Trim().Replace("'\n", "").Replace("'\r", "");

            try
            {
                foreach (var item in fileList)
                {
                    if (value == item.NoteFileName)
                    {
                        SpinnerObj.ShowSpinner(target);
                        OnMessage.InvokeAsync(new Message {
                            Command = Commands.Show, Location = Locations.FileUserIndex, IntArg = item.Id
                        });
                        return;
                    }
                }
            }
            catch
            { }
        }
示例#2
0
 protected void Autologin()
 {
     OnMessage.InvokeAsync(new Message {
         Command = Commands.Dialog, Location = Locations.Login, StringArg = Globals.GuestEmail
     });
 }
示例#3
0
 protected void MessageHandler(Message message)
 {
     SpinnerObj.ShowSpinner(target);
     OnMessage.InvokeAsync(message);
 }
示例#4
0
 public async Task InvokeMessage(MessageEventArgs e)
 {
     await OnMessage.InvokeAsync(this, e);
 }
示例#5
0
 private async Task _InvokeMessage(MessageEventArgs e)
 {
     await OnMessage.InvokeAsync(this, e);
 }