- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
11 Posted Topics
Hi, I need some help to count the number of values between some range. var listSource = new List<double>(); listSource.Add(10); listSource.Add(15); listSource.Add(22); listSource.Add(30); listSource.Add(35); listSource.Add(40); listSource.Add(42); listSource.Add(45); //number of classes -> in this case will be 3 int nClasses = Convert.ToInt16(Math.Round(Math.Sqrt(listSource.Count))); //retrieve max and min values double minValue = listSource.Min(); … | |
Hi, I have a List containing double values and a double mean. I need to check and store all 5 consecutive values (in indivuals lists) that are higher that mean value. At this moment my solution always clear my aux List :( any ideas? double media = 1.8815; List<double> lista … | |
Hello! In a childform I have a step which need to send and recieve some data to/from a external application, and after update some textbox's fields. During this time the childform need to be static waiting from that data, in this time I need to show a progress bar or … | |
Hello! I´m receiving in one text.box some values from external software. The kind of value can be something like this: 0.234 2.345 23.45 234.5 2345.6 23456.7 etc... I need to round and have only 1 decimal value. If I use: [CODE] decimal x; x = decimal.Parse(original.Text); arredond.Text = Math.Round(x,0).ToString(); [/CODE] … | |
Hi, I have one MDIApp running, at this time I need to create some configuration windows to ajust some parameters that provides to the childwindow contents some ajusts. My problem is, which is the best way to create this config windows? How can I store the information for a next … | |
In a button click event I need to send 5 different commands recieve each output one by one. My code for only one command is (its works): [CODE]TcpClient socketForServer; socketForServer = new TcpClient("127.0.0.1", 2211); NetworkStream networkStream = socketForServer.GetStream(); System.IO.StreamReader streamReader = new System.IO.StreamReader(networkStream); System.IO.StreamWriter streamWriter = new System.IO.StreamWriter(networkStream); string command … | |
Hi all, I need to store some data in a txt file from a textbox.text. I have try this and works: [code] FileInfo t = new FileInfo("data.txt"); StreamWriter Txt =t.CreateText(); Txt.WriteLine(textbox1.text); Txt.Close(); [/code] But.... How can I create multiple files without delete the older one, e.g., Gives the name to … | |
Hello, I have in one textbox this values separated by comma: 2,4,5,6,7,8,9,0,2,0,2,3,4,5,1,2,3,4 In a new textbox I want only some portion of this vector, from the 7th position to the 15th. 9,0,2,0,2,3,4,5,1 How can I do this? Best regards! | |
Hello again! I have a form (Form1) with some textbox, call it textbox1. With a button event I open a second form and hide de Form1. In this Form2 I dont use the value, I just make other things.. then open a another form, Form3 here I want to use … | |
Hello, I have some app like this: Form1 (Parent) -> open in load event a Form2 (child) which have a button that open a 3rd one child form (then close Form2). My question is how I can access a control property (like labeltext (in statusbar) in Form1)? Form1 Parent [CODE] … | |
Hello! I have one main form (parent) which contains others child forms. The first child form is a login form, that after correct autentication opens another child form. Depending on the user (operator or supervisor) some items of menustrip in form Parent should be available or not. The supervisor will … |
The End.