Advertisement
le_lukasz

Untitled

Apr 29th, 2021
388
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using System.Windows.Forms;
  10.  
  11. namespace lista_zadan.Kontrolki
  12. {
  13. public partial class LoginControl : UserControl
  14. {
  15. private MainForm mainForm;
  16.  
  17. public LoginControl(MainForm mainForm)
  18. {
  19. InitializeComponent();
  20.  
  21. this.mainForm = mainForm;
  22. Dock = DockStyle.Fill;
  23.  
  24. }
  25.  
  26. private void btnZaloguj_Click(object sender, EventArgs e)
  27. {
  28.  
  29. mainForm.PokazTasksControl();
  30.  
  31. }
  32.  
  33. private void btnZalozKonto_Click(object sender, EventArgs e)
  34. {
  35. mainForm.PokazRegisterControl();
  36. }
  37. }
  38. }
  39.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement