public JsonObject GetSubscriberSaveView(long subscriberId, long pageNo, long itemsPerPage, long dataIndex, string templateSuffix) { JsonObject retMessage = new JsonObject(); string htmlText = SubscriberView.GetSaveDetailView(subscriberId, pageNo, itemsPerPage, dataIndex, templateSuffix); retMessage.Put("html", htmlText); return(retMessage); }
public JsonObject GetSubscriberListView(long pageNo, long itemsPerPage, long dataIndex, string templateSuffix) { JsonObject retMessage = new JsonObject(); string htmlText = SubscriberView.GetListAllItemView(pageNo, itemsPerPage, dataIndex, templateSuffix); if (string.IsNullOrEmpty(htmlText) == true) { htmlText = " "; } retMessage.Put("html", htmlText); return(retMessage); }
void ReleaseDesignerOutlets() { if (HangupButton != null) { HangupButton.Dispose(); HangupButton = null; } if (PublisherView != null) { PublisherView.Dispose(); PublisherView = null; } if (SubscriberView != null) { SubscriberView.Dispose(); SubscriberView = null; } if (SwitchButton != null) { SwitchButton.Dispose(); SwitchButton = null; } if (ToolBar != null) { ToolBar.Dispose(); ToolBar = null; } if (StatusLabel != null) { StatusLabel.Dispose(); StatusLabel = null; } }