public void InviteMemberSendClick(string target_email) { invite_user_email=target_email; currentWebCall=RelationsScreenCurrentWebCall.InviteUser; if (relationsScreenView != null) { relationsScreenView.Hide (); } foreach(var x in NavigationItem.RightBarButtonItems){ x.Enabled=false; } Global.tabBarController.DisableTabBar (); initLoadingScreenView (RelationsScreenData.LoadingScreenTextInviteUser); CheckTokenWebCall4(); }
public void LeaveClick(int Row) { GrpSelectedRow=Row; //alert UIAlertController Alert = UIAlertController.Create (RelationsScreenData.AlertScreenLeaveGrpTitle, RelationsScreenData.AlertScreenLeaveGrpMessage, UIAlertControllerStyle.Alert); Alert.AddAction (UIAlertAction.Create (RelationsScreenData.AlertScreenLeaveGrpConfirmBtnTitle, UIAlertActionStyle.Default,action=>{ currentWebCall=RelationsScreenCurrentWebCall.LeaveGrp; if (relationsScreenView != null) { relationsScreenView.Hide (); } foreach(var x in NavigationItem.RightBarButtonItems){ x.Enabled=false; } Global.tabBarController.DisableTabBar (); initLoadingScreenView (RelationsScreenData.LoadingScreenTextLeaveGrp); CheckTokenWebCall4(); })); Alert.AddAction (UIAlertAction.Create (RelationsScreenData.AlertScreenLeaveGrpCancelBtnTitle, UIAlertActionStyle.Cancel,null )); PresentViewController (Alert, true, null); }
public void CreateTeamSendClick(string TeamName) { NewGroupName=TeamName; currentWebCall=RelationsScreenCurrentWebCall.CreateTeam; if (relationsScreenView != null) { relationsScreenView.Hide (); } foreach(var x in NavigationItem.RightBarButtonItems){ x.Enabled=false; } Global.tabBarController.DisableTabBar (); initLoadingScreenView (RelationsScreenData.LoadingScreenTextCreateTeam); CheckTokenWebCall4(); }