windows-10

Why is my WPF style for CornerRadius not being applied in Windows 7?

自古美人都是妖i 提交于 2020-02-06 08:45:11
问题 I created a simple WPF App while answering an SO question, my solution works on my Windows 10 machine, but when I run the app on my Windows 7 laptop the style isn't being applied. I believe this is something to do with Window's style setting over riding my style, how can I force it to use mine instead? I'm running the same .exe on both machines. <Window.Resources> <Style x:Key="CircleButton" TargetType="Button"> <Style.Resources> <Style TargetType="{x:Type Border}"> <Setter Property=

Why is my WPF style for CornerRadius not being applied in Windows 7?

不羁的心 提交于 2020-02-06 08:44:12
问题 I created a simple WPF App while answering an SO question, my solution works on my Windows 10 machine, but when I run the app on my Windows 7 laptop the style isn't being applied. I believe this is something to do with Window's style setting over riding my style, how can I force it to use mine instead? I'm running the same .exe on both machines. <Window.Resources> <Style x:Key="CircleButton" TargetType="Button"> <Style.Resources> <Style TargetType="{x:Type Border}"> <Setter Property=

How to deal with Kivy installing error in Python?

血红的双手。 提交于 2020-02-05 08:27:43
问题 I have installed every necessary code in Python from Kivy, but the last one I need which one is python -m pip install kivy gets me an error like this: ERROR: Dependency for context.pyx not resolved: config.pxi ERROR: Dependency for compiler.pyx not resolved: config.pxi ERROR: Dependency for context_instructions.pyx not resolved: config.pxi ERROR: Dependency for fbo.pyx not resolved: config.pxi ERROR: Dependency for gl_instructions.pyx not resolved: config.pxi ERROR: Dependency for

Installing git on Windows 10, unable to access .gitconfig

末鹿安然 提交于 2020-02-02 06:00:16
问题 I'm new to git, and i'm trying to install git 2.9.2 from here. In the installation (the last of the many) i chose to run it from bash only. I now try to set it up, and the first thing i try is to set my name with $ git config --global user.name "My Name" But after i execute this, i get: fatal: unable to access 'C:\Program Files\Git\ C:\Windows\system32\config\systemprofile/.config/git/config': Invalid argument Let's say that i now want to clone a repository. I insert something like: git clone

Can't find or load main class to make a Javafx jar in IntelliJ IDEA

耗尽温柔 提交于 2020-01-30 08:58:26
问题 I made my first Javafx Application in IntellIJ IDEA it runs perfectly but i have a problem. I can't make an executable jar for this Application. To be more explicit whenever i try to search for the main class i can't find it in the artifact tab. I tried making a normal jar (in the artifacts menu they give you the choice between normal jar and javafx application jar) and the main is detected. 回答1: It's a known issue. You can type the fully qualified class name manually as the workaround ( foo

Install an appx or appxbundle in a Windows Phone 10?

早过忘川 提交于 2020-01-30 08:27:05
问题 I'm developing an UWP app which is running without any troubles when it's being debugged using VS2015 but when it's installed using an appx or appxbundle. I've read many packaging and installation guides and it doesn't seem I'm leaving steps out (I just need to deploy the app in a device for testing purposes only), but this behavior makes me wonder if maybe I am... I'm not sure if I've let enough information but I really don't know what else to explain :( Could anyone tell me what should I do

WindowStyle None and touch input

吃可爱长大的小学妹 提交于 2020-01-30 08:25:47
问题 In Windows 10, when using touch device like Surface, touching an input control like a TextBox in a not maximized window, causes moving the whole window up, so that the user can see what he is typing (if keyboard is docked). But it does not happen when WindowStyle is set to none . Why it does not happen? We need this behavior in our app. Can it be fixed on WindowStyle=None? I found it's not connected with it's style - there are no build in triggers or something. We need WindowsStyle=None for

Windows 10 emulator not working in visual studio 2015

时光怂恿深爱的人放手 提交于 2020-01-25 12:25:28
问题 I have visual studio 2015 and windows 10 Home edition . when I have run the project Emulator following error occur. 回答1: Hyper-V is not included in Windows 10 Home Edition. It is only available in the Pro or Enterprise Editions. 来源: https://stackoverflow.com/questions/34401527/windows-10-emulator-not-working-in-visual-studio-2015

UWP - exclude navigation from back button stack

别等时光非礼了梦想. 提交于 2020-01-25 03:13:05
问题 I have 3 pages. Page A, B and C. The situation looks like this: On all 3 screens I'm working with one object e. g. Car . Those to buttons mean that if I click such a button, I will navigate to the page by Frame.Navigate(typeof(...), Car) passing the Car reference. On back button press I want to just go back without passing any parameters. The problem is that when I press to C and then to B e. g. 5 times, then when navigating via back button from page B it goes like this. C -> B -> C -> B -> C

Google Cloud SDK installation fails on Windows 10

血红的双手。 提交于 2020-01-24 21:35:30
问题 When I tried to install Google Cloud SDK, it fails: Welcome to the Google Cloud SDK! To use the Google Cloud SDK, you must have Python installed and on your PATH. As an alternative, you may also set the CLOUDSDK_PYTHON environment variable to the location of your Python executable. Google Cloud SDK installer will now exit. Press any key to continue . . . I installed Python and copied system32 path in system variable and environment variable even, but still fails. What's going wrong? 回答1: I