C RSS跨執行緒

2021-04-12 20:32:14 字數 2229 閱讀 4669

using rssreader.core;

using rssreader.controls.engine;

namespace rssreader.controls

///

/// clean up any resources being used.

///

protected override void dispose( bool disposing )

}base.dispose( disposing );

}#region windows form designer generated code

///

/// required method for designer support - do not modify

/// the contents of this method with the code editor.

///

private void initializecomponent() );

this.listtopic.dock = system.windows.forms.dockstyle.fill;

this.listtopic.fullrowselect = true;

this.listtopic.gridlines = true;

this.listtopic.hideselection = false;

this.listtopic.location = new system.drawing.point(0, 3);

this.listtopic.name = "listtopic";

this.listtopic.size = new system.drawing.size(337, 370);

this.listtopic.tabindex = 0;

this.listtopic.view = system.windows.forms.view.details;

// // topiclist

// this.autoscalebasesize = new system.drawing.size(6, 14);

this.clientsize = new system.drawing.size(337, 376);

this.controls.add(this.listtopic);

this.dockableareas = ((weifenluo.winformsui.dockareas)(((((weifenluo.winformsui.dockareas.float | weifenluo.winformsui.dockareas.dockleft)

| weifenluo.winformsui.dockareas.dockright)

| weifenluo.winformsui.dockareas.docktop)

| weifenluo.winformsui.dockareas.dockbottom)));

this.dockpadding.bottom = 3;

this.dockpadding.top = 3;

this.hideonclose = true;

this.icon = ((system.drawing.icon)(resources.getobject("$this.icon")));

this.name = "topiclist";

this.showhint = weifenluo.winformsui.dockstate.docktopautohide;

this.text = "主題列表";

this.load += new system.eventhandler(this.topiclist_load);

this.resumelayout(false);

}#endregion

#endregion

private void topiclist_load(object sender, system.eventargs e)

private void listtopic_load(object sender, system.windows.forms.treevieweventargs e)

private void loadtopiclist(object sender, system.windows.forms.treevieweventargs e)}}

public void clearfeedlist() }}

請高人幫助

C rss 打造聚合器

最近我一直在尋找如何在web頁面上顯示rss feed的方法,我選擇 c 和asp.net作為工具。我建立了乙個簡單的處理函式來處理從乙個url獲得的rss feed。你可以直接使用這個簡單的函式,或者改造成你想要的功能。http ike.126.com 這個函式使用乙個字串rssurl作為它的引數...

winform跨執行緒

在winform中經常用到多執行緒,那麼用多執行緒對控制項進行賦值和修改的時候呢會出現類似 該控制項不是當前執行緒建立 的錯誤資訊,在winform中兩種辦法 1.在載入事件中寫這句話,其作用呢就是執行緒的非同步呼叫 1 system.windows.forms.control.checkforil...

跨執行緒訪問控制項

using system using system.collections.generic using system.componentmodel using system.data using system.drawing using system.linq using system.text u...