Click here to Skip to main content
15,898,893 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to start a form without being activated? Pin
OriginalGriff21-Oct-17 0:03
mveOriginalGriff21-Oct-17 0:03 
GeneralRe: How to start a form without being activated? Pin
BillWoodruff21-Oct-17 0:27
professionalBillWoodruff21-Oct-17 0:27 
GeneralRe: How to start a form without being activated? Pin
OriginalGriff21-Oct-17 0:41
mveOriginalGriff21-Oct-17 0:41 
GeneralRe: How to start a form without being activated? Pin
alin121-Oct-17 7:04
alin121-Oct-17 7:04 
GeneralRe: How to start a form without being activated? Pin
alin121-Oct-17 7:00
alin121-Oct-17 7:00 
AnswerRe: How to start a form without being activated? Pin
Sascha Lefèvre21-Oct-17 7:20
professionalSascha Lefèvre21-Oct-17 7:20 
GeneralRe: How to start a form without being activated? Pin
alin121-Oct-17 11:40
alin121-Oct-17 11:40 
GeneralRe: How to start a form without being activated? Pin
Sascha Lefèvre21-Oct-17 12:28
professionalSascha Lefèvre21-Oct-17 12:28 
GeneralRe: How to start a form without being activated? Pin
alin121-Oct-17 13:54
alin121-Oct-17 13:54 
GeneralRe: How to start a form without being activated? Pin
Sascha Lefèvre21-Oct-17 20:59
professionalSascha Lefèvre21-Oct-17 20:59 
GeneralRe: How to start a form without being activated? Pin
alin122-Oct-17 1:57
alin122-Oct-17 1:57 
GeneralRe: How to start a form without being activated? Pin
Sascha Lefèvre22-Oct-17 2:07
professionalSascha Lefèvre22-Oct-17 2:07 
GeneralRe: How to start a form without being activated? Pin
alin122-Oct-17 2:17
alin122-Oct-17 2:17 
GeneralRe: How to start a form without being activated? Pin
Sascha Lefèvre22-Oct-17 2:51
professionalSascha Lefèvre22-Oct-17 2:51 
GeneralRe: How to start a form without being activated? Pin
alin122-Oct-17 3:22
alin122-Oct-17 3:22 
GeneralRe: How to start a form without being activated? Pin
Sascha Lefèvre22-Oct-17 3:33
professionalSascha Lefèvre22-Oct-17 3:33 
GeneralRe: How to start a form without being activated? Pin
Sascha Lefèvre22-Oct-17 3:35
professionalSascha Lefèvre22-Oct-17 3:35 
GeneralRe: How to start a form without being activated? Pin
alin122-Oct-17 4:14
alin122-Oct-17 4:14 
GeneralRe: How to start a form without being activated? Pin
Sascha Lefèvre22-Oct-17 4:19
professionalSascha Lefèvre22-Oct-17 4:19 
GeneralRe: How to start a form without being activated? Pin
Sascha Lefèvre22-Oct-17 5:11
professionalSascha Lefèvre22-Oct-17 5:11 
GeneralRe: How to start a form without being activated? Pin
alin122-Oct-17 5:53
alin122-Oct-17 5:53 
AnswerRe: How to start a form without being activated? Pin
Eddy Vluggen21-Oct-17 12:56
professionalEddy Vluggen21-Oct-17 12:56 
GeneralRe: How to start a form without being activated? Pin
alin121-Oct-17 14:22
alin121-Oct-17 14:22 
GeneralRe: How to start a form without being activated? Pin
Dave Kreskowiak22-Oct-17 2:03
mveDave Kreskowiak22-Oct-17 2:03 
GeneralRe: How to start a form without being activated? Pin
alin122-Oct-17 2:12
alin122-Oct-17 2:12 
"Where does this list of files come from and how does the listbox get populated?"

The list is populated with the file names selected by the user in another app (XnView). These file names (complete paths) are passed as arguments.

"How is this app supposed to know how and when "files are selected by the user"?"

When it's launched it read the parameters. If there are parameters it means those are the files selected by the user.

"What do you mean by "has just a listbox with the files selected by the user"?"

The purpose of this app is renaming files in 2 stages: first the source (which files to rename) then the destination (after which file). Because it does its job in background in 2 stages, the user needs a visual prompt to know that he selected the files (that he finished the stage 1). Also if he forgets which files he selected in the first place, he could read the list. That's why I didn't hide the MainForm.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.