Beispiel #1
0
        void MesajlariVeyaPaketiAc(bool Durum)
        {
            if (Durum)
            {
                InvokeOnMainThread(delegate()
                {
                    MesajlarIcinSecilenKullanici.Kullanici = SecilenKisi.SecilenKisiDTO;
                    var mesKey = GetMessageKey(MesajlarIcinSecilenKullanici.Kullanici.id);
                    MesajlarIcinSecilenKullanici.key = mesKey;

                    var LokasyonKisilerStory          = UIStoryboard.FromName("MesajlarBaseVC", NSBundle.MainBundle);
                    ChatVC controller                 = LokasyonKisilerStory.InstantiateViewController("ChatVC") as ChatVC;
                    controller.ModalPresentationStyle = UIModalPresentationStyle.FullScreen;
                    this.PresentViewController(controller, true, null);
                });
            }
            else
            {
                InvokeOnMainThread(delegate()
                {
                    var GoldModal = UIStoryboard.FromName("PaketlerBase", NSBundle.MainBundle);
                    BustisGoldBaseVC controller       = GoldModal.InstantiateViewController("BustisGoldBaseVC") as BustisGoldBaseVC;
                    controller.PrivateProfileVC1      = null;
                    controller.ModalPresentationStyle = UIModalPresentationStyle.OverFullScreen;
                    this.PresentViewController(controller, true, null);
                });
            }
        }
Beispiel #2
0
        private void BuptisGoldButton_TouchUpInside(object sender, EventArgs e)
        {
            var GoldModal = UIStoryboard.FromName("PaketlerBase", NSBundle.MainBundle);
            BustisGoldBaseVC controller = GoldModal.InstantiateViewController("BustisGoldBaseVC") as BustisGoldBaseVC;

            controller.PrivateProfileVC1      = this;
            controller.ModalPresentationStyle = UIModalPresentationStyle.OverFullScreen;
            this.PresentViewController(controller, true, null);
        }