예제 #1
0
 public static void Show(UIViewController GelenBase2, string Aciklama1)
 {
     GelenBase2.InvokeOnMainThread(delegate()
     {
         var story           = UIStoryboard.FromName("GenericUI", NSBundle.MainBundle);
         controller          = story.InstantiateViewController("LoadingImageView") as LoadingImageView;
         controller.Aciklama = Aciklama1;
         controller.ModalPresentationStyle = UIModalPresentationStyle.OverFullScreen;
         GelenBase = GelenBase2;
         GelenBase.PresentViewController(controller, true, null);
     });
 }
예제 #2
0
 public static void Hide()
 {
     GelenBase.InvokeOnMainThread(delegate()
     {
         if (controller != null)
         {
             if (controller.Timerr != null)
             {
                 controller.Timerr.Invalidate();
                 controller.Timerr = null;
             }
             controller.DismissViewController(true, null);
             controller = null;
         }
     });
 }