private void OpenNewCustomWindow(string url) { CustomWindow newWindow = new CustomWindow(this, url); windows.Add(newWindow); newWindow.Show(); }
private void OpenNewCustomWindow(string url, bool hideBorder = false) { CustomWindow newWindow = new CustomWindow(this, url); windows.Add(newWindow); newWindow.Show(); if (hideBorder) { newWindow.hideBorders(); } }