private void modEditorControl1_OpenItem(object sender, OpenItemEventArgs e)
        {
            var item= DataManager.FindItem(e.Name);

            if(item is BaseFile)
                Form1.Instance.LoadFile(((BaseFile)item).FileName);
        }
 protected void OnOpenItem(OpenItemEventArgs e)
 {
     if(null != OpenItem)
         OpenItem(this, e);
 }
Esempio n. 3
0
        private void Control_OpenItem(object sender, OpenItemEventArgs e)
        {
            var item= DataManager.FindItem(e.Name);

            if(item is BaseFile)
                LoadFile(((BaseFile)item).FileName);
        }