Ejemplo n.º 1
0
        static public void ViewHelp()
        {
            string rootDir  = Path.GetDirectoryName(GUIManager.GetEntryDirectory());
            string helpPath = Path.Combine(rootDir, @"Help\index.html");

            if (File.Exists(helpPath))
            {
                Process.Start(helpPath);
            }
        }
Ejemplo n.º 2
0
        static public bool ViewHelp()
        {
            string rootDir  = Path.GetDirectoryName(GUIManager.GetEntryDirectory());
            string helpPath = Path.Combine(rootDir, @"Help\index_en.html");

            if (Core.Language == Language.Japanese)
            {
                helpPath = Path.Combine(rootDir, @"Help\index_ja.html");
            }

            if (File.Exists(helpPath))
            {
                Process.Start(helpPath);
            }

            return(true);
        }
Ejemplo n.º 3
0
        static public bool OpenSample()
        {
            string rootDir = Path.GetDirectoryName(GUIManager.GetEntryDirectory());

            OpenFileDialog ofd = new OpenFileDialog();

            ofd.InitialDirectory = Path.Combine(rootDir, @"Sample");
            ofd.Filter           = Properties.Resources.ProjectFilter;
            ofd.FilterIndex      = 2;
            ofd.Multiselect      = false;

            if (ofd.ShowDialog() == DialogResult.OK)
            {
                Open(ofd.FileName);
            }

            return(true);
        }
Ejemplo n.º 4
0
        static public void OpenSample()
        {
            string rootDir = Path.GetDirectoryName(GUIManager.GetEntryDirectory());

            OpenFileDialog ofd = new OpenFileDialog();

            ofd.InitialDirectory = Path.Combine(rootDir, @"Sample");
            ofd.Filter           = "エフェクトプロジェクト (*.efkproj)|*.efkproj";
            ofd.FilterIndex      = 2;
            ofd.Multiselect      = false;

            if (ofd.ShowDialog() == DialogResult.OK)
            {
                Open(ofd.FileName);
            }
            else
            {
                return;
            }
        }