コード例 #1
0
ファイル: ContactAdapter.cs プロジェクト: appcoreopc/xGauge
        private void CallContactMobile(object sender, EventArgs e)
        {
            string      telNo  = string.Empty;
            ImageButton imgBtn = sender as ImageButton;

            if (imgBtn != null)
            {
                telNo = (string)imgBtn.Tag;
                if (!string.IsNullOrEmpty(telNo))
                {
                    PhoneUtil.TryCallPhone(mContext, telNo);
                }
            }
        }