MainContract.cs 866 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. using CefSharp.WinForms;
  2. using efunbox_xyyf_windows.baseMvp;
  3. using efunbox_xyyf_windows.util;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using System.Windows.Forms;
  10. namespace efunbox_xyyf_windows.contract
  11. {
  12. public class MainContract
  13. {
  14. public interface IModel :BaseModel{
  15. HttpResult getLenvIdByToken(HttpItem httpItem);
  16. }
  17. public interface IView : BaseView
  18. {
  19. ProgressBar getLoadingBar();
  20. ChromiumWebBrowser getWebView();
  21. void getLenvIdSuccess();
  22. }
  23. public interface IPresenter
  24. {
  25. void initWebView(ChromiumWebBrowser webview);
  26. string getWebUrl();
  27. void getLenvIdByToken();
  28. void LenvAutoLogin();
  29. }
  30. }
  31. }