private void OnMRUClick(object sender, MRUEventArgs e) { string fnameLeftAndRighth = e.filename; string[] fnames = fnameLeftAndRighth.Split('/'); OpenFileBoth( fnames[0], fnames[1] ); }
protected void mruItem_Click(object sender, System.EventArgs e) { MRUMenuItem item = (MRUMenuItem)sender; MRUEventArgs e2 = new MRUEventArgs(); e2.mruIndex = item.MRUIndex; e2.filename = (string)filelist[e2.mruIndex]; MenuClick( this, e2 ); }