示例#1
0
 public MakeQueryEventArgs(IDictionaryQueryAddon<string, Client> Query)
     : base()
 {
     this.Query = Query;
 }
示例#2
0
 public void OnMakeQueryEvent(object sender, MakeQueryEventArgs e)
 {
     if (this.server == null) { UpdateStatusStrip("невозможно выполнить запрос. Сервер не запущен!"); return; }
     if (this.server.Manager.Clients.Count == 0) { UpdateStatusStrip("невозможно выполнить запрос. Не подключилось ни одного клиента!"); return; }
     if (e.Query != null & this.server != null)
     {
         this.ThatQuery = e.Query;
         this.ThatQuery.ShowQuery(this.ClientsList, this.ThatQuery.MakeQuery(this.server.Manager.Clients));
     }
 }