示例#1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void sSMEditorToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SSMTool d = new SSMTool();

            d.Show();
            d.BringToFront();
        }
示例#2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void openToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var f = Tools.FileIO.OpenFile(FileIO.NORMAL_EXTENSIONS);

            if (f != null)
            {
                if (f.ToLower().EndsWith(".sem"))
                {
                    SEMEditorTool d = new SEMEditorTool();
                    {
                        d.Show();
                    }
                    d.OpenSEMFile(f);
                    d.BringToFront();
                }
                else
                if (f.ToLower().EndsWith(".ssm"))
                {
                    SSMTool d = new SSMTool();
                    {
                        d.Show();
                    }
                    d.OpenFile(f);
                    d.BringToFront();
                }
                else
                {
                    OpenFile(f);
                }
            }
        }
示例#3
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void openToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var f = Tools.FileIO.OpenFile("HSD (*.dat,*.usd,*.ssm,*.sem)|*.dat;*.usd;*.ssm;*.sem");

            if (f != null)
            {
                if (f.ToLower().EndsWith(".sem"))
                {
                    SEMEditorTool d = new SEMEditorTool();
                    {
                        d.Show();
                    }
                    d.OpenSEMFile(f);
                    d.BringToFront();
                }
                else
                if (f.ToLower().EndsWith(".ssm"))
                {
                    SSMTool d = new SSMTool();
                    {
                        d.Show();
                    }
                    d.OpenFile(f);
                    d.BringToFront();
                }
                else
                {
                    OpenFile(f);
                }
            }
        }
示例#4
0
 private void sSMEditorToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ssmTool.Show();
 }