Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
~4K People Reached
Favorite Forums
Member Avatar for galhajaj

Hello, We have at work a tough argument about giving name to certain project. I'll glad to hear your opinion. There is an old dll project called BlMath (math stuff...), some projects still use it, but some day we want it to be obsolete. The new project is going to …

Member Avatar for JamesCherrill
0
139
Member Avatar for galhajaj

hi :) i am new in C#, i am trying to make a little chess program and i need help in the chess board making. i make a new class "Square" that inherit from PictureBox (Square:PictureBox) and i made an array of 8x8 of Square in the Form1.cs and i …

Member Avatar for thousandbanks
0
1K
Member Avatar for galhajaj

Hello :) i found a need of properties in a Area class [CODE] public List<Tile> Tiles { get; set; } private int _goldValue; public int GoldValue { get { sum = 0; foreach (Tile t in Tiles) { sum += t.Surface.GoldValue; } return sum; } } [/CODE] well - something …

Member Avatar for galhajaj
0
115
Member Avatar for galhajaj

i am making a board-game in C# under .NET (i am new in this) now i am at the design stage in my game there are four resources - food, stone, gold & wood - that uses for gathering, buy stuff etc. like in a classic strategy game (age of …

Member Avatar for hericles
0
129
Member Avatar for galhajaj

Hello :) my solutions files are a mess. i am trying to find a way of get things in order. i tried to put all close files together in the same folder i creating for that purpose. for example i put interface, abstruct class & all their inherited classes at …

Member Avatar for gusano79
0
136
Member Avatar for galhajaj

Hello :) about the get set shortcut - [CODE]public int MyVar { get; set; }[/CODE] for example how it different from just: [CODE]public int MyVar; [/CODE]??? i heard that in the shortcut it add private myVar... huh?? if i can't see it how can i use it? when i use …

Member Avatar for ddanbe
0
209
Member Avatar for galhajaj

Hi :) there is a way to save versions of my solution easily in .NET C#? what i am doing currently its copy the solution folder onto a backup folder and change its name to SOLUTION_NAME_X.X while X.X its the version number. i guess the Microsoft dudes had thought of …

Member Avatar for gusano79
0
139
Member Avatar for galhajaj

Hello! :) i am starting a new winforms project and i need help in some issue. i added a panel with radio-buttons and i want to make a several panels with buttons and other components for each radio-button, for when i choose certain radio-button a certain panel will be visible …

Member Avatar for ddanbe
0
135
Member Avatar for galhajaj

Hello :) i am an aerospace engineer that has a dream to become a programmer. and after that i wanna to specialize in game development. my strategy is to learn C# in .NET by doing big projects, and i am doing it ok i guess. suddenly i saw the XNA …

Member Avatar for thines01
0
109
Member Avatar for galhajaj

Hi :) i am having a hard time understanding the concept of event & delegate. i think i understand that one object start an event and some other objects can react while the event start. but why is that different from the observer design pattern? or how is it different …

Member Avatar for thines01
0
144
Member Avatar for galhajaj

Hi :) i am creating a game in C# the game contain a lot of windows and views i heard about mvvm & mvc design pattern but when i search for them i get only things that relative to asp & wpf... and those are (if i dont get it …

Member Avatar for surajrai
0
287
Member Avatar for galhajaj

Hello! i wanna to create a game that will use a mdb database file to store things and upload them while the gema will need them the thing is i dont want that the player could touch the file and easily cnange things with access.. there is a way to …

Member Avatar for thines01
0
196
Member Avatar for galhajaj

Hello :) i intend to make a game in c# that will contain information of 10,000 people i dont familiar with db yet but i guess from a little reading that the best way is to use ADO.NET sql library... the game is not on the internet, it will be …

Member Avatar for rotten69
0
291
Member Avatar for galhajaj

Hello :) i worked many time with the Point structure on my projects i noticed that there is a brother to Point calls PointF (its Point with floats as X & Y) the thing i dont understand is why i saw a lot of drawing functions that uses RectangleF and …

Member Avatar for gusano79
0
92
Member Avatar for galhajaj

Hi :) i placed a picturebox and paint on it inside the program with FillRectangle/DrawEllipse/FillEllipse etc. now all i want is to check if the pixel color under the cursor is == Color.Black but i encounter problems... i made this: [CODE]Bitmap myBitmap = new Bitmap(this.pictureBox1.Image); Color pixelColor = myBitmap.GetPixel(Cursor.Position.X, Cursor.Position.Y); …

Member Avatar for ddanbe
0
144
Member Avatar for galhajaj

Hello! :) i need to make something that change the image inside a picturebox every 1000 milisec for a 6 pictures (for example), so i search about a function that can hold the code for this time and i found Thread.Sleep(1000) (after use the "using.Threading" ofcourse) so i put that …

Member Avatar for galhajaj
0
208
Member Avatar for galhajaj

Hello :) well... i need to do a simple thing (i guess) but it seems that this is not so simple due to all the complicating examples on the web... ok. i jast wanna to create a copy of an object! but i want the copy to be seperate from …

Member Avatar for galhajaj
1
114
Member Avatar for galhajaj

Hello, i have a little dificulties in the area of object-oriented programming i guess... i am making a chess-like game i created the classes "board" and "square" (the square inherit from picturebox) now - in the constructor of the board i create 8X8 squares inside it all the program is …

Member Avatar for galhajaj
0
215
Member Avatar for galhajaj

Hello! i am new in C# and i am trying to make a simple chess game but i need to clearify some things i guess... i understand how to add components to the Form1 with code - in my example i manage to add 8X8 squares class that inherit from …

Member Avatar for ddanbe
0
172
Member Avatar for galhajaj

Hi :) i am new in C# and i am a little confused with the abstruct, virtual and override terms in C#... why they are good for? i tried to google it but i got more confused... for example - i am making a chess program and i made a …

Member Avatar for Mitja Bonca
0
178
Member Avatar for galhajaj

Hello :) for a chess program, i made a 8x8 array of square:PictureBox objects and i set variables inside them for the row & col there is a way to dont use those row & col variables and just "take" the index of the square from the 8x8 array when …

Member Avatar for galhajaj
0
148