No announcements
Found 2983374 threads
-
2 Votes
UserControl, Inherited Control, Abstract class, (C#)
I'm assuming that in your abstract class you are declaring it as abstract: public abstract partial class MainUserControlClass Which is ...Answered | 4 Replies | 22899 Views | Created by Coop Developer - Monday, March 17, 2008 2:12 PM | Last reply by ThreePly - Thursday, April 12, 2012 6:03 PM -
0 Votes
Abstract class Vs Inheritance
The abstract class defines what the class inheriting from it will do.Answered | 6 Replies | 785 Views | Created by Piyush.23 - Friday, October 9, 2015 6:30 AM | Last reply by Magnus (MM8) - Friday, October 9, 2015 11:09 AM -
1 Votes
Abstract class in WPF Control class
It seems that the Visual Studio XAML designer does not support user controls deriving from abstract classes (see this thread).Answered | 4 Replies | 5497 Views | Created by syedripon - Tuesday, May 29, 2012 2:26 AM | Last reply by Annabella Luo - Wednesday, May 30, 2012 8:21 AM -
1 Votes
abstract class inheriting user control - displaying in designer
WPF Designer in VS 2008/2010 doesn't support abstract user controls.Answered | 2 Replies | 4989 Views | Created by PhilLarby - Friday, January 7, 2011 4:26 PM | Last reply by Min Zhu - Monday, January 10, 2011 3:18 AM -
1 Votes
Inherit from abstract class
I'm generating my POCO classes using EF4 so the generated classes do not inherit from EntityObject.Answered | 7 Replies | 2331 Views | Created by Cryo75 - Monday, May 7, 2012 1:12 PM | Last reply by Allen_MSDN - Thursday, May 10, 2012 7:08 AM -
3 Votes
c# classes abstract
You can still use it to inherit from it (indeed a common ancestor is what abstract classes are there for) and use it as varriable type to hold isntances ...Answered | 16 Replies | 1868 Views | Created by Sambo H - Friday, March 7, 2014 10:39 AM | Last reply by JendaPerl - Monday, March 10, 2014 9:29 AM -
3 Votes
Why C# Abstract classes must implement/declare inherited Interface methods?
But, C# does not permit multiple inheritance of classes, which C++ allows.Answered | 23 Replies | 20682 Views | Created by jeff00seattle_2 - Wednesday, February 18, 2009 8:22 AM | Last reply by jeff00seattle_2 - Wednesday, February 18, 2009 7:15 PM -
1 Votes
Reflection on complex classes with inheritance and abstraction
I'm looking at your code and you're using abstract classes so you may or may not need an interface.Answered | 5 Replies | 1819 Views | Created by Christose88 - Saturday, May 5, 2018 2:15 AM | Last reply by CoolDadTx - Wednesday, May 23, 2018 2:11 PM -
1 Votes
Design advice (static field + abstract class + inheritance)
As Eric Lippert said on this topic (http://stackoverflow.com/questions/3310186/are-there-any-reasons-to-use-private-properties-in-c/3310469#3310469), "code is far more ...Answered | 3 Replies | 5603 Views | Created by Ethersson - Friday, August 13, 2010 1:23 AM | Last reply by Riced - Friday, August 13, 2010 4:52 AM -
5 Votes
abstract class : how to implement Class A and class B method in class c.
Please check this code public abstract class A { public abstract int AM(); } public abstract ...Answered | 26 Replies | 2228 Views | Created by love4csharp - Friday, January 25, 2013 3:55 AM | Last reply by D Avik - Tuesday, January 29, 2013 1:15 PM -
0 Votes
UserControl inheritance
</TextBlock> </Grid> ...Answered | 5 Replies | 7653 Views | Created by sqlguy - Sunday, January 17, 2016 7:36 PM | Last reply by Magnus (MM8) - Sunday, January 17, 2016 9:08 PM -
0 Votes
Interface vs abstract class
C# - Wiki link for interfaces C# - Wiki link for abstract classes Best ...Answered | 11 Replies | 6109 Views | Created by It_s Meee - Thursday, August 5, 2010 9:51 AM | Last reply by JohnGrove - Wednesday, August 11, 2010 7:09 PM -
0 Votes
Table Per Hierarchy Inheritance with Abstract Base Class
Instead, make the Organization and Person classes inherit from AbstractEntity in your code.Answered | 5 Replies | 4022 Views | Created by LeonardiM - Wednesday, May 5, 2010 8:09 AM | Last reply by zeeshan hirani - Monday, May 24, 2010 11:15 PM -
0 Votes
abstract CLASS
an abstract class CAN inherit another abstract class.Answered | 1 Replies | 3770 Views | Created by kkkJoe - Thursday, November 13, 2008 7:25 AM | Last reply by Manuj Aggarwal - Thursday, November 13, 2008 8:14 AM -
1 Votes
Abstract class vs Interface
Many programming languages support multiple inheritance (one class having more then one base class).Answered | 8 Replies | 1335 Views | Created by pianoboyCoder - Tuesday, October 6, 2015 4:52 AM | Last reply by Ante Meridian - Wednesday, October 7, 2015 4:13 AM -
3 Votes
Abstract classes and Interfaces
An abstract class contains common definitions and implementations for child classes to (possibly) re-use.Answered | 8 Replies | 3262 Views | Created by SNK08 - Sunday, March 29, 2009 7:34 AM | Last reply by Chris B. Snyder - Monday, March 30, 2009 6:58 PM -
4 Votes
Use of Abstract class
One way to understand the difference is, interface models a behavior inheritance and abstract models a structure inheritance.Answered | 10 Replies | 2523 Views | Created by tigerinworld - Monday, September 10, 2012 6:20 AM | Last reply by Sehnsucht_Fr - Monday, September 10, 2012 2:56 PM -
1 Votes
interface vs abstract class
You can add non-abstract methods to abstract classes and have existing clients continue to work, you can't however, add abstract methods (in the same vein as you ...Answered | 5 Replies | 7770 Views | Created by NabX - Friday, February 26, 2010 11:34 AM | Last reply by Bruno Coelho Marques - Tuesday, March 2, 2010 9:36 AM -
0 Votes
Inheriting from UserControl
Hi mate, Well, think of it that way: If it's not safe to inherit from a user control why would they allow inheriting from user controls :) ..Answered | 3 Replies | 2076 Views | Created by Nullspace007 - Thursday, June 7, 2012 1:12 AM | Last reply by Chris-von-der-Wiese - Thursday, June 7, 2012 12:00 PM -
0 Votes
abstract class
"Abstract classes are closely related to interfaces.Answered | 2 Replies | 4356 Views | Created by Gopi kakileti - Friday, July 1, 2011 1:21 PM | Last reply by Min Zhu - Monday, July 4, 2011 2:42 AM - Items 1 to 20 of 2983374 Next ›
No announcements