Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subclassing mmMessageBoxButtons
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Subclassing mmMessageBoxButtons
Divers
Thread ID:
00916571
Message ID:
00916571
Vues:
34
Hi All,

I am subclassing the MM framework. Being a newbie at this in VS.NET, I am hitting an error.

On a basic text box, well i think it is easy to subclass it, I just create a component.cs and add the right system refs and the oakleaf ref to the code and change the code to inherit from mmTextBox as follows.
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Design;
using System.Drawing.Drawing2D;
using System.Data;
using System.IO;
using System.Windows.Forms;

using OakLeaf.MM.Main.Windows.Forms;

namespace Apps4U.Windows.Forms
{
	/// <summary>
	/// Summary description for a4uTextBox.
	/// </summary>
--->	public class a4uTextBox : mmTextBox
When I try to subclass the MessageBoxButtons by doing the following, I get this error :
No overload for method 'mmMessageBoxAbortButton' takes '0' arguments

Any Help would be appreciated..
using System;

using OakLeaf.MM.Main.Windows.Forms;

namespace Apps4U.Windows.Forms
{

	/// <summary>
	/// a4uMessageBoxOKButton class
	/// </summary>
--->	public class a4uMessageBoxAbortButton : mmMessageBoxAbortButton
Thanks,
Shawn Dorion
Geo Sektor Dot Com
Website: http://www.geosektor.com

Web Hosting Plans
Visit : http://WebHosting.Applications4u.com/
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform