Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EnableDisable Data Manipulation Buttons
Message
 
To
20/10/2003 13:16:47
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00840362
Message ID:
00840387
Views:
18
We added this functionality to our aBusinessForm class (subclass of mmBusinessForm)
public enum EditMode
{
	Editing,
	Adding
}

...

public class aBusinessForm : mmBusinessForm
{
	protected EditMode _mode = EditMode.Editing
...
Maybe if everyone asks for it, Kevin will succumb and add it to the framework.


>Hi ,
>
>Has anyone implemented a EnableDisable method for data manipulation buttons ( ADD SAVE etc) on a winform?
>
>I have found if very useful to maintain and EDIT state for a winforms so various form level methods and events can function differently according to the MODE of the form.
>
>Add mode could be set in the ADD button method and the textchanged event of bound controls appears to be where the user EDIT could be trapped. I’m still exploring various approaches but would like to hear how others have implemented this behavior in the MM.Net.
>
>Thanks in Advance,
>
>Terry Carroll
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform