private void transparentViewImage_MouseDown(object sender, MouseButtonEventArgs e) { if (AllowsTransparency) { EcosystemExplorerWindow ecosystemExplorer = new EcosystemExplorerWindow(); ecosystemExplorer.Show(); Close(); } else { EcosystemExplorerWindow ecosystemExplorer = new EcosystemExplorerWindow { AllowsTransparency = true, WindowStyle = WindowStyle.None, Background = null }; ecosystemExplorer.Show(); Close(); } }
private void duplicateWindowImage_MouseDown(object sender, MouseButtonEventArgs e) { EcosystemExplorerWindow ecosystemExplorer = new EcosystemExplorerWindow(); ecosystemExplorer.Show(); }