|
|
I have a this case...
using System;
namespace FirstGenericClass
{
public classCounter
{
private int count;
public int Counter
{
get{ return count; }
}
public void Increament()
{
count++;
}
}
}
Here i want to write 2 classes, first one as a query class and the second one as a command class. How do I go about that
|
|
|
|
|
What do you want to query , and what do you want to command? So far all you have is an Int32 wrapper that has an increment method...
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
|
|
|
|
|
You write code. What was your question ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
If u nt gona answer the question, plz keep the f-up answers to yo self. A-hole ![Mad | :mad:](https://codeproject.freetls.fastly.net/script/Forums/Images/smiley_mad.gif)
|
|
|
|
|
Member 3916856 wrote: the f-up answers to yo self. A-hole
Good way to alienate yourself. Good luck getting anyone to answer with an attitude like that.
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Individuality is fine, as long as we do it together - F. Burns
|
|
|
|
|
I'm dearly sorry about my reply. But at time a person is just looking for an answer. You can just say when you not understanding the question
|
|
|
|
|
Hi AnyBody help me.....
In my project need a schedule a program with in a clock, so i decided to create
a clock circle and if drag and drop the some program in clock(Circle)that is added
to the particular clock time.so need idea to GUI design , if i drag a program to clock
that program duration only have different color ,like wise all program are displayed different color. And main important is if i need to changr or remove the program means
click that the color and drag and drop to the out sideof the circle, that program will removed from the circle . how can i do this give some idea.... I more expecting from you.
ThankYou
|
|
|
|
|
How are you going to determine the program's duration? Surely with a Task Scheduler you can only determine the start time?
Also, what are your plans if two programs coincide - there's no easy way in your plan to implement that.
A traditional clock face is 12 hours, but we have a 24 hour day - so there's another issue.
Not trying to discourage you, it could be an interesting approach, but it may need a little more time thinking about the concept.
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
|
|
|
|
|
Thankyou for replay
The program duration already determined and that duration also maintain the database.
And clock issue was altered. Now we used every one an hour clock so that contain 60
minute. i will create 24 clock and that clock also assigned to the day grid.
Now what we want means The program are assigned to the clock(only for 60 minute).
For Example the programming(For Example consider song) duration is 10 minutes. and commercial break is 2 minutes. like wise fill an hour, if want to change the song means click the corresponding song then drag and drop out side of clock, the song
removed from the clock time that's only we want
Thankyou
|
|
|
|
|
i want 2 develop a client server architecture for DMS in education system in C# and database is SQL server so i want 2 provide a database on only server side n client can able 2 access dat database from client machine.....
plzzzzzzzz help meeeeeeeeee
|
|
|
|
|
Sounds good, with some effort it should work well. Don't forget to write an article to share with the community when you're done.
In the meantime, what specific part of your code is giving you trouble?
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
|
|
|
|
|
OOh, and while I'm here...
madhuri pokharkar wrote: client server architecture for web appln in C#
That would be "application"
madhuri pokharkar wrote: i want 2
x 2: "I want to"
madhuri pokharkar wrote: dat
"that"
madhuri pokharkar wrote: plzzzzzzzz help meeeeeeeeee
"Please help me", and there's no need to say that. Everyone asking a question on these forums is wanting help, what would be the point in posting otherwise?
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
|
|
|
|
|
OK. Permission granted. Please proceed.
Or did you have a more specific question about something your having a problem with?
|
|
|
|
|
Hi
I'm a 3rd year Software Development student, and for our 3rd year projects we need to create our own piece of software, which will be judged and marked throughout the year.
Our group decided on an interactive 3D environment. The main focus of our project is going to be furniture manufacturers. We want to allow them to use our program to model their own furniture, and customize them as well e.g. adjust the length and width of table legs, chairs, tables etc. We also want to integrate cost calculation, which must be dynamic, in other words the price must change as the user adjusts the dimensions.
I want to know, is this possible? Or should we start looking for other ideas.
Will users be able to work with pre-rendered models(created in TrueVision3D or any other 3D modeling application) and modify them to their liking?
Any help will be appreciated.
Thanks in advance
|
|
|
|
|
C# has access to Managed DirectX, so also Direct3D. Using it you can render almost everything. If there are classes that support TrueVision3D files I can't tell.. you might need to create them yourself or use a different file format.
Don't try it, just do it!
|
|
|
|
|
I'll be honest, 3D programming is something I haven't done before, so please be a bit more specific. What do you mean by 'access to managed DirectX & Direct3D'? How do one go about using those?
|
|
|
|
|
They are installed with the DirectX SDK. If you haven't done 3D programming before, then you might just be biting off more than you can chew with this project. It's not something that you can pick up quickly - 3D is one of the most demanding areas you can work in.
|
|
|
|
|
You may have a look at the XNA-Framework,
i think its a little bit easier then plain DX coding.
If you don't want to have so much trouble with 3D programming and your models are only a view simple sprites, then have a look at GDI+. I already saw some good "3d" charts with it.
|
|
|
|
|
It's possible - but may be overly complex ... however you might ant to look here[^]
It could be a fun project, though - and one that can be split between a number of developers quite successfully (someone can concentrate on the display of the object, someone else on the user interface (rotating, scaling etc) another on the calculations... then at least, for example, if the 3D display proves too hard before marking time, window can display the dimensions as text.
The 'real world' issue, to my mind, is tying a specific 3D model to some sort of generic display routine; e.g. a table with four legs vs a stool with three, one with a round top the other rectangular...
___________________________________________
.\\axxx
(That's an 'M')
|
|
|
|
|
I did some more research, and it seems that we're going to have to create a CAD application using C#, using additional CAD components.
|
|
|
|
|
Hi,
I have developed an application windows forms. I need to place at the top portion an area for banners. The data for banner will be on a web server it can be any type of data. I have tried an swf file but it didn't work.
I have used
axShockwaveFlash1.LoadMovie(0, "http://www.youtube.com/watch?v=soVQcF_ZxpI");
axShockwaveFlash1.Play();
If you suggest to use swf file I will have an xml file at server that will return a number of urls like above. A url will be selected randomly and will be played.
If some other technique is better I am ready to use it as swf is not the requirement but on clicking the banner should open a url.
Looking forward for your reply.
Please its urgent.
Thank You.
|
|
|
|
|
I've done something similiar with a WebBrowser control. It actually is the IE browser control hosted in you app, so it's quite powerful. The only thing you should be sure of is making your ad webpages small enough to fit fine in the control in your form. But that shouldn't be hard.
In my use of the WebBroser control, I do two things: set the AllowNavigation property to false , and remove the target of all FORM tags in the HTML during the WebBrowser 's DocumentCompleted event. This is to disallow users from navigating away from the ad. But in my case, some users can specify the URL to display there, so that's just an extra layer of protection. If you totally control what will be displayed in your control and you don't put any links in your pages, you can skip this.
|
|
|
|
|
How to make the Mobile forms in C#?
|
|
|
|
|