示例#1
0
 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();
     }
 }
示例#2
0
        private void duplicateWindowImage_MouseDown(object sender, MouseButtonEventArgs e)
        {
            EcosystemExplorerWindow ecosystemExplorer = new EcosystemExplorerWindow();

            ecosystemExplorer.Show();
        }