blah blah blah is here! blah blah » Close

0
votes
1 answers

Generate C# Class Code for Table in Visual Studio

Hi Friends! I have multiple tables in my Server Explore database file. I want to generate auto code of Classes for tables, so all classes with their attributes, constructor and getter setter methods automatically generate. Kindly tel ...

0
votes
1 answers

How to access Form controls from another class?

Hi all debugging.com members, Nowadays I'm working on a serial comminication program. I've created my own serial class to use my serial functions easly. However I couldn't access Form1 controls from my class. For example, I've serialPort ...

0
votes
0 answers

User control library needs to call implementation in another library

I am trying to create a managed user control c# library (dll) that can call static class methods from another managed library (Call this the implementation). Both of these libraries will be referenced from a windows form application from th ...

0
votes
0 answers

why and when to use sealed class in c#

Hi All, I want to know when to use sealed class. I am working in a project where database related classes are sealed. Now I know that since these classes are sealed we cannot inherit. But what is the benifit of making database related cl ...

1
votes
1 answers

C# Singleton Classes

Hi guys - I been out of action for a long while, I have created the following class to help save time for the rest of my coding. I would like to make sure I'm on the right track as this is the first time I'm really making a Singleton Clas ...

1
votes
2 answers

C# Very weird class questions

hi. a developer recently employed into a position senior to mine does this sort of thing with every single class he creates and refuses to explain it to me...may be some of you here could shed some light. he gave me this exact example ...

0
votes
1 answers

C# programming issue "A project with an output type of class library cant be started directly".

Hello! I am using Microsoft Visual C# 2008 Express edition. I recently downloaded the C# code from link: http://www.florian-leitner.de/index.php/projects/usb-hid-driver-library/ After compiling the code I got no error nor warning mess ...

1
votes
1 answers

Interaction between classes - static method?

Hello all! Im writing a win32 program in C# where the user may do some change in configuration of the program wich is then saved to a file. He can do this from a windows form within some class wich is not the main class. I then want the ...

0
votes
1 answers

Define a class, which implements arithmetic with arbitrary precision

Hi everyone! I'm reading a book and doing some exercises in this book. One of them is: define a class, which implements arithmetic (+, -, /, *) with arbitrary precision. This is a new type with just some arithmetic operations. With type do ...

0
votes
3 answers

Creating a class INT, which equavalent to the type int

Hello everybody! I'm trying to create a class calling INT, that is equivalent to the type int. I really don't know exactly what're inside class int. What I know is int is a type. I think what I need to do is create a class with operators l ...

1
votes
1 answers

cannot instantiate abstract class

Hi everybody! I'm working on a following program: [code] #include "stdafx.h" #include <iostream> using namespace std; class char_queue { protected: struct charList { public: char val; charList* next; ...

1
votes
2 answers

Creating a triple-string dictionary class

Hi, I'm not a fan of making databases but this project requires that I make one. While there are multiple solutions I could use, the easiest method I devised would be using a dictionary with two keys and one value, such as: Dictionary<st ...

1
votes
11 answers

Save/Load Class

q12
349

SaveLoad_File.cs [url]http://www.sendspace.com/file/11pq8w[/url] Warnings_File.cs [url]http://www.sendspace.com/file/31yohm[/url] _______ Im still a learner so... i need a lot of help. Actually there are 2 classes (SaveLoad_File.cs a ...

1
votes
1 answers

How to Raise events from class

Hi, can anyone please tell me how to raise events from class. Are they like call back functions.. Pl. help me in finding an answer for this. Thanks & Regards, Anil.

1
votes
1 answers

List question

How can I do the following using a inherited class? Thanks Jeff namespace question { public class Dog { public string Breed { get; set; } } public class Dogs : List<Dog> { } ...

Feedback