473,386 Members | 1,738 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Activation

I'm trying to make a UI with C# to connect to SQL DB & retrieve data from
the tables
i want to make for example 3 forms , the first one has some data from
certain table
when checked or choosen it drives me to another form having other data
& so on
i use add & remove pannels
as in the click event of the control on pannel1 it removes this pannel &
add pannel2 which retirve this data in it & so on

i wannna make a back button & forward button
how could i get the Active Panel to tell him what is the prevous & next
pannel ,
i used this.Active control , but didnt work ?? coz the active control
at this time is the button :)
and is it better to make it using forms insead of pannels
, but the problem is that when i show a form

it's opened over the excisting one !!

plzzzzz help & sample code if possible
other question is there a ready code for such application
as a full project with add , edit & delete to the DB
is there any other useful links that could help in that
or PDF doc plzz tell me .

Nov 16 '05 #1
1 1198
In general, you want to use the 'memento' design pattern.
This is the same kind of operation as Edit-Undo and Edit-Redo.

Google 'Memento Design Pattern' and you'll get a large number of useful
hits.
--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"tota" <to**@discussions.microsoft.com> wrote in message
news:D8**********************************@microsof t.com...
I'm trying to make a UI with C# to connect to SQL DB & retrieve data from
the tables
i want to make for example 3 forms , the first one has some data from
certain table
when checked or choosen it drives me to another form having other data
& so on
i use add & remove pannels
as in the click event of the control on pannel1 it removes this pannel &
add pannel2 which retirve this data in it & so on

i wannna make a back button & forward button
how could i get the Active Panel to tell him what is the prevous & next
pannel ,
i used this.Active control , but didnt work ?? coz the active control
at this time is the button :)
and is it better to make it using forms insead of pannels
, but the problem is that when i show a form

it's opened over the excisting one !!

plzzzzz help & sample code if possible
other question is there a ready code for such application
as a full project with add , edit & delete to the DB
is there any other useful links that could help in that
or PDF doc plzz tell me .

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: R. Rajesh Jeba Anbiah | last post by:
I'm supposed to do the account activation via email. I mean *not* sending the activation link like http://foo.com/foo.php?actcode=foo. But, I would like it to be like...
1
by: JaNE | last post by:
Hello, I have made my cms... and is working, but have some, let me say "bugs"... And I don't know all reasons, please allow me slightly longer and most probably confusing post (that "confusing" is...
1
by: Matt Dinovo | last post by:
I have a remoting server that is on the same local box as a COM+ managed object with Library Activation. When I try to activate the object from the remoted assembly, I get the following error: "The...
3
by: zz | last post by:
Hello everyone, We have an hybrid plain C++/COM/VB.NET commercial application in which we've included a mandatory activation mechanism. This activation system is programed in the VB.NET part and...
30
by: (Pete Cresswell) | last post by:
Just fired it up to see what it looked like. They wanted me to "Activate" the product before the 50th use. Geeze, I paid my money....now they want me to jump through their hoops? Brings back...
11
by: Paul Aspinall | last post by:
Hi Can anyone offer any hints / tips for creating registration keys / application activation, as software copy protection measures for a Winform app developed in C#? Thanks
2
by: paully_21 | last post by:
I'm an MSDN Subscriber and I installed VWD...When I activate the product it asks for an activation key...Where do I get one of those? And, more importantly, shouldn't it be part of my MSDN...
11
by: ML | last post by:
Does anyone have any info on sample code for handling activation/licensing for a vb.net app? Just looking for something fairly basic to implement the ability to have an application registered and...
5
by: Andy B | last post by:
I am making a web application that would randomly create an activation code and put it in a database. The web application would then send it in an email to the user with a link to go to and enter...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.