c# & wpf

  1. E

    Unable To Extract Windows 11 Iso

    good morning all, i been trying for a while to get this code to extract windows 11 iso but just wont give me the path I need I have tried to get the info from the DiscDirectoryInfo but don't get a full name or name or path so trying to extract it is difficult but I have tyied multiple...
  2. S

    ErrorCode XDG0003

    Hi I get the errorCode XDG0003. I can understand (while googeling" that is a name I don't make. And it is the name Path. I have several path. Some I can change to the right one. But some I have problems with. Let's take one of them: <Label x:Name="LblComponentActiveId" Margin="0 0 8 0"...
  3. A

    binding error, cannot find source?

    Hi I am getting this binding error . Can you please explain me the reason behind this and how can I solve it . Please let me know if you need any further data .
  4. A

    Resolved "InverseBooleanConverter" has an incompatible type.

    Hi can you please help me with this error Severity Code Description Project File Line Suppression State Error XDG-0001 The resource "InverseBooleanConverter" has an incompatible type. IntermexDirect.ContainerPluginNet6...
  5. E

    C# check if a 32bit process is running by name on a 64bit os

    Good Morning, so i have a little issue that i have run into well least i think this is the problem, so have tryied the basic, Process[] processes = Process.GetProcessesByName("HydraMobile.exe"); if (processes.Length > 0)...
  6. E

    Datagrid Row Edit get value changed and all values.

    Good morning, i have been trying for a long time now to get row with the edited values or value and to send to update a sqlite db, i know how to handle the updates what i cant seem to achieve here is the selected row with the edited value included so what i have currently the...
  7. E

    pass binding info to another window

    Good afternoon i have a login system that does not use sql it uses a php database on my webserver, what i am trying to sort out is logging in managed to do that fine, but i am trying to retrieve the login information ( aka username ) from the txtbox in wpf and when user logs in it displays...
  8. E

    Resolved the current .net sdk does not support the targeting .net 6.0

    Hello all, woke up this morning booted up my pc and got this error the current .net sdk does not support the targeting .net 6.0 i not made any changes to sdk it has taken me to this line of code, Trigger an error if targeting a higher version of .NET Core or .NET Standard than is...
  9. F

    ICommand interface CanExecute method question

    My program is based on the MVVM structure. In essence the click of a button kicks of a series of calcs with the answers displayed in textboxes. Button is bound to a property of ICommand type in the ViewModel. I currently have: public bool CanExecute(object parameter) {...
  10. TB007

    Resolved How to get the sum value from the selected rows of a datagrid(specific column) following mvvm ?

    I have a Employees model with properties private int _id; public int Id { get { return _id; } set { SetValue(ref _id, value); } } private string...
  11. Taahir10

    I need to create a quiz for a dewey decimal system

    Hi guys, I need to create a quiz for a dewey decimal system. I have decided to use listboxes to match the answers. However I'm not getting anywhere. The case is as follows: Create a txt file that has atleast 100 entries from dewey decimal call outs, must contain 1st level, 2nd level and 3rd...
  12. W

    Resolved How can I change the way, an item of a comboBox is presented as a string?

    Hello, as mentioned in the title, I want to display an item of a comboBox in a textblock as a string. On the first image below you can see how it is currently displayed. The item of the comboBox is called "vegetarisch" and thats also what should only be displayed in the textblock. Thats the...
  13. W

    Question How do I change the style of a checkbox?

    Hello, i have a quick question. How do I change the style of the tick inside a checkbox? Link to an image of my program: checkbox (Can't upload it here)
  14. W

    Resolved WPF How do I share data from one window with another window?

    I created a MainMenu window with three buttons called "Start", "Settings" and "Exit". When you click on Settings, the MainWindow closes and a new Settings window opens up. In the Settings window there are radiobuttons to choose the difficulty and a "save & exit" button. Now I need to transfer...
  15. M

    Button Command binding to the component in ItemsControl

    Hello, I have problem because I have no idea how to bind Command to the button which is inside ToDo Task component. Here is a code example <Grid Background="#FF333333"> <Grid.RowDefinitions> <RowDefinition Height="50"/> <RowDefinition Height="50"/>...
  16. M

    Question How to get full property updated with the contains of a TextBox

    I tried to integrate an example I found on the internet with my application but it doesn't work. Basically. my GUI contains a TextBox where the user can enter a value between 0 and 1. My goal is to check that the entered value is in the range [0,1] and also to have the property DiceThreshold...
  17. SAE

    Question how to call the event of window1 to window 2 in WPF

    The Idea is that when I start the application 2 windows pop up. On mainwindow I have button and on window1 I have label and when I press the button the label color should change. This is what Far have tried so far but it didn't work. What am I doing wrong ? and how to make it work ? Note: in...
  18. SAE

    Question How to make this work if the button and label are in different window

    The Idea is that when I start the application 2 windows pop up. On mainwindow I have button and on window1 I have label and when I press the button the label color should change. This is what Far have tried so far but it didn't work. What am I doing wrong ? and how to make it work ? Note: in...
  19. M

    ListBox cascade

    I am working with patient data in a hospital. A patient can have multiple CT scans. Every CT scan may have several linked structure-sets Every structure-set contains several structures. I managed to display a list of structure names directly from a PostgreSQL table. The next step is to...
  20. DanielBA

    WPF Tweening Rectangle not working

    I have made a custom wpf Control and I have been trying to create a method of Position Tweening to it. I have followed the Microsoft Docs explanations but to no avail. Can someone tell me why does this code don`t work? NameScope.SetNameScope(_Rectangle, new NameScope()); RectAnimation a = new...
Back
Top Bottom