Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Context menus to master #2

Merged
merged 10 commits into from Jul 23, 2021

Conversation

Marfjeh
Copy link
Contributor

@Marfjeh Marfjeh commented Jul 22, 2021

Hi, I never realized you did merge some of my changes to your repo. :D

As this is still kind of a Work in Progress, most of the context menus are implemented, I committed some of the changes I never pushed to GitHub, and after a year of using it, as I use this program for my Windows VM on Linux it is very useful.
Only that is not implemented yet are the copy and move actions.
For the copy and move, I'm going to make a new Form that will closely reassemble the one in Windows 3.x. (without the 3.x title bar)
afbeelding

For this, I will make another branch and merge it to this branch so you can merge this in 1 go.
If you want, and I will leave that up to you, you can already merge this branch as most of the features are now functional except for copy and move. If you do and when I implemented the copy and move commands then I'll make a new PR if you want.

some of the planned things:

  • add the ability to change the icon. to reassemble the one in Windows 3.x
    afbeelding

Thanks!

Marfjeh and others added 10 commits May 29, 2020 14:48
FormChild.cs:
+ Open menu works now
+ Open file location works now, it opens up a explorer.exe shell to select the file.
+ Run as administrator works if you're above NT 6.0
* Renamed "Cut" to "Move icon to..." Not functinal yet. [note 1]
* Renamed "Copy" to "Copy icon to..." Not functinal yet. [note 1]
- Deleted "Paste" menu item
+ Added new menu when you did not select anything, so you can add a item.

note 1:
This will open up a new form where you can choose where to copy/move the icon to.

FromProperties.cs:
+ WIP: Properties dialog where you also can change the icon.
When making a new group and right clicking with no items will cause a
nullpointerexception. This commit checks if the focuesed item is null.

Signed-off-by: marfjeh <git@marfprojects.nl>
- Removed redunded FormProperties.

Signed-off-by: marfjeh <git@marfprojects.nl>
+ Added a properties menu entry when right clicking in the mdichild to rename the mdichild.
* Changed line break from FormMain to CRLF as visual studio was complainging/crying about it
- Disabled the non-functional "Copy to" and "Move to" Menu entries as i'm going need making a new form for this.

Problems found:
	When a icon entry gets deleted from the system, it does not get removed in the database, and at every start it will complain about it.

Signed-off-by: marfjeh <git@marfprojects.nl>
… feature/contextmenu

Signed-off-by: marfjeh <git@marfprojects.nl>
Signed-off-by: marfjeh <git@marfprojects.nl>
…ound.

Signed-off-by: marfjeh <git@marfprojects.nl>
Signed-off-by: marfjeh <git@marfprojects.nl>
@veselcraft
Copy link
Owner

veselcraft commented Jul 23, 2021

Thank you for this PR! This does really brings back that experience from 90s! Sadly, I no longer use C# and Visual Studio, so i can give you access to commit changes directly

@veselcraft veselcraft merged commit e77c9ff into veselcraft:master Jul 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants