RecommendedConfiguration.cs 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using System.Windows.Forms;
  10. namespace OTSSysMgrApp
  11. {
  12. public partial class RecommendedConfiguration : Form
  13. {
  14. string _lanType = "";
  15. public RecommendedConfiguration(string a_lanType)
  16. {
  17. InitializeComponent();
  18. _lanType = a_lanType;
  19. }
  20. private void RecommendedConfiguration_Load(object sender, EventArgs e)
  21. {
  22. if (_lanType == "ZH")
  23. {
  24. richTextBox_RecommendedConfiguration.Text = " SEM EDS x轴正方向 y轴正方向 100倍下屏幕宽度 分辨率\n";
  25. richTextBox_RecommendedConfiguration.Text += " FEI Oxford 向右为正 向上为正 1270(Polaroid) 1024*704\n";
  26. richTextBox_RecommendedConfiguration.Text += " Bluke 向右为正 向上为正 1270(Polaroid) 1024*768\n";
  27. richTextBox_RecommendedConfiguration.Text += " FEI 向右为正 向上为正 1270(Polaroid) 1536*1024\n";
  28. richTextBox_RecommendedConfiguration.Text += " Zeiss Oxford 向左为正 向下为正 1142(Polaroid) 1024*768\n";
  29. richTextBox_RecommendedConfiguration.Text += " Bluke 向左为正 向下为正 1142(Polaroid) 1024*768\n";
  30. richTextBox_RecommendedConfiguration.Text += " Coxem Oxford 向左为正 向下为正 1972(Polaroid) 1024*768";
  31. }
  32. else
  33. {
  34. richTextBox_RecommendedConfiguration.Text = " SEM EDS X_positive_direction Y_axis_positive_direction ScreenWidth_at_100_magnification resolution\n";
  35. richTextBox_RecommendedConfiguration.Text += " FEI Oxford Right is positive Up is positive 1270(Polaroid) 1024*704\n";
  36. richTextBox_RecommendedConfiguration.Text += " Bluke Right is positive Up is positive 1270(Polaroid) 1024*768\n";
  37. richTextBox_RecommendedConfiguration.Text += " FEI Right is positive Up is positive 1270(Polaroid) 1536*1024\n";
  38. richTextBox_RecommendedConfiguration.Text += " Zeiss Oxford Left Down 1142(Polaroid) 1024*768\n";
  39. richTextBox_RecommendedConfiguration.Text += " Bluke Left Down 1142(Polaroid) 1024*768\n";
  40. richTextBox_RecommendedConfiguration.Text += " Coxem Oxford Left Down 1972(Polaroid) 1024*768";
  41. }
  42. richTextBox_RecommendedConfiguration.Enabled = false;
  43. }
  44. }
  45. }