Example #1
0
        public void OpenFile(GameArchives.IFile i)
        {
            var inspector = InspectorFactory.GetInspector(InspectorFactory.LoadObject(i));

            if (inspector != null)
            {
                OpenTab(inspector, i.Name);
                fileTreeView.Select();
            }
        }
Example #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            var reprocessed = RBMidConverter.ToRBMid(RBMidConverter.ToMid(previewState.rbmid));

            fb.OpenTab(InspectorFactory.GetInspector(reprocessed), Name + " reprocessed");
        }