我有一个问题我无法解决:我希望我的类admin包含这个方法:publicvoidOpretSpejder(){if(!(string.IsNullOrEmpty(Snavn_txt.Text)))if(!(string.IsNullOrEmpty(Senavn_txt.Text)))if(!(string.IsNullOrEmpty(Sa_txt.Text)))if(!(string.IsNullOrEmpty(Scpr_txt.Text))){XmlDocumentdoc=newXmlDocument();doc.Load(@"Spejder.xml");varnodeCount=0