首页 > 编程语言 >c#记账软件源码

c#记账软件源码

时间:2023-07-22 12:35:31浏览次数:54  
标签:sender Form c# void System 源码 记账 using new

平常可能接触比较多的就是记账理财类的软件,用的比较多的就是记录一些日常开支类的,其实用c#就可以实现这些想要的功能,今天理财网就发一个c#记账软件的源码示列

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 Form功能选择 : Form

    {

        public Form功能选择()

        {

            InitializeComponent();

        }

        bool f = false;

        private void Form功能选择_Paint(object sender, PaintEventArgs e)

        {

            Bitmap b = new Bitmap(100, 200);

            Graphics g = Graphics.FromImage(b);

             

            g.DrawString("温", new Font("隶书", 20, FontStyle.Bold), Brushes.Red, new Point(5, 5));

            g.DrawString("馨", new Font("隶书", 20, FontStyle.Bold), Brushes.Blue, new Point(30, 30));

            g.DrawString("提", new Font("隶书", 20, FontStyle.Bold), Brushes.Yellow, new Point(5, 55));

            g.DrawString("示", new Font("隶书", 20, FontStyle.Bold), Brushes.Violet, new Point(30, 80));

            g.DrawString("!", new Font("行书", 20, FontStyle.Bold), Brushes.Black, new Point(5, 105));

            pictureBox1.Image = b;

        }

 

        private void button1_Click(object sender, EventArgs e)

        {

            Form新建账目 f5 = new Form新建账目();

            f5.Show();

            f = true;

            this.Close();

        }

 

        private void button6_Click(object sender, EventArgs e)

        {

            Test._f.Close();

        }

 

        private void button2_Click(object sender, EventArgs e)

        {

            Form每日清单 f1 = new Form每日清单();

            f1.Show();

            f = true;

            this.Close();

        }

 

        private void button3_Click(object sender, EventArgs e)

        {

            Form每月结算 f2 = new Form每月结算();

            f2.Show();

            f = true;

            this.Close();

        }

 

        private void button4_Click(object sender, EventArgs e)

        {

            Form当日消费情况 f3 = new Form当日消费情况();

            f3.Show();

            f = true;

            this.Close();

        }

 

        private void button5_Click(object sender, EventArgs e)

        {

            Form改密 f4 = new Form改密();

            f4.Show();

            f = true;

            this.Close();

        }

 

        private void Form功能选择_FormClosed(object sender, FormClosedEventArgs e)

        {

            if(f)

            {

                return;

            }

            else

            {

                Test._f.Close();

            }

                    

        }

    }

}

标签:sender,Form,c#,void,System,源码,记账,using,new
From: https://www.cnblogs.com/yeci/p/17573166.html

相关文章

  • docker部署zabbix 6.0高可用集群实验
    0实验环境虚拟机,postgresql本地部署,zabbixserver及nginx容器部署1postgresql参看前作《postgresql+timescaledb离线安装笔记》完成部署,对外端口tcp15432,账号zabbix,密码1232zabbixserver2.1拉取镜像dockerpullzabbix/zabbix-server-pgsql:6.0-alpine-latest2.2......
  • androidstudio中,Data、Adapter、RecycleView之间的关系
    AndroidStudio中Data、Adapter、RecyclerView之间的关系1.流程概述在Android开发中,使用RecyclerView来展示大量的数据是一种常见的方式。为了将数据正确地展示在RecyclerView上,我们需要理解Data、Adapter和RecyclerView之间的关系。下面是实现这一关系所需的步骤的概述:步骤......
  • androidstudio 打开cordova
    如何使用AndroidStudio打开Cordova项目概述本文将指导您如何使用AndroidStudio打开Cordova项目。Cordova是一个开源的移动应用开发框架,它允许开发者使用HTML、CSS和JavaScript构建跨平台的移动应用程序。而AndroidStudio是一款功能强大的Android开发工具。通过使用AndroidStu......
  • AT_agc002_f [AGC002F] Leftmost Ball 思考--zhengjun
    思维+dp。如果像题意那样先放球再染色的话不是很好做。所以考虑有\(n\)个白球,\(n\)种其他颜色的球各\(k-1\)个。那么限制就是说对于每个前缀,白球的个数\(\ge\)其他颜色球的种数。所以就可以设\(f_{i,j}\)为放了\(i\)个白球,\(j\)种颜色的\(k-1\)个球的方案数。......
  • 在VScodes上搭建keil环境
    目录本质前期准备插件下载插件设置打开项目本质通过插件KeilAssistant调用keil的API前期准备VScodekeilkeil提前创建好的工程文件插件下载在扩展商店搜索KeilAssistant插件设置打开扩展设置找到UV4.exe的路径填写UV4.exe的路径打开项目此......
  • C#动态库调用webservice
    1.c#调用一外部webservice时,对方能收到数据包,缺收不到正确数据,报莫名错误。对方也不知道原因。只能采用动态调用方式。采用如下类:1publicclassWebserviceHelper2{3///<summary>4///动态调用web服务5///</summary>6......
  • C# 实现抓取财经网站页面内容的实例方法
    ​ protectedvoidEnter_Click(objectsender,EventArgse)        {            WebClientwe=newWebClient();  //主要使用WebClient类            byte[]myDataBuffer;            myDataBuffer=we.DownloadData......
  • 验证码插件 vercode.js
    第1代图片验证码- 字母数字型 第2代滑动验证码-图片截取型第3代验证码-选图型 vercode.js结合了上面的情况下新研发的一种验证码。验证码类型验证码描述操作性安全性描述字母数字型图片验证码这是一种通过后台随机码生成图片的验证码。服务器会在......
  • git cherry-pick的使用
    gitcherry-pick<commitid>是用来将其他某个分支上的某次commit复制到当前分支假设你的项目提交历史如下:(箭头相当于一个指针,表示当前这个commit是基于指向的那个commit修改的,HEAD也是一个这样的指针)如果你希望将提交e43a6拉取到master分支,你可以执行:$gitcheckout......
  • python接口自动化项目部署在centos7上
    我选择在apache根目录下/var/www/html创建一个目录test 切换到test目录下 进入创建的目录,并初始化git,输入命令gitinit如果会报错InitializedemptyGitrepositoryin/var/www/html/test/.git/,就输入yum-yupdate用于更新系统中安装的软件包到最新可用版本。 再次输......