How i can edit Elysium Theme from current project? - c#

How i can edit Ellysium Theme from current project?
Need to edit all colors and other feaches!
I can't find place in my project, where i can edit soure code of current theme. this
All works great, but in standart Elysium controls.
thanks.

I'm not sure of what the exact filename is for the ellysium theme Resource Dictionary but if you open you App.xaml you should find its path reference under your Merged Dictionaries to find it. Once you have that, you can just open the file and edit the values accordingly.
If you're using Expression Blend this tasks is even easier since you should have the Resource Dictionary listed under your "Resources" tab (top right by default) and can individually edit each Style Template from there. Hope this helps.
(You might encourage them to address this under their actual CodePlex project since last time I checked all it had for Documentation was something like "Coming Soon" or something like that...)

Related

How do I make changes to AppConfig userSettings?

So I was having trouble adding a new App.Config userSettings. Without any knowledge. I tried to set the configuration directly in the app.config HML. Files get overwritten. It stays in App.Config but it does not show up in the Settings.Designer or IntelliSense. I know it should show up in the
IntelliSense because the configured userSettings that are already present do.
How do you correctly configure a user setting?
Maybe, this question is a duplicate of this: How to save application settings in a Windows Forms Application?
I guess I would accept that, but it was difficult to find the answer to the question starting from the point of view I started with. I think that there are allot of well meaning souls like me that try to directly edit the app.config file to achieve this and wonder why they get nowhere fast. These askers are are unsure where to find the correct answer. I also suspect that other well meaning souls that answer their questions assuming that the questioner was asking from a prospective where they knew the answer to this question. This of course makes understanding difficult to reach for the original seeker of knowledge.
Answer: I checked Microsoft to learn more and found this link:
https://learn.microsoft.com/en-us/dotnet/framework/winforms/advanced/how-to-create-a-new-setting-at-design-time
which says this:
Open Visual Studio.
In Solution Explorer, right-click your project node and choose Properties.
In the Properties page, select the Settings tab.
In the Settings designer, set the Name, Value, Type, and Scope for your setting. Each row represents a single setting.
I found that I could even use custom types like my enum, which vs will convert from a string in the HML.
Now this procedure populates App.config and Settings.Designer.cs with the setting for you. It shows up in IntelliSense too. Fantastic!
Note: The settings can also be accessed by Settings.Settings.
Now I have noticed, since I continually seem to want to get under the hood and do things in an undocumented way: It is possible to directly edit the Settings.Settings file. Don't do that either, That will get you pretty far but the settings you configure there will not persist when you build.

making a TreeView of our own file explorer

I'm trying to get a file explorer on c# and I have found nothing about this. Is c# provide a file explorer already ready to work?
If not, is TreeView a good idea to create mine? Have you got some link to perform this?
Thanks in advance for these informations.
C# Doesn't provide file explorer tree as it is, but if you want to create a dialog for selecting the folder you can use FolderBrowserDialog(full dialog for folder selection)
However if you want to create one, yes, It is easy to do it with WPF TreeView.
As a hint
Take TreeView, write HiearchyDataProvider which provides files and folders and templates for each node to display icons and so on
P.S.
Simple google search shows a lot of ready-samples

What is 'TextFile' and where it is uses in WPF project

i want to know about the use of 'TextFile' item in wpf project-
1)I am Create a project in VS2010 .
2)write click on project(Or click on 'Project Tab in MenuBar')-->select 'Add New Item'--> in open dialog box,appear 'TextFile' option. see in picture.-
That's just a text file. It does nothing.
As with any other file, you are free to include it in your project as a resource, and perhaps load it at runtime via GetResourceStream() or something.
To expand on the previous answer, text files can be very useful in a number of ways, especially if you have multiple people working on a project. Adding a todo list or instructions to other developers in the project tree itself makes them more obvious.
It also helps to keep them up-to-date when using code revision control.
(Would have commented but not enough reputation... the previous answer sums it up)
I add 'TextFile' in project ,now problem is ,How to access it(Or Open it) on Button click Event.

Tool for renaming the resource keys and their occurences in the source files

Is there any Workaround/Tool for renaming the Resource Keys from the resource file .
I also need to replace all such occurences in the source code with my new (renamed resource key).
Is there any tool available to automate this task.?
Could someone put in some thoughts on this.?
thanks,
vijay
I think that the latest version of Resharper provides some resource refactoring tools. There is also a tool called RGreatEx you might want to have a look at.
You probably realize this, but the resx files are simple xml docs. You can open them in your favorite text editor and edit with find/replace, regular expression, vim, keyboard macro's. I doesn't give you a one stop shop to rename resources in the resx and the code at the same time, but might still be a viable option

C# File Browsing w/ Checkboxes

Ok, so this question kind of builds on my last one. I am trying to build a "file browser" but it will do other things.
What I am trying to accomplish:
Have a tab dedicated to listing files just like "Browse Files" except I want to be able
check certain files and directories. I also want the functionality of "Browse Files" as
change location.
Get value's from checkboxes to apply elsewhere.
The question's kinda vague. We really need a basic implementation to build on or we might be giving you bad advice.
That said, here are some links that might help you get started:
SplitContainer control (in the toolbox)
ListView control (in the toolbox)
Get File Icon used by Shell

Categories