public History(ControlData mycontrol, MyBrowser main)
 {
     mainWindows            = main;
     this.historyControlObj = mycontrol;
     InitializeComponent();
     MyListOfHistory.DataSource = mycontrol.GetHistoryControl();
     MyListOfHistory.Show();
 }
 public FavoritesName(ControlData myControl, MyBrowser mainWindow)
 {
     this.mainWindow = mainWindow;
     this.myControl  = myControl;
     InitializeComponent();
 }