You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
732 B

1 month ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.IO;
  7. using System.Linq;
  8. using System.Text;
  9. using System.Threading.Tasks;
  10. using System.Windows.Forms;
  11. namespace ShenTun.ImageCollection.AForgeCamera
  12. {
  13. public partial class FrmImageEdit : Form
  14. {
  15. private MemoryStream stream;
  16. private string filePath;
  17. public FrmImageEdit(MemoryStream memory,string _filePath)
  18. {
  19. InitializeComponent();
  20. stream = memory;
  21. filePath = _filePath;
  22. }
  23. private void FrmImageEdit_Load(object sender, EventArgs e)
  24. {
  25. imageEdit1.Init(stream, filePath);
  26. }
  27. }
  28. }