Hello, I'm new here.
I'm here for help with something, a project I thought I would start.
It is small, but I thought it would be fun to program.
Basically, I'm going for a program that has a NotifyIcon and a ContextMenuStrip
working together to create a program launcher.
I began by adding all the necessary controls and setting the properties.
Next I set up StreamReader for a text file I will be using to save program paths.
This brought me to problem one.
StreamReader and individual lines of text.
I'm essentially in the dark in this area, and for my program, I'm aiming for the NotifyIcon's ContextMenuStrip's buttons(Long title) to display the names or paths of the program. So I need to add individual lines to each button.
I thought I would come back to that, so I moved on to the next thing, adding buttons to the ContextMenuStrip.
I have buttons already in place, like Add Program, Remove Program and Programs(for the actual list) but I need to be able to add buttons to those.
Kind of like sub-buttons.
If that didn't make any sense, I mean like when you hover your mouse over a button and another menu pops up.
Well, thanks for reading.
Any responses would be appreciated.
I'm here for help with something, a project I thought I would start.
It is small, but I thought it would be fun to program.
Basically, I'm going for a program that has a NotifyIcon and a ContextMenuStrip
working together to create a program launcher.
I began by adding all the necessary controls and setting the properties.
Next I set up StreamReader for a text file I will be using to save program paths.
This brought me to problem one.
StreamReader and individual lines of text.
I'm essentially in the dark in this area, and for my program, I'm aiming for the NotifyIcon's ContextMenuStrip's buttons(Long title) to display the names or paths of the program. So I need to add individual lines to each button.
I thought I would come back to that, so I moved on to the next thing, adding buttons to the ContextMenuStrip.
I have buttons already in place, like Add Program, Remove Program and Programs(for the actual list) but I need to be able to add buttons to those.
Kind of like sub-buttons.
If that didn't make any sense, I mean like when you hover your mouse over a button and another menu pops up.
Well, thanks for reading.
Any responses would be appreciated.