SimpleLoading.cs 701 B

1234567891011121314151617181920212223242526272829303132333435
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Drawing;
  5. using System.Data;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using System.Windows.Forms;
  10. namespace Y.Controls.Loadings
  11. {
  12. public partial class SimpleLoading : UserControl
  13. {
  14. public SimpleLoading()
  15. {
  16. InitializeComponent();
  17. }
  18. private void SimpleLoading_Load(object sender, EventArgs e)
  19. {
  20. }
  21. public void ShowIt()
  22. {
  23. Dock = DockStyle.Fill;
  24. Show();
  25. }
  26. public void HideIt()
  27. {
  28. Dock = DockStyle.None;
  29. Hide();
  30. }
  31. }
  32. }