Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
13 views

I have a C# Winform application. In the form of this application, I have a panel with AutoScroll=true and DoubleBuffered=true. The form containing the panel has DoubleBuffered=true. Inside the panel, ...
doxdici's user avatar
  • 37
0 votes
1 answer
39 views

I need to set two numericupdown controls to set two numbers with the following format: One with 000001 format The other with 001 format I've found the UpdateTextEdit() control on MS Support page but ...
Nicola's user avatar
  • 23
0 votes
1 answer
109 views

I have NumericeUpdown embedded inside an EditingListView column in a Windows desktop application. The ListView will show decimal value as text and when clicked, the NumericUpDown should be visible ...
MubarakZade's user avatar
0 votes
0 answers
95 views

I have a numericUpDown control bound to a binding source. The bindingsource has a datasource that is a binding list of entities queried using Entity Framework. _context.Tasks.Load(); _bindingSource....
GrassConcreteFloor1788's user avatar
0 votes
0 answers
49 views

During the using of NumericUpDown control in Framework 4.8 version I tent to delete the value inside NumericUpDown control. After leaving the value deleted and empty, the value stays the last input ...
Cem's user avatar
  • 11
0 votes
1 answer
67 views

When I type a key inside a NumericUpDown, it is shown even if I cancel it, no matter which Key event I put it into. I tried cancelling the key in all those events: events It does cancel but I always ...
Maxime Malters's user avatar
1 vote
1 answer
75 views

I set a minimum value of 1 and maximum of 10 for my "numericUpDown1". (C# Windows Form) When I enter the value 0 manually from the keyboard, "numericUpDown1" automatically ...
Ricardo's user avatar
  • 33
0 votes
0 answers
247 views

I'm using CoordinateSharp package to convert my coordinates. When I want to convert from Lat Long to MGRS it works, even editing my lat long numericupdown box updates the MGRS to the correct value, ...
smfa3's user avatar
  • 11
1 vote
1 answer
142 views

There is a custom NumericUpDownColumn: Module NumUpDownModule Public defRowValue As String = "0" End Module Public Class NumericUpDownColumn Inherits DataGridViewColumn Public ...
Non-EngSpeaker's user avatar
3 votes
2 answers
2k views

Every time I click the Up or Down button of an Avalonia NumericUpDown control a period with a zero gets added to the value, i.e. it increases as 2.0, 3.0, 4.0 etc. instead of 2, 3, 4 (which would be ...
Ivan's user avatar
  • 64.5k
0 votes
2 answers
57 views

I am pretty new to c#, I am taking a class and we didn't cover numericUpDown at all. I am creating a basic dice roller for a project and have the basics laid out, however I can't seem to figure out ...
Collin Buskey's user avatar
0 votes
1 answer
100 views

Basically I have a datagridview, some rows contain text and the other rows contain decimal with roughly 7 decimal points, and I would like to use NumericUpDown control to reduce or increase the ...
NoJaqueMate NoWin's user avatar
1 vote
2 answers
150 views

I have a C# WinForm application where I want to implement a NumericUpDown component that increments / decrements its value depending whether or not the control key is pressed on clicking to the arrow ...
Simon's user avatar
  • 17
0 votes
0 answers
24 views

enter image description hereI want to write a program to analyze the lottery. I want to implement Visual Basic.NET in ListBox. The base of circulations in ListBox will look like this: 1344 - 03 34 12 ...
GPU's user avatar
  • 1
0 votes
0 answers
50 views

Heres what I have: if (int.TryParse(kit_csv_quantity.Text, out int kitOut)) { decimal kitOutValue = kitOut + kits_upDown.Value; kit_csv_quantity.Text = ...
Csumner's user avatar
  • 27
0 votes
2 answers
439 views

I am stuck with this problem of giving padding to all sides to a value inside NumericUpDown control in Winforms. Apparently no one has asked this before. Actual how control is looking: (https://i....
Ishani Raj Srivastava's user avatar
0 votes
0 answers
253 views

Follow-on from question here : How to assign typical NumericUpDown properties to custom NumericUpDown based control? I'm trying to do something similar to this scenario but I don't want / need an ...
Alan O'Brien's user avatar
0 votes
1 answer
167 views

I would like to change the increment values and decimal places for all of my numeric updowns. I know I can do this individually with numericUpDownName.DecimalPlaces = 2; and numericUpDownName....
Matt Beres's user avatar
1 vote
1 answer
319 views

I have just started studying .Net Winform with C# (.Net 5). I did a simple winform with a NumericUpDown and a ProgressBar, basically, the ProgressBar will update its value when the NumericUpDown's ...
Lumethys's user avatar
  • 201
1 vote
1 answer
784 views

I am attempting to embed a custom NumericUpDown that includes a leading/trailing string/char (e.g. "%" or "$") in the NumericUpDown textbox inside of a C# DataGridView. In other ...
treye's user avatar
  • 11
0 votes
1 answer
45 views

I have 10 NumericUpDowns. I want them when to reach the limit of 14 and then the last NumericUpDown the user clicked only can be decreased or stay the same after the msgbox display, I set the limit to ...
Shutong's user avatar
1 vote
1 answer
946 views

Under certain conditions I'd like to cancel the ValueChanged event of a NumericUpDown control in Winforms (e.g. when the value set in the control is too high in relation to another value in a TextBox)....
Gorgsenegger's user avatar
  • 7,928
1 vote
2 answers
1k views

I have a bound NumericUpDown control. I want the ValueChanged Event to fire when either the up or down arrow is clicked or if the user changes the number. When the up or down arrow is clicked the ...
Kirsten's user avatar
  • 18.8k
3 votes
3 answers
1k views

This code doesn't work if i set the value of the textbox to 1, with a minimum of 1. numStartChannel.Minimum = 1; numStartChannel.ResetText(); numStartChannel.Value = 1; The control actually has the ...
John Lord's user avatar
  • 2,185
0 votes
1 answer
83 views

Thanks in advance... I am a VB coder with limited C# experience. I am trying to implement the MSDN C# solution for adding a NumericUpDown column to a DataGridView from here. It works fine except that ...
Graham Clarke's user avatar
3 votes
1 answer
185 views

I want to swap the Up and Down arrows (functionality only, not the actual arrows) on NumericUpDown control. For example on clicking the UP arrow the value should decrease and similarly on clicking the ...
Heisen's user avatar
  • 43
0 votes
2 answers
178 views

I am making a program that is a golf scorecard. There is a text file for the selected course they choose and when they click a button I want the program to display the previous round to numericUpDowns ...
Chad Chadington's user avatar
0 votes
1 answer
825 views

My question is based on one of the answer to this post: Where is the WPF Numeric UpDown control? answered by Mr. Squirrel.Downy. What i would like to accomplish is a numeric updown control that ...
RBCSharp's user avatar
-1 votes
1 answer
753 views

I want to make it work this way: when I write to NumericUpDown 1k the value should be 1000, when I write 4M the value should be 4000000. How can I make it? I tried this: private void ...
Daniel 's user avatar
-1 votes
1 answer
80 views

Example I have a combobox with a list of 3: entry, exit and transfer and a numericupdown called: txtTotal that starts in 0 when i select entry or exit should show error missing total but if a select ...
user17331079's user avatar
0 votes
2 answers
477 views

I have the following question. I am using C# .NET, and I want to save a value in numericupdown box after I close my form. In my aplication I have in total 2 forms, so I want to save the value I enter ...
DariusMan's user avatar
0 votes
1 answer
267 views

I have the following problem. I create a form with two NumericUpDown and I want to increment/decrement the value from them by 0.01. I tried to use NumericUpDownObject.Increment=0.01M, but there is no ...
DariusMan's user avatar
0 votes
1 answer
97 views

In C# WinForms desktop application I use 2 interdependent numericUpDown1 min and numericUpDown2 max value numericUpDown controls: private void numericUpDown1_ValueChanged(object sender, EventArgs e) {...
lf80's user avatar
  • 493
0 votes
0 answers
367 views

I am using a NumericUpDown in WinForms and I'm wondering if it is possible to restrict the number of digits. So my max value is set to 9999.99 but you can enter values larger than this. you shouldn't ...
Shafeel Mohammed's user avatar
-3 votes
3 answers
357 views

I was intending to have this create as many textboxes as the value of numericUpDown1, and I'm going to make some tweaks so that it also deletes textboxes when the value is lowered, but it is not ...
BusterCody3's user avatar
0 votes
0 answers
72 views

I'm working on a school project for a restaurant menu. I have my menu items in a TabControl based on type (main course, salads, deserts, and beverages). The main course menu has lots of items and it ...
MIke Be's user avatar
2 votes
1 answer
264 views

I need help on how can I compute for the Basic Pay which is the Rate/Day * No. of days worked. How can I get the values of every position code so that I can multiply it to the No. of Days Worked. For ...
Spooderman's user avatar
0 votes
1 answer
256 views

My question is based on How to set a restriction to WPF IntegerUpDown toolkit? that I've posted a while ago. I have two WPF IntegerUpdown controls, one represents the maximum number and the other ...
user avatar
1 vote
2 answers
341 views

I have a NumericUpDown whose minimum value is set to 1 and its maximum is 64. I have to increment it, from 1 to 64, using the values of the power of 2, so it must be 1, 2, 4, 8, 16, 32, 64. I've tried ...
The Eng's user avatar
  • 39
-1 votes
1 answer
225 views

I have a numericUpDown in my C#.NET windows form and I have set it's minimum value to 5. Now I can't go below 5 using the numericUpDown button. But I also want to show an error message if user tries ...
Hope Michaelson's user avatar
3 votes
2 answers
3k views

I am very new to C#, and have a question. I have been able to change the border colors of buttons and such by changing their FlatStyle to "Flat". With the NumericUpDown, I can't change the ...
fauxvelocity's user avatar
0 votes
0 answers
293 views

I've got issues with NumericUpDown control. When I try to input a value, the control seems to reject it, despite the value being well withing Minimum and Maximum. numericField.Hexadecimal = true ...
mag_zbc's user avatar
  • 7,019
-1 votes
1 answer
386 views

I'm developing a WinForms application in C# that by an ADD button adds elements to a listBox. What I need to do is set an items limit to this listBox with the NumericUpDown element while the app is ...
Fernando Taboada's user avatar
2 votes
2 answers
2k views

I have a NumericUpDown control with increment of 5. Entering 1 using the keyboard is possible and shall always be possible. But when I click the Up-button I want not to have a 6 but a 5, always 5, 10, ...
A. Kniesel's user avatar
2 votes
2 answers
969 views

I've been trying out the windows forms for a small project of mine where the program calculates the contents of different amounts of food. I figured the NumericUpDowns would be a good way to get ...
Microcrew's user avatar
1 vote
2 answers
2k views

I want to take 4-digit value from Users using numericUpDown. So, I want to set up "0000" instead "0" to remember them to enter 4-digit. I am programming WinForm With C#. I am ...
UglukFromIsengard's user avatar
1 vote
2 answers
670 views

There are two controls in the NumericUpDown control.One is the up down buttons and the second is an edit box.Position zero of the NumericUpDown collection of it's controls is the up down buttons....
user12027865's user avatar
2 votes
2 answers
184 views

public partial class Form1 : Form { public class abc { public static decimal Divide(int a,int b) { return a / b; } } ...
Rahul Vasantrao Kamble's user avatar
0 votes
3 answers
818 views

I currently have a NumericUpDown where users input the number of years they have been at a site. I then have a DateTimePicker for a DOB field: I want to make sure that the Value specified in the ...
Txeptsyip's user avatar
0 votes
0 answers
178 views

I am using a numericupdown in my form, but I don't need the arrows, so I hide them on the form load event, it works fine, but when I minimize the form and maximize it again they turn black private ...
Rizizum's user avatar

1
2 3 4 5
7