Click here to Skip to main content
15,898,926 members
Home / Discussions / C#
   

C#

 
AnswerRe: what is the maximum size Pin
harold aptroot25-Nov-09 23:14
harold aptroot25-Nov-09 23:14 
GeneralRe: what is the maximum size Pin
Joe Rozario26-Nov-09 1:17
Joe Rozario26-Nov-09 1:17 
AnswerRe: what is the maximum size Pin
Luc Pattyn26-Nov-09 1:13
sitebuilderLuc Pattyn26-Nov-09 1:13 
GeneralRe: what is the maximum size Pin
Joe Rozario26-Nov-09 1:22
Joe Rozario26-Nov-09 1:22 
QuestionExport datagridview to excel file in Windows App. Pin
mostafa_h25-Nov-09 18:45
mostafa_h25-Nov-09 18:45 
AnswerRe: Export datagridview to excel file in Windows App. Pin
Abhijit Jana25-Nov-09 18:52
professionalAbhijit Jana25-Nov-09 18:52 
GeneralRe: Export datagridview to excel file in Windows App. Pin
mostafa_h25-Nov-09 22:31
mostafa_h25-Nov-09 22:31 
Questioncreating Generic Base Class Help Pin
Lino Chacko25-Nov-09 18:37
Lino Chacko25-Nov-09 18:37 
hi...
i tried to create a generic base class. create Form1 as base class. Tried to access form1 from form2. there is no error on build. but i cant view the design part of Form2. Design part shows the error

"The designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes in the file: Form2 --- The base class 'Test2.Form1' could not be loaded. Ensure the assembly has been referenced and that all projects have been built. Customer --- The base class 'System.Object' cannot be designed. "


source code is given bellow

public partial class Form1<T> : Form
{
public Form1()
{
InitializeComponent();
}
}



public partial class Form2 : Form1<Customer>
{
public Form2()
{
InitializeComponent();
}
}
public class Customer
{
private string customerName = string.Empty;
public string CustomerName
{
get { return customerName; }
set { customerName = value; }
}
}

please help me to solve this problem
---------------------------------------
Thanks in advance
AnswerRe: creating Generic Base Class Help Pin
Mycroft Holmes25-Nov-09 21:06
professionalMycroft Holmes25-Nov-09 21:06 
QuestionRead mpp file [modified] [Solved] Pin
DJ24525-Nov-09 16:42
DJ24525-Nov-09 16:42 
AnswerRe: Read mpp file Pin
dan!sh 25-Nov-09 17:14
professional dan!sh 25-Nov-09 17:14 
QuestionCheck Children in MDIParent Pin
Socheat.Net25-Nov-09 16:15
Socheat.Net25-Nov-09 16:15 
AnswerRe: Check Children in MDIParent Pin
N a v a n e e t h25-Nov-09 16:34
N a v a n e e t h25-Nov-09 16:34 
GeneralRe: Check Children in MDIParent Pin
Socheat.Net25-Nov-09 17:08
Socheat.Net25-Nov-09 17:08 
GeneralRe: Check Children in MDIParent Pin
N a v a n e e t h25-Nov-09 17:11
N a v a n e e t h25-Nov-09 17:11 
AnswerRe: Check Children in MDIParent Pin
dan!sh 25-Nov-09 16:58
professional dan!sh 25-Nov-09 16:58 
GeneralRe: Check Children in MDIParent Pin
Socheat.Net25-Nov-09 17:17
Socheat.Net25-Nov-09 17:17 
QuestionArray Help Pin
Joe Spaz25-Nov-09 14:06
Joe Spaz25-Nov-09 14:06 
AnswerRe: Array Help Pin
Luc Pattyn25-Nov-09 14:29
sitebuilderLuc Pattyn25-Nov-09 14:29 
AnswerRe: Array Help Pin
_Maxxx_25-Nov-09 14:33
professional_Maxxx_25-Nov-09 14:33 
AnswerRe: Array Help Pin
Joe Spaz25-Nov-09 14:42
Joe Spaz25-Nov-09 14:42 
QuestionParallel Extensions Pin
427748025-Nov-09 12:17
427748025-Nov-09 12:17 
AnswerRe: Parallel Extensions Pin
Nicholas Butler25-Nov-09 21:32
sitebuilderNicholas Butler25-Nov-09 21:32 
QuestionWeb authentication by code Pin
ika225-Nov-09 11:12
ika225-Nov-09 11:12 
AnswerRe: Web authentication by code Pin
Mycroft Holmes25-Nov-09 13:24
professionalMycroft Holmes25-Nov-09 13:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.