Search Results

Showing results 1 to 38 of 38
Search took 0.03 seconds.
Search: Posts Made By: polo_coins ; Forum: C# and child forums
Forum: C# Sep 5th, 2009
Replies: 3
Views: 690
Posted By polo_coins
Forum: C# Sep 5th, 2009
Replies: 3
Views: 690
Posted By polo_coins
I want get a root of number in C#
what library i must to insert and what command solve it
Forum: C# May 30th, 2009
Replies: 1
Views: 372
Posted By polo_coins
Hi I wrote such code it works mostly perfect(you may use it)
but I don"t know how to add attributes to some TAGs for example I want to change Expire date to attribute of buyer
I want you...
Forum: C# May 30th, 2009
Replies: 2
Solved: Using <List> ?
Views: 271
Posted By polo_coins
Thanks a lot
Forum: C# May 30th, 2009
Replies: 2
Solved: Using <List> ?
Views: 271
Posted By polo_coins
Need you help.
I want to use List and I don"t know how I make definition and fill it
Thanks
Sergey
Forum: C# Jan 19th, 2009
Replies: 3
Views: 302
Posted By polo_coins
I want to build one Form that is a Parent window
and two windows for child windows
but my problem is this a code .I glad to see your suggest for this problem
Sergey
Forum: C# Dec 28th, 2008
Replies: 3
Views: 585
Posted By polo_coins
I already find how to do it
:)
Forum: C# Dec 28th, 2008
Replies: 3
Views: 585
Posted By polo_coins
Hi, and happy hollidays to everyone, I start working with WinForms about a week and wonder how could I add a picture like a background to m Form. What kind of files C# can get(*.jpg,*.gif)

thanks...
Forum: C# Dec 4th, 2008
Replies: 2
Views: 340
Posted By polo_coins
[QUOTE=LizR;750021]String builder can have advantages when buidling up output. So instead of a ton of

s += titletext;
s += "\r\n--------";

etc

you can just do
sb.append(newtext);...
Forum: C# Dec 4th, 2008
Replies: 2
Views: 340
Posted By polo_coins
I discovered that there is a such class like StringBuilder
but I don't find any thing that convince me to use it.
Explain me it's advantage and disadvantage and if you gave some examples I like to...
Forum: C# Nov 2nd, 2008
Replies: 2
Views: 366
Posted By polo_coins
I have some code bellow and I get an exception what wrong with this code, I'm just started to study with section of OOP so maybe I made a stupid mistake :
static void Main(string[] args)
{...
Forum: C# Oct 21st, 2008
Replies: 5
Views: 1,809
Posted By polo_coins
thanks I think I get a last solution is a best one start with form-application
Forum: C# Oct 21st, 2008
Replies: 5
Views: 1,809
Posted By polo_coins
I couldn't find any information about that everyone do such things in WinForms

but it's really intresting me
Forum: C# Oct 21st, 2008
Replies: 5
Views: 1,809
Posted By polo_coins
I made project in Console are the any way change font style in it(and there is can I change size too?
Thanks Sergey
Forum: C# Oct 20th, 2008
Replies: 2
Views: 850
Posted By polo_coins
Thanks a lot LizR it's open me a door for a lot of options
Forum: C# Oct 20th, 2008
Replies: 2
Views: 850
Posted By polo_coins
I want use this option do I must know how to add DLL files ?
Thanks Sergey:idea:
Forum: C# Oct 20th, 2008
Replies: 13
Views: 900
Posted By polo_coins
There are a half a true in your words
but like you know there are no such books that have explanation about each keyword
(and I have not just one book) and explanation there forward mostly for...
Forum: C# Oct 20th, 2008
Replies: 13
Views: 900
Posted By polo_coins
"ithen you need to read more"

it's what I already done and after that I ask for help here
if I not mistaken it's purpose of this forum
Forum: C# Oct 20th, 2008
Replies: 13
Views: 900
Posted By polo_coins
yes i mde so and now it brought to me other
question and useful instruments
I discover that class can be abstract and
override
override I understood that one method use Parents same method...
Forum: C# Oct 20th, 2008
Replies: 13
Views: 900
Posted By polo_coins
No I know that C# work not like C++,
My class reach from one and his Parent byself child from another one,
II don't know why I can't see methods of my sealed class if methods are public ?
Forum: C# Oct 20th, 2008
Replies: 13
Views: 900
Posted By polo_coins
Thanks to all,
Yes I tried now to build one that reached from
two others and in Main() I get that it doesn't know about any method in it so I can use it
Forum: C# Oct 20th, 2008
Replies: 13
Views: 900
Posted By polo_coins
I asked in my studies build a "sealed " class and I don't really understand it's differents from regular class and what different in syntax it has

Thanks Sergey
Forum: C# Oct 20th, 2008
Replies: 4
Views: 479
Posted By polo_coins
Forum: C# Oct 19th, 2008
Replies: 4
Views: 479
Posted By polo_coins
It's O.K. this thing I understand I mean syntax of building Constructors and call for Metgods of parents, I tried a couple things and here what I got :
public Name_of Chuld (type_of_variable ...
Forum: C# Oct 19th, 2008
Replies: 4
Views: 479
Posted By polo_coins
I built two different classes and I want that one class get inherit from another ,
but when I build Constructions Compiler throw me an Error.
I get to conclusion that i must use base function
so...
Forum: C# Oct 19th, 2008
Replies: 6
Views: 3,783
Posted By polo_coins
double num;
num = 2.89;
num = Math.Truncate(num);
Console.WriteLine(num);


I made simple tried and result I get 2 and not 3 like I wanted you gave me a...
Forum: C# Oct 16th, 2008
Replies: 3
Views: 664
Posted By polo_coins
Thanks I will try it.
Sergey
Forum: C# Oct 16th, 2008
Replies: 3
Views: 2,126
Posted By polo_coins
I advice you wrote initalization of random number out of class it helps not repeats same numbers (little bit)

static Random rand = new Random();

in that way you declare it


and use it in...
Forum: C# Oct 16th, 2008
Replies: 2
Views: 616
Posted By polo_coins
my english I know that not so perfect, I already wrote a lot of comments that you already know what i want to do, All i asked is this code wroten in right way or not and if you can suggest other...
Forum: C# Oct 16th, 2008
Replies: 2
Views: 616
Posted By polo_coins
Hi, again about DateTime method I get to some conclusionns and build a class of my problem that solve the last expired day of some product I get a day od today and number of month when product can...
Forum: C# Oct 16th, 2008
Replies: 1
Views: 518
Posted By polo_coins
I have a problem to solve . i have a product that has a date of published and i know what day is today by using DateTime s = DateTime.Now; how can i get a number from user to
get the day of...
Forum: C# Oct 16th, 2008
Replies: 4
Views: 831
Posted By polo_coins
I want just to prevent of entering wrong data from user of my program

I mean :

int num;
num="ssss";

this cause encapsulation and I want to prevent it

If somebody can put some code here...
Forum: C# Oct 16th, 2008
Replies: 3
Views: 664
Posted By polo_coins
I have some code bellow

enum Part ( center,north,south);
......

how can i to prevent from an user to enter a data out of range of this enum group.
I mean if he/she type 3 or 4
Thanks Sergey
Forum: C# Oct 16th, 2008
Replies: 6
Views: 3,783
Posted By polo_coins
I found a way with :
Math.Round(decimal type variable)
it works perfect with decimal variables do you know the same way what work with double ?
Forum: C# Oct 16th, 2008
Replies: 4
Views: 831
Posted By polo_coins
it's hard to understand it,
I don't know what to fill to Catch() parentness
and do i must use throw;
Forum: C# Oct 16th, 2008
Replies: 6
Views: 3,783
Posted By polo_coins
Forum: C# Oct 16th, 2008
Replies: 4
Views: 831
Posted By polo_coins
i want some encapsulation problem

int num;
num=int.parse(Console.Readline());

here i have a problem if user enter a string i get encapsulation how can i solve it in easiest way
my friends...
Forum: C# Oct 16th, 2008
Replies: 6
Views: 3,783
Posted By polo_coins
I want to round number
for example number 2.8 to 3
and 2.4 to 2.5
how I made so in C#
I heard something about Math.Round function but it doesn't work properly

Thanks Sergey
Showing results 1 to 38 of 38

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC