Exemple #1
0
        protected override async Task <string> update()
        {
            XElement xArgs = new XElement("Args", from r in this._tControls select
                                          new XElement("Arg",
                                                       new XElement("Value", r.Item1.ControlValue),
                                                       new XElement("SqlOrder", r.Item3)));

            List <HsLabelValue> items = await this.GetWSUtil().QueryResult(GetLoginData().ProgressId, this._queryName, xArgs);

            Form_QueryResult page = new Form_QueryResult(items);

            await Navigation.PushAsync(page);

            return(null);
        }
Exemple #2
0
        protected override async void itemClick(object item)
        {
            try
            {
                HsLabelValue lv = item as HsLabelValue;

                if (lv != null && lv.Items.Count > 0)
                {
                    Form_QueryResult page = new Form_QueryResult(lv.Items);

                    await Navigation.PushAsync(page);
                }
            }
            catch (Exception ex)
            {
                this.ShowError(ex.Message);
            }
        }