Casianm8
Casianm8
CC#
Created by SAFE on 9/12/2024 in #help
Cant find design view for win form
No description
23 replies
CC#
Created by SAFE on 9/12/2024 in #help
Cant find design view for win form
No description
23 replies
CC#
Created by SAFE on 9/12/2024 in #help
Cant find design view for win form
If u don't have solution explorer on you'r project u can go ->> Window -> Reset Window Layouts
23 replies
CC#
Created by SAFE on 9/12/2024 in #help
Cant find design view for win form
Can u send me a picture when u are in project ?
23 replies
CC#
Created by SAFE on 9/12/2024 in #help
Cant find design view for win form
Hey
23 replies
CC#
Created by Strax on 9/12/2024 in #help
2FA? Is it hard to implement?
Awesome
45 replies
CC#
Created by Strax on 9/12/2024 in #help
2FA? Is it hard to implement?
to use for Google Auth
45 replies
CC#
Created by Strax on 9/12/2024 in #help
2FA? Is it hard to implement?
45 replies
CC#
Created by Strax on 9/12/2024 in #help
2FA? Is it hard to implement?
and send requests with payload data
45 replies
CC#
Created by Strax on 9/12/2024 in #help
2FA? Is it hard to implement?
To send sms u can use api
45 replies
CC#
Created by Strax on 9/12/2024 in #help
2FA? Is it hard to implement?
And this is not so hard to make
45 replies
CC#
Created by Strax on 9/12/2024 in #help
2FA? Is it hard to implement?
Hei. U can 2fa auth using OTP. Like to send 6 digits code on email or on phone
45 replies
CC#
Created by Gipper on 9/11/2024 in #help
How can I use wpf with c++?
8 replies
CC#
Created by Mustafa on 9/11/2024 in #help
When I select a category from a picker, I want only its children to appear in the other picker
6 replies
CC#
Created by Mustafa on 9/11/2024 in #help
When I select a category from a picker, I want only its children to appear in the other picker
Here is corrected code:
6 replies
CC#
Created by Mustafa on 9/11/2024 in #help
When I select a category from a picker, I want only its children to appear in the other picker
// and add on every list like this

private List<Category> _SubChild_categories = new List<Category>();
public List<Category> SubChild_Categories
{
get { return _SubChild_categories; }
set { _SubChild_categories = value;
OnPropertyChanged();
}
}

private List<Category> _child_categories = new List<Category>();
public List<Category> Child_Categories
{
get { return _child_categories; }
set { _child_categories = value;
OnPropertyChanged();
}
}
// and add on every list like this

private List<Category> _SubChild_categories = new List<Category>();
public List<Category> SubChild_Categories
{
get { return _SubChild_categories; }
set { _SubChild_categories = value;
OnPropertyChanged();
}
}

private List<Category> _child_categories = new List<Category>();
public List<Category> Child_Categories
{
get { return _child_categories; }
set { _child_categories = value;
OnPropertyChanged();
}
}
->> So that the lists are updated every time.
6 replies
CC#
Created by Mustafa on 9/11/2024 in #help
When I select a category from a picker, I want only its children to appear in the other picker
// When you create the attributes, try to make them all according to this model (search the internet why)

private int? _category_Id;
public int? CategoryId
{
get { return _category_Id; }
set { _category_Id = value;
OnPropertyChanged();
}
}

// and here u can delete:
[You can delete from Category.cs what is (Virtual): It is used to overwrite a method from one class to another (override) and it is not the case for you (search the internet for what it is used for). Look to see what polymorphism means or what it is used for on chatgpt].
// When you create the attributes, try to make them all according to this model (search the internet why)

private int? _category_Id;
public int? CategoryId
{
get { return _category_Id; }
set { _category_Id = value;
OnPropertyChanged();
}
}

// and here u can delete:
[You can delete from Category.cs what is (Virtual): It is used to overwrite a method from one class to another (override) and it is not the case for you (search the internet for what it is used for). Look to see what polymorphism means or what it is used for on chatgpt].
6 replies
CC#
Created by Mustafa on 9/11/2024 in #help
When I select a category from a picker, I want only its children to appear in the other picker
Guide: 1. We will use the "Category.cs" class as a model... and the "CategoryViewModel" class as a viewmodel. - Each attribute in Category.cs must have OnPropertyChanged() to perceive the new values. - You can delete from Category.cs what is (Virtual): It is used to overwrite a method from one class to another (override) and it is not the case for you (search the internet for what it is used for). Look to see what polymorphism means or what it is used for on chatgpt. - Check if the list is initialized in the constructor of the class in which you have the two filter methods. - When you want to use the Selected... attribute from the ViewModel, it would be advisable to delete the .Clear property at the time of filtering.
6 replies