private void SetDeleteMark()
        {
            AlertDialog.Builder quitDialog = new AlertDialog.Builder(this);
            quitDialog.SetTitle("Вы уверены?");
            quitDialog.SetPositiveButton("Да", (senderAlert, args) =>
            {
                var item = mAdapterDataList.GetItemAtPosition(mSelectedItemPosition);

                Dictionary <long, ElementData> mCommands = new Dictionary <long, ElementData>();
                mCommands.Add(0, new ElementData()
                {
                    Name = "delete", Data = "delete"
                });
                string output               = JsonConvert.SerializeObject(mCommands);
                DataSetWS dataSetWS         = new DataSetWS();
                dataSetWS.SetDataCompleted += DataSetWS_SetDataCompleted;
                dataSetWS.SetDataAsync(mRef, item.Ref, output, AppVariable.Variable.getSessionParametersJSON());
                mCommands.Remove(0);
            });
            quitDialog.SetNegativeButton("Нет", (senderAlert, args) =>
            {
            });
            Dialog dialog = quitDialog.Create();

            dialog.Show();
        }
        private void SetDataByRef(string Name, string Data)
        {
            mElements.Add(0, new ElementData()
            {
                Name = Name, Data = Data
            });
            string    output    = JsonConvert.SerializeObject(mElements);
            DataSetWS dataSetWS = new DataSetWS();

            dataSetWS.SetDataCompleted += DataSetWS_SetDataCompleted;
            dataSetWS.SetDataAsync(mRefListMod, mRef, output, AppVariable.Variable.getSessionParametersJSON());
            mElements.Remove(0);

            mProgressDialog.SetMessage("Отправка...");
            mProgressDialog.Show();
        }