private void ApplyForm_Load(object sender, EventArgs e) { CResourceEntity aRes = new CResourceEntity(); aRes = aRes.Load(_resId); txtResId.Text = aRes.MakeCompletePath(); }
private void SearchForm_Load(object sender, EventArgs e) { if (_resource > 0) { CResourceEntity res = new CResourceEntity().Load(_resource); currentDirBox.Text = "当前目录:" + res.MakeCompletePath(); } else { currentDirBox.Checked = false; currentDirBox.Enabled = false; } }