I developed (C# WinForm) a very simple ribbon bar menu similar to the one used in Office 2016.
The part I do not know how to get start with is the "File" menu. If you are familiar with Office 2016 you know that when you click on "File" you get a page in which you have a menu on the left side, a column with "places" where to search for files, and the list of MRU files.
I like this page but I do not know how to implement it. I was planning to show a panel that overlaps to the app (maybe adding a fade-in/out effect) but it sounds more like "the poor developer" solution. I would appreciate any piece of info/idea/reference that can help me to understand how to show that "page"...then I can figure out how to populate info on it.
Thank you!
Nicola
Related
Hey all I have been searching Google for a while now trying to find anything on how to go about setting up you're own button on the VS toolbar.
What I am talking about is this:
And when I click on that button I would like to be able to execute some C# code.
As an example, say I had the word "HELLO" highlighted and I pushed on that button on the toolbar and I wrote some code behind it that, when pressed, have whatever is highlighted turn bold and change color from normal BLACK to .
I was originally thinking that it was called Visual Studio Extensibility Tools but that doesn't seem to be what I am looking for here - it seemed more as a Nuget plugin type of thing?
I'm looking for more like what you can do with the Office suite of products within VS addins - As in make a button for Outlooks toolbar, etc..
The only remotely close thing I could find so far would be this.
If anyone has done this before or at least know what to search for then please let me know!
You were on the right track with Visual Studio Extensiblilty tools.
There are several steps.
Create the Toolbar and add the button.
Create the event handler that runs when the button is clicked.
Determine what document has focus (c# doc, xml doc, vb doc, etc.)
Determine what is selected in the document.
Change the code formatting
Start with an overview of the Extensions SDK.
Here's how to create a toolbar with the VS extensions.
Creating a Toolbar for the IDE
I'm working on a WPF project, for desktop screen capture, and it opens .pptx files. But when I'm about to click on PP13 to open one presentation it automatically extends display to show two views: pc display in presentation helper mode and the other one with the full slides.
I know I can disable it through File>Options>Advanced>Display but I'd like to do it with C#. I can't find any way so I hope someone knows if it can be done and has some sort of solution. Is it possible?
Thanks in advance!
I had to create a Toolbar for IE using C#. After much research in the internet and few examples from code project, I have created one. Even the horrible installer/uninstaller part is done. My toolbar basically Searchbar which does a search of the things that the user enter inside the text box. Im using Google and Bing as the search engine of which the user can choose anyone as per his/her convinience. However I would like to make few changes to the Toolbar and I'm wondering how to go ahead in that.
After installing the toolbar I'm finding it somewhere near the MenuBar(after the Tools and Help menu). Is there a way to change the location of the toolbar in IE Browser using C#
I would like to create an Icon somewhere in this area
How should i approach towards this?
I also want to add an uninstall button on which when the user clicks will uninstall the toolbar from IE.
So far I havent been able to achieve any of this. Any help would be really appreciated.
I am developing an c# application.
Whenever my window gets activated, I want to get the highlighted/selected text on any windows applications (like word, excel, sharepoint portal, web browser, etc.,).
How to do this with C#?
I will really appreciate if someone comes up with a small sample instead of suggesting the links.
Thanks in Advance !
Let me explain it again in detail
I have to create a search application in c#.
Suppose if i select a text "vimal" in internet explorer (or word or excel or any application) and open the Search application then word "vimal" should be displayed in the search application.
Hope the requirement is clear now.
This is impossible for any application. Every application handles text differently.
They may have multiple (rich or not) text boxes that keep the text selected, etc.
Some other applications might use custom controls with custom selection logic...
This is impossible. Correct me if I am wrong (but it won't be the case).
Edit: Read the second answer in your own link.
Hello there and Merry Christmas !!!
I am new to WPF and I am trying to build a text editor for a assembly language. The assembler provides me a two lists:
a list of errors
a list of warnings
My editor should have the ability to inport the contents of a file and display it in a text-panel. I want it to be similar to Visual Studio. Line numbers on the side. And a tabbed pane for the warning/error messages.
Each list element contains the line number as an Int and a String that contains the error/warning message. (It would be really cool if I could click on it in the tabbed pane and it would jump to that line and highlight it.)
How I said I am new to WPF, I don't know the control library and I don't have too much time to dig and get friendly with google.
So I would really appreciate it if someone could point me to at least the controls I need to develop my GUI.
My best regards,
John
Free one http://blog.bodurov.com/Wpf-Source-Code-Editor
All I has for you is two links:
CodeyProject
Commercial one (SandDock)
Our SyntaxEditor for WPF control was just released to the public last week. It is a syntax-highlighting code editor control similar to the Visual Studio 2010 editor. You can find more info about the control here:
www.actiprosoftware.com/Products/DotNet/WPF/SyntaxEditor/