PC Review


Reply
Thread Tools Rate Thread

Creating a tutorial

 
 
MySelf
Guest
Posts: n/a
 
      15th Mar 2011
Hello,

I work in C-Sharp on a winform application.

I am creating a tutorial for using some kind of reader. So when the
user click on a button, I first display a small winform A to show text
information. When the user click "Next", I close this window and
display a big one (B) which will show pictures and explanation of
several steps of reader handling (with Next button to change step).
Here is the code I use (when user click "Launch tutorial" button:

// Launch tutorial to explain how to use reader
var wstutorial = new ReaderTutorialWelcomeScreen();
var dr = wstutorial.ShowDialog();

if (dr == DialogResult.OK)
{
var readerTutorial = new ReaderTutorial();
dr= readerTutorial.ShowDialog();
}

wstutorial is window A and readerTutorial is window B.

But now, I'm being asked that when window B show step 1 of
explanations, and if user click Previous button, window B close and
window A show again.

Is there a simple method to change my tutorial so this behaviour can be
implemented ?

Thank you for any help.


 
Reply With Quote
 
 
 
 
MySelf
Guest
Posts: n/a
 
      15th Mar 2011
> // Launch tutorial to explain how to use reader
> var wstutorial = new ReaderTutorialWelcomeScreen();
> var dr = wstutorial.ShowDialog();
>
> if (dr == DialogResult.OK)
> {
> var readerTutorial = new ReaderTutorial();
> dr= readerTutorial.ShowDialog();
> }


wstutorial.ShowDialog() return DialogResult.OK when user click on Next
button.


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Advice or tutorial on creating variables from clkipboard contents lrollo@paradise.net.nz Microsoft Excel New Users 1 22nd Oct 2007 11:43 AM
Re: Tutorial: Creating and distributing custom forms with Outlook Ken Slovak - [MVP - Outlook] Microsoft Outlook Form Programming 0 21st Dec 2006 03:03 PM
Tutorial on creating & formating a word doc from excel STEVE BELL Microsoft Excel Programming 4 12th Dec 2005 06:52 PM
Creating 3D Transitions in PowerPoint tutorial =?Utf-8?B?UFBUTWFnaWNpYW4=?= Microsoft Powerpoint 1 24th Sep 2005 06:28 AM
Tutorial for creating assemblies Tom Edelbrok Microsoft VB .NET 1 7th Mar 2005 02:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:47 PM.