抛出异常

if(System.IO.Directory.Exists(value))
                
{
                    
this.skindir=value;
                    gowk.utility.IO.Regestry.SetValue(SkinDirectoryKey,skindir);
                    
if(this.SkinChanged!=null)this.SkinChanged(this,System.EventArgs.Empty);
                }
        
                
else
                
{
                    
throw(new System.IO.FileNotFoundException("不能加载皮肤目录"));
                }

posted on 2007-08-10 23:03  simhare  阅读(121)  评论(0编辑  收藏  举报

导航