void DisposeCodeProject() { if (CP != null && !CP.IsDisposed) { CP.Dispose(); CP = null; } }
/* private */ void DownloadArticleList() { lboArticles.Items.Clear(); if (CP == null) { CP = new CodeProject(); CP.NavigatedTo += CodeProject_NavigatedTo; CP.Log += CodeProject_Log; } CP.Login(App.Settings.Email, App.Settings.Password); }
public Author(CodeProject CP) { this.CP = CP; }