- Strength to Increase Rep
- +5
- Strength to Decrease Rep
- -1
- Upvotes Received
- 8
- Posts with Upvotes
- 8
- Upvoting Members
- 6
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re:
Hi, I am trying to get TextBox. Whenever I click on the button I should get a TextBox. Here is my code. But I am getting only one TextBox. Collapse private void button1_Click_1(object sender, EventArgs e) { txtRun = new TextBox(); txtRun.Name = "txtDynamic"; txtRun.Location = new System.Drawing.Point(20, 18); txtRun.Size … |
|
Re:
Yes, i'm a noob - Bite me. And yes, I've read seemingly countless tutorials which explain, or, "try" to explain what a "Constructor" is. Obviously, they failed to digest in my brain. Is there any well-to-do person in here who can help me? Is there anyone who can possibly explain … |
|
Re:
Hi...Friends... I have posted a threads about the custom window in C#... But WPF is a better way to create a custom window..... I don't want to the basic wpf procedures...I just want to know the steps to create a custom window in WPF..or if u have any direct link … |
|
Re:
Hi all, first post. I am a C# novice, but I have some experience in other C-derived languages. I am trying to close a Windows Form and open another. This is the code that I am trying to use: [code=c#] FormChat fm = new FormChat(client, username); fm.Show(); fm.Activate(); this.Close(); [/code] … |
|
Re:
Hi. Could you tell me - what is wrong here - [CODE] public class MAP { public string MAP(string FilePath) { FileStream fs; try { fs = new FileStream(FilePath, FileMode.Open); } catch (FileNotFoundException exp) { return exp.Message; } catch { return "Не удаётся открыть файл"; } return "all right!"; } … |
|
Re:
Hi !!! I have problem with Refreshing or Redrawing my Window Form. I have one Rich Text Box on my Form and i have a list of title of books on it. I wish when I add a new title book to Rich Text Box to Refresh/Redraw the all Windows … |
|
Re:
In my Forms application i tried to resize a pictureBox control during runtime and it seems to give some trouble. There is scale factor scalex , scaley which i applied to the width and height property of the control. [CODE] tempw = 980.0f; temph = 130.0f; tempw = float.Parse(pictureBox1.Width.ToString()); temph … |
|
Re:
how to bind a double property to text box in C#.. |
|
Re:
Pls help me. floodfill in not working in C#. every code is working but following code is not store the image with fillcolor. System.Drawing.Bitmap b0 = System.Drawing.Bitmap.FromHbitmap(hbm0); |
|
Re:
My program lags the computer because i have it going through a while loop to continue check if a condition is true. Is there any way i can have a wait for user input such as pressing a key to perform the evaluation. Or is there any way to have … |
|
Re:
Hi All, I am coming from C++ world and working on some C# code. Currently working on a class with an ArrayList data member and would like to control which methods/behaviours get exposed to the client of this class. One of the functions in this class takes an index as … |
|
Re:
hello, I'm somewhat new to c# and am trying to make/reduce fractions. the numbers only range from 1 through 10. i was thinking about using a bool true/false to check if the numerator divides by the denominator and still produce ints and not floats. such as 2/10 = 1/5 I … |
|
Re:
Hello guys. I want something like this. [CODE] if(getdate(month) == 1 && getdate(day) == 5) // 5 January // do code else if(getdate(month) == 12 && getdate(day) == 11) // 11 December // do another code // ... [/CODE] Is that possible ? |
|
Re:
Unlike web programming, radiobutton needs to be group by a groupbox, panel etc. and that's what i'm confused at. I have two radiobutton that is 'yes' and 'no', what I want is to determine what object to declare in parameters used for the two to get its value. My code … |
|
Re:
Hi everybody, I am a newbie in C#. I have a fragment code but it doesn't run. Here is my code: [CODE] using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { int number; string type; number = 5; if (number … |
|
Re:
To start I enter some information into 4 textboxes which then the data is stored into a class. I just add the class object into the list box to keep things simple and when i click on the object in the listbox I want it to show the original text … |
|
Re:
Dear all, I am having a very frustrating problem with a project in Visual Studio 2008 C#. I have tried everything, I have searched everywhere, but it seems that nothing works. I would appreciate if someone gave me some directions or suggestions, as to where to look for the solution. … |
|
Re:
Maybe this is more of a "how do you report progress" topic. I have a progress bar on a form. The same form launches 2 separate threads. I would like each thread to report to the same progress bar. Instead of cluttering my code up with a bunch of stuff … |
|
Re:
Hello there! Well you see, I have got this little problem and I usually dont post on forums unless I am really stuck at something :s So I am trying to accomplish something that more or less comes down to this: I have several forms with several textboxes and by … |
|
Re:
Basically, I'm working on a GIF animation creator, all is going well, I just don't know how to move items. For example: I select image 1 and move it to image 0's position, and when I drop it over image 0 it will move image 1 to image 0's position. |
|
Re:
Hi all, Is there a better way of doing this, I googled it and found de IsNumeric, but it´s for VB and not recommended for C#. Let me explain: I have a string like "something123" and I need to get only the 123 value as a string from the string. … |
|
Re:
Dear all, I have a form with 36 comboboxes, and I use this fucntion to update them: [CODE] private void controlBox(string boxName) { foreach (Control frmControl in this.Controls) { if (frmControl is ComboBox) { if (frmControl.Name == boxName) { ComboBox _bx = (ComboBox)frmControl; _bx.Items.Clear(); _bx.Enabled = true; _bx.Items.Add("It Works!"); } … |
|
|
|
Re:
Where do I find the System.Numerics namespace, with things like BigInt and Complex? Just installed Visual Studio 2010 Professional. Google did not make me happy:'( Any help, is as always, much appreciated. |
|
|
Re:
Hi i have been making a web browser program in c# but an annoying dialog pops up on some pages the user navigates. The dialog says Script error Syntax error line 54 char 16 0 does anybody know how to prevent this from popping up. Thanks in advance NSSLTD. p.s … |
Re:
How can I remove all the items of a list? I do not know any thing about how the items get indexed, thats why I cannot provide a better code except this.. [code] for (int i = 0; i < _Cars.Count; i++) { } [/code] |
|
|
Re:
hi well i have been doing c sharp for a while and i think i'm getting quite good at it. I have began to add my own person touch to my applications IE custom cursors and custom buttons. I was just wondering if it is possible to make a custom … |
Re:
How can I extract the data for a specific XML element and convert it into byte array My XML file; [CODE] <?xml version="1.0" encoding="utf-8" ?> <root> <creditcard> <number>19834209</number> <expiry>02/02/2002</expiry> </creditcard> <name> <first>Mary</first> <mi>V</mi> <last>Jones</last> </name> <personal> <dob>01011966</dob> <gender>male</gender> </personal> </root> [/CODE] I want to extract the element <creditcard> and all … |
|
Re:
Hey, Can any one help me with this problem.. i'ld really appreciate ne help.. wat i wanna do is.. dat i want to dynamically create objects on a way that they could be created in a loop.. so i thot an array of object could help so i went ahead … |
|
Re:
Hi All, I have just started learning C# and would like to populate a combo box with the list of games defined in gameslist.txt file. below is the format of gameslist.txt file [code] [category 1] game 1 game 2 game 3 game 4 [category 2] game 5 game 6 game … |