首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏Java架构师必看

    控件属性和InitializeComponent()关系:

    = new System.Windows.Forms.NumericUpDown(); 32 ((System.ComponentModel.ISupportInitialize // numericUpDown1 36 // 37 this.numericUpDown1.DecimalPlaces = 4;//属性里对应!!!! 38 this.numericUpDown1.Location = new System.Drawing.Point(12, 12); 39 this.numericUpDown1 .Name = "numericUpDown1"; 40 this.numericUpDown1.Size = new System.Drawing.Size(120, 21); .Maximum = 20; 17 numericUpDown1.Minimum = 1; 18 numericUpDown1.DecimalPlaces

    65020编辑于 2022-03-21
  • 来自专栏历史专栏

    【愚公系列】2023年11月 Winform控件专题 numericUpDown控件详解

    一、numericUpDown控件详解NumericUpDown控件是Winform中常用的控件之一,用于允许用户通过向上或向下调整数字来选择值。 以下是一些使用NumericUpDown控件的常见方法:1.实例化控件:可以通过拖放控件到窗体上或在代码中使用以下代码:NumericUpDown numericUpDown1 = new NumericUpDown numericUpDown1.Minimum = 0;numericUpDown1.Maximum = 100;numericUpDown1.Increment = 1;3.获取和设置值:可以通过Value numericUpDown1.Enabled = false;NumericUpDown控件是一个灵活、易用的控件。通过了解其属性和事件,可以方便地使用它来增强Winform应用程序的交互性和功能性。 选中numericUpDown控件,找到其属性窗口。在属性窗口中找到Hexadecimal属性,将其设置为True。运行程序,numericUpDown控件的值将以十六进制方式显示。

    98511编辑于 2023-11-29
  • [C#][winform]基于yolov8的安检X光危险品检测与识别系统C#源码+onnx模型+评估指标曲线+精美GUI界面

    .Value); detetor.IOU = Convert.ToSingle(numericUpDown2.Value); var results .Value); detetor.IOU = Convert.ToSingle(numericUpDown2.Value); VideoCapture .Value = Convert.ToDecimal(trackBar2.Value / 100.0f); } private void numericUpDown1 .Value) * 100); } private void numericUpDown2_ValueChanged(object sender, EventArgs e) { trackBar2.Value = (int)(Convert.ToSingle(numericUpDown2.Value) * 100);

    17900编辑于 2025-07-22
  • [C#][winform]基于yolov8的手势识别0-9检测系统C#源码+onnx模型+评估指标曲线+精美GUI界面

    .Value); detetor.IOU = Convert.ToSingle(numericUpDown2.Value); var results .Value); detetor.IOU = Convert.ToSingle(numericUpDown2.Value); VideoCapture .Value = Convert.ToDecimal(trackBar2.Value / 100.0f); } private void numericUpDown1 .Value) * 100); } private void numericUpDown2_ValueChanged(object sender, EventArgs e) { trackBar2.Value = (int)(Convert.ToSingle(numericUpDown2.Value) * 100);

    20800编辑于 2025-07-22
  • [C#][winform]基于yolov8的CT扫描图像肾结石检测系统C#源码+onnx模型+评估指标曲线+精美GUI界面

    .Value); detetor.IOU = Convert.ToSingle(numericUpDown2.Value); var results .Value); detetor.IOU = Convert.ToSingle(numericUpDown2.Value); VideoCapture .Value = Convert.ToDecimal(trackBar2.Value / 100.0f); } private void numericUpDown1_ .Value) * 100); } private void numericUpDown2_ValueChanged(object sender, EventArgs e) { trackBar2.Value = (int)(Convert.ToSingle(numericUpDown2.Value) * 100);

    18300编辑于 2025-07-22
  • [C#][winform]基于yolov11的交通违规行为检测系统C#源码+onnx模型+评估指标曲线+精美GUI界面

    .Value); detetor.IOU = Convert.ToSingle(numericUpDown2.Value); var results .Value); detetor.IOU = Convert.ToSingle(numericUpDown2.Value); VideoCapture .Value = Convert.ToDecimal(trackBar2.Value / 100.0f); } private void numericUpDown1_ .Value) * 100); } private void numericUpDown2_ValueChanged(object sender, EventArgs e) { trackBar2.Value = (int)(Convert.ToSingle(numericUpDown2.Value) * 100);

    27710编辑于 2025-07-16
  • [C#][winform]基于yolov8的道路交通事故检测系统C#源码+onnx模型+评估指标曲线+精美GUI界面

    .Value); detetor.IOU = Convert.ToSingle(numericUpDown2.Value); var results .Value); detetor.IOU = Convert.ToSingle(numericUpDown2.Value); VideoCapture .Value = Convert.ToDecimal(trackBar2.Value / 100.0f); } private void numericUpDown1_ .Value) * 100); } private void numericUpDown2_ValueChanged(object sender, EventArgs e) { trackBar2.Value = (int)(Convert.ToSingle(numericUpDown2.Value) * 100);

    22500编辑于 2025-07-22
  • [C#][winform]基于yolov8的8种人脸表情检测系统C#源码+onnx模型+评估指标曲线+精美GUI界面

    .Value); detetor.IOU = Convert.ToSingle(numericUpDown2.Value); var results .Value); detetor.IOU = Convert.ToSingle(numericUpDown2.Value); VideoCapture .Value = Convert.ToDecimal(trackBar2.Value / 100.0f); } private void numericUpDown1 .Value) * 100); } private void numericUpDown2_ValueChanged(object sender, EventArgs e) { trackBar2.Value = (int)(Convert.ToSingle(numericUpDown2.Value) * 100);

    25800编辑于 2025-07-22
  • [C#][winform]基于yolov5的驾驶员抽烟打电话安全带检测系统C#源码+onnx模型+评估指标曲线+精美GUI界面

    .Value); detetor.IOU = Convert.ToSingle(numericUpDown2.Value); var results .Value); detetor.IOU = Convert.ToSingle(numericUpDown2.Value); VideoCapture .Value = Convert.ToDecimal(trackBar2.Value / 100.0f); } private void numericUpDown1 .Value) * 100); } private void numericUpDown2_ValueChanged(object sender, EventArgs e) { trackBar2.Value = (int)(Convert.ToSingle(numericUpDown2.Value) * 100);

    20610编辑于 2025-07-22
  • [C#][winform]基于yolov8的人员溺水检测告警监控系统C#源码+onnx模型+评估指标曲线+精美GUI界面

    .Value); detetor.IOU = Convert.ToSingle(numericUpDown2.Value); var results .Value); detetor.IOU = Convert.ToSingle(numericUpDown2.Value); VideoCapture .Value = Convert.ToDecimal(trackBar2.Value / 100.0f); } private void numericUpDown1 .Value) * 100); } private void numericUpDown2_ValueChanged(object sender, EventArgs e) { trackBar2.Value = (int)(Convert.ToSingle(numericUpDown2.Value) * 100);

    17310编辑于 2025-07-22
  • [C#][winform]基于yolov8的课堂行为检测系统C#源码+onnx模型+评估指标曲线+精美GUI界面

    .Value); detetor.IOU = Convert.ToSingle(numericUpDown2.Value); var results .Value); detetor.IOU = Convert.ToSingle(numericUpDown2.Value); VideoCapture .Value = Convert.ToDecimal(trackBar2.Value / 100.0f); } private void numericUpDown1 .Value) * 100); } private void numericUpDown2_ValueChanged(object sender, EventArgs e) { trackBar2.Value = (int)(Convert.ToSingle(numericUpDown2.Value) * 100);

    24800编辑于 2025-07-22
  • [C#][winform]基于yolov8的DMS驾驶员抽烟打电话喝水吃东西检测系统C#源码+onnx模型+评估指标曲线+精美GUI界面

    .Value); detetor.IOU = Convert.ToSingle(numericUpDown2.Value); var results .Value); detetor.IOU = Convert.ToSingle(numericUpDown2.Value); VideoCapture .Value = Convert.ToDecimal(trackBar2.Value / 100.0f); } private void numericUpDown1 .Value) * 100); } private void numericUpDown2_ValueChanged(object sender, EventArgs e) { trackBar2.Value = (int)(Convert.ToSingle(numericUpDown2.Value) * 100);

    17600编辑于 2025-07-22
  • 来自专栏哆哆Excel

    在C#中,PDFsharp库使用(三):PDF提取

    pdf提取---执行提取Button private void button11_Click(object sender, EventArgs e) { int x = (int)numericUpDown2 .Value; int y= (int)numericUpDown3.Value; string inputFilePath = textBox3.Text;

    2.8K00编辑于 2024-04-18
  • 来自专栏DotNet NB && CloudNative

    WinForm中一个控件监视另一个控件属性变化技术解析

    数据可视化:在一个图表绘制应用中,一个NumericUpDown控件用于调整图表的缩放比例,一个Chart控件根据NumericUpDown的值来重新绘制图表,实现Chart控件对NumericUpDown

    58400编辑于 2025-03-24
  • 来自专栏哆哆Excel

    分享免费PDF工具(个人C#编程作品,免费使用)

    ; } // 指定每个PDF文件需要拆分的页数 int pagesPerDocument =(int)numericUpDown1 private void button11_Click(object sender, EventArgs e) { int x = (int)numericUpDown2 .Value; int y= (int)numericUpDown3.Value; string inputFilePath = textBox3.Text

    1.2K10编辑于 2024-04-10
  • 来自专栏全栈程序员必看

    Winform基础控件美化

    这段时间重写了Winform的TextBox,ComboBox,NumericUpDown,DateTimePicker,Panel,Button,UserControl控件 主要实现了,这些控件的垂直居中

    1.4K20编辑于 2022-08-25
  • 来自专栏开源项目

    一款开源、现代化的 WinForm UI 控件库

    当前控件AlertBox、Button、CheckBox、DatePicker、GroupBox、NumericUpDown、PictureBox、ProgressBar、RadioButton、RoundButton

    37700编辑于 2025-12-11
  • 来自专栏明志德到的IT笔记

    Winform的使用

    ComBox介绍与使用  checkedListBox  复选框控件的使用 DateTimePicker 日期时间控件介绍 MonthCalendar 月历控件介绍  MaskedTextBox介绍 NumericUpDown

    46510编辑于 2023-10-21
  • 来自专栏哆哆Excel

    在C#中,PDFsharp库使用(二):PDF拆分

    Directory.CreateDirectory(outputDirectory); } // 指定每个PDF文件需要拆分的页数 int pagesPerDocument =(int)numericUpDown1

    2.6K10编辑于 2024-04-18
  • 来自专栏软件开发

    BackgroundWorker在单独的线程上执行操作

                    hightest = 0;                 //要进行耗时计算的数字                 numberToComputer = Convert.ToInt32(numericUpDown1

    2.2K10编辑于 2022-05-09
领券