示例#1
0
 private void NewInvoker()
 {
     Invoker = new CSIBaseInvoker(CSISystemContext)
     {
         UseAsync = true
     };
 }
        private void ShowDialog(Exception Ex)
        {
            FragmentTransaction ft     = FragmentManager.BeginTransaction();
            CSIMessageDialog    Dialog = (CSIMessageDialog)FragmentManager.FindFragmentByTag("Dialog");

            if (Dialog != null)
            {
                ft.Show(Dialog);
            }
            else
            {
                Dialog = new CSIMessageDialog(Application.Context.GetString(Resource.String.app_name), CSIBaseInvoker.TranslateError(Ex), DialogTypes.OK);
                Dialog.Show(ft, "Dialog");
            }
        }