Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public partial class Form1 : Form
- {
- private AddTip addTip;
- private AddTipPresenter addTipPresenter;
- public Form1()
- {
- InitializeComponent();
- //Creates user control;
- addTip = new AddTip();
- //Adds user control
- this.Controls.Add(addTip);
- //Hides home control
- this.homeControl.Hide();
- //Shows AddTip Control
- addTip.Show();
- //Creates the AddTipPresenter
- addTipPresenter = new AddTipPresenter(addTip);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement