ShowPictureBox.cs 976 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. using NetSDKCS;
  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 BeltScaleSystem
  12. {
  13. public partial class ShowPictureBox : Form
  14. {
  15. IntPtr _PlayID = IntPtr.Zero;
  16. IntPtr _LoginID = IntPtr.Zero;
  17. public ShowPictureBox(IntPtr PlayID, IntPtr LoginID)
  18. {
  19. InitializeComponent();
  20. _PlayID = PlayID;
  21. _LoginID = LoginID;
  22. }
  23. private void ShowPictureBox_Load(object sender, EventArgs e)
  24. {
  25. _PlayID = NETClient.RealPlay(_LoginID, 0, this.pictureBox1.Handle);
  26. }
  27. private void pictureBox1_DoubleClick(object sender, EventArgs e)
  28. {
  29. this.Close();
  30. }
  31. private void ShowPictureBox_FormClosing(object sender, FormClosingEventArgs e)
  32. {
  33. }
  34. }
  35. }