MainFrame.cs 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. using DllPubInfo;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.ComponentModel;
  5. using System.Data;
  6. using System.Drawing;
  7. using System.Linq;
  8. using System.Text;
  9. using System.Threading.Tasks;
  10. using System.Windows.Forms;
  11. namespace EapMainFrame
  12. {
  13. public partial class MainFrame : Form
  14. {
  15. public MainFrame()
  16. {
  17. InitializeComponent();
  18. }
  19. private void button9_Click(object sender, EventArgs e)
  20. {
  21. //Guid tt = Guid.Empty;
  22. DllEapUi.MacModelQuery temp = new DllEapUi.MacModelQuery();
  23. temp.Show();
  24. }
  25. private void button1_Click(object sender, EventArgs e)
  26. {
  27. DllEapUi.SecQuery temp = new DllEapUi.SecQuery();
  28. temp.Show();
  29. }
  30. private void button2_Click(object sender, EventArgs e)
  31. {
  32. //DllMes.JobbookingMerge temp = new DllMes.JobbookingMerge();
  33. //temp.Show();
  34. }
  35. private void button3_Click(object sender, EventArgs e)
  36. {
  37. //DllConfigSec.EventReportMstQuery temp = new DllConfigSec.EventReportMstQuery();
  38. //temp.Show();
  39. }
  40. private void button4_Click(object sender, EventArgs e)
  41. {
  42. DllEapUi.ReportMstQuery temp = new DllEapUi.ReportMstQuery();
  43. temp.Show();
  44. }
  45. private void button5_Click(object sender, EventArgs e)
  46. {
  47. DllEapUi.MacOrderQuery temp = new DllEapUi.MacOrderQuery();
  48. temp.Show();
  49. }
  50. private void button6_Click(object sender, EventArgs e)
  51. {
  52. DllEapUi.MachineQuery temp = new DllEapUi.MachineQuery();
  53. temp.Show();
  54. }
  55. private void button7_Click(object sender, EventArgs e)
  56. {
  57. DllEapUi.OrderMstQuery temp = new DllEapUi.OrderMstQuery();
  58. temp.Show();
  59. }
  60. tempclass ttclass = new tempclass();
  61. private void button8_Click(object sender, EventArgs e)
  62. {
  63. //DllConfigSec.SecMstQuery temp = new DllConfigSec.SecMstQuery();
  64. //temp.Show();
  65. }
  66. //private JobBooking CallTrackIn()
  67. //{
  68. // try
  69. // {
  70. // JobBooking tempds = new JobBooking();
  71. // JobBooking reds = PubInfo.CallFunction<JobBooking>("DllMesAcc.MesServer", "TrackInTest", tempds);
  72. // if (reds == null)
  73. // return null;
  74. // return reds;
  75. // }
  76. // catch (Exception e)
  77. // {
  78. // MessageBox.Show(e.Message);
  79. // return null;
  80. // }
  81. //}
  82. private void MainFrame_Load(object sender, EventArgs e)
  83. {
  84. this.Text = $"无锡麟力科技有限公司(操作员:{PubInfo.username})";
  85. }
  86. private void button10_Click(object sender, EventArgs e)
  87. {
  88. //DllConfigSec.McaEventQuery temp = new DllConfigSec.McaEventQuery();
  89. //temp.Show();
  90. }
  91. }
  92. public class tempclass
  93. {
  94. public mystruct tempstruct { get; set; }
  95. }
  96. public struct mystruct
  97. {
  98. public int id { get; set; }
  99. }
  100. }