【c#窗体荔枝计算乘法,两数相乘】2022-10-6

缘由c#计算乘法,两数相乘-编程语言-CSDN问答

缘由C#如何实现字符加一个整数得到另一个字符-编程语言-CSDN问答

cs 复制代码
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace 窗体专用回复
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        TextBox 文本框1 = new TextBox();
        TextBox 文本框2 = new TextBox();
        TextBox 文本框3 = new TextBox();
        private void Form1_Load(object sender, EventArgs e)
        {
            char a = (char)((int)'a' + 1); this.Text = a.ToString();
            this.DoubleClick += new EventHandler(窗体双击);
            文本框1.Parent = 文本框2.Parent = 文本框3.Parent = this;
            文本框2.Left = 文本框1.Width + 7;
            文本框3.Left = 文本框1.Width + 7 + 文本框2.Width + 7;
        }
        private void 窗体双击(object sender, EventArgs e)
        {
            文本框3.Text = (int.Parse(文本框1.Text) * int.Parse(文本框2.Text)).ToString();
        }
    }
}
相关推荐
whyTeaFo6 小时前
GAMES202: Lecture 4: Real-Time Shadows 2 ppt笔记
笔记
mex_wayne10 小时前
LeRobot SO-ARM101 学习笔记(6) pi0.5--论文阅读
论文阅读·笔记·学习·pi0.5
人间乄惊鸿客11 小时前
c++ 右值
c++·算法
虎符饼干11 小时前
用AI起草软件选型文章,怎样统一比较标准并说明不同方案的适用条件?
笔记
fanstuck12 小时前
AI 客服答错了,三分钟分清是 Prompt 还是系统的锅
算法
田里的水稻13 小时前
FA_编程算法200个分类列数-SUM
算法·分类·数据挖掘
Jeff-Tsai14 小时前
Polhem MD:用自己的 AI 模型读写 Markdown 的桌面编辑器
ai·.net·markdown·avalonia
嘉泰姆半导体官方15 小时前
固定5V输出的非隔离AC-DC芯片选型与电路设计笔记(CXAC85369)
笔记
猿人谷15 小时前
从百万个 Pareto 解中选出 100 个:Riesz s-Energy 如何实现高效的多样性选择?
后端·算法·aigc