void ReleaseDesignerOutlets() { if (ContntVw != null) { ContntVw.Dispose(); ContntVw = null; } if (IBCancelBtn != null) { IBCancelBtn.Dispose(); IBCancelBtn = null; } if (IBContntTable != null) { IBContntTable.Dispose(); IBContntTable = null; } if (IBSaveBtn != null) { IBSaveBtn.Dispose(); IBSaveBtn = null; } if (IBTtitleLbl != null) { IBTtitleLbl.Dispose(); IBTtitleLbl = null; } }
public void Configure(List <NotesTypeResponse> types, String Title) { IosUtils.IosUtility.setcornerRadius(this.ContntVw); IosUtils.IosUtility.setcornerRadius(this.IBSaveBtn); IosUtils.IosUtility.setcornerRadius(this.IBCancelBtn); IBTtitleLbl.Text = Title; Data = types; IBContntTable.ReloadData(); this.Hidden = true; Frame = AppDelegate.GetMainWindow().Frame; AppDelegate.GetMainWindow().AddSubview(this); UIView.Animate(0.5, () => { this.Hidden = false; }); }