473,394 Members | 1,841 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,394 software developers and data experts.

Inherits Forms in the same project error

Mat
I would like to inherits some form in the same project. forms take
arguments.
but designer generate error:-(

does any one have experience with that?
Nov 20 '05 #1
2 888
"Mat" <re**********@fuckSpam.COM> schrieb
I would like to inherits some form in the same project. forms take
arguments.
but designer generate error:-(

does any one have experience with that?


The base Form _must_ have a constructor without arguments. Otherwise the
designer can't create it in order to display it because the designer can not
know which arguments should be passed to the constructor.
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #2
* "Mat" <re**********@fuckSpam.COM> scripsit:
I would like to inherits some form in the same project. forms take
arguments.
but designer generate error:-(


You will have to define a default constructor in the base form. This
constructor will be required in order to be able to edit the form with
VS.NET's form editor.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>

<http://www.plig.net/nnq/nquote.html>
Nov 20 '05 #3

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

Similar topics

3
by: Jet Leung | last post by:
Hi all, I had made a UserControl, and I want to inherits panel,label,button and linklabel from my class. But when I typed the code like ==== public class A :...
6
by: jonathan shepherd | last post by:
Using visual studio.net I have made a set of aspx web forms. They work on the iis webserver but when moved to the web I get a Inherits error. can some one help out. here is the code at the top...
10
by: Tony Abate | last post by:
I am working on an ASP.NET app that is going well except for one thing. I build my application and then move the .aspx file to a different directory. I can point the Codebehind property back to the...
3
by: Gregory Gadow | last post by:
I am looking to create a custom TabControl in VB using VS 2.0. All of the documentation I've found online starts with Public Class NewTabControl Inherits Windows.Forms.TabControl End Class ...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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.