/// <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(); }
/// <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); } } }
/// <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); } } }
private void sSMEditorToolStripMenuItem_Click(object sender, EventArgs e) { ssmTool.Show(); }