• 大小: 48KB
    文件类型: .zip
    金币: 2
    下载: 1 次
    发布日期: 2021-06-17
  • 语言: C#
  • 标签: 源码  工具  

资源简介

个人爱好创作,仅供参考 博文链接:https://mingzijian.iteye.com/blog/1838367

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;

namespace WinFrmDiaoCha
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void btnSubmit_Click(object sender EventArgs e)
        {
            string Desc = “        意见及建议:“ + txtDesc.Text;
            string Learn = “学习主动性:“;
            if (rdo11.Checked)
            {
                Learn +=rdo11.Text;
            }
            if (rdo12.Checked)
            {
                Learn += rdo12.Text;
            }
            if (rdo13.Checked)
            {
                Learn += rdo13.Text;
            }
            if (rdo14.Checked)
            {
                Learn +=rdo14.Text;
            }

            string Zuoye = “        作业完成度:“;
            if (rdo11.Checked)
            {
                Zuoye += rdo21.Text;
            }
            if (rdo12.Checked)
            {
                Zuoye += rdo22.Text;
            }
            if (rdo13.Checked)
            {
                Zuoye += rdo23.Text;
            }
            if (rdo14.Checked)
            {
                Zuoye += rdo24.Text;
            }

            string Hudong = “        组员互动性:“;
            if (rdo31.Checked)
            {
                Hudong  += rdo21.Text;
            }
            if (rdo32.Checked)
            {
                Hudong += rdo22.Text;
            }
            if (rdo33.Checked)
            {
                Hudong += rdo23.Text;
            }
            if (rdo34.Checked)
            {
                Hudong += rdo24.Text;
            }

            string Lijie = “        新课理解度:“;
            if (rdo41.Checked)
            {
                Lijie += rdo21.Text;
            }
            if (rdo42.Checked)
            {
                Lijie += rdo22.Text;
            }
            if (rdo43.Checked)
            {
                Lijie += rdo23.Text;
            }
            if (rdo44.Checked)
            {
                Lijie += rdo24.Text;
            }

            string Xiangqing = Learn + Zuoye + Hudong + Lijie + Desc;

            string name = txtName.Text;
            FileStream fs = new FileStream(@“\\gtdx031\e$\组员学习情况调查\“ + name + “.txt“ FileMode.OpenOrCreate FileAccess.Write);
            StreamWriter sw = new StreamWriter(fs);

            sw.Write(Xiangqing);
            sw.Close();
            fs.Close();
            MessageBox.Show(“提交成功,谢谢合作!“);
        }

    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2012-10-12 14:37  组员学习情况调查\
     目录           0  2012-10-12 14:37  组员学习情况调查\WinFrmDiaoCha\
     文件         929  2012-05-31 06:03  组员学习情况调查\WinFrmDiaoCha.sln
     文件        8192  2012-05-31 06:03  组员学习情况调查\WinFrmDiaoCha.suo
     目录           0  2012-10-12 14:37  组员学习情况调查\WinFrmDiaoCha\bin\
     目录           0  2012-10-12 14:37  组员学习情况调查\WinFrmDiaoCha\bin\Debug\
     文件       14336  2012-05-31 09:22  组员学习情况调查\WinFrmDiaoCha\bin\Debug\WinFrmDiaoCha.exe
     文件         895  2012-05-31 09:22  组员学习情况调查\WinFrmDiaoCha\bin\Debug\WinFrmDiaoCha.exe.lnk
     文件       28160  2012-05-31 09:22  组员学习情况调查\WinFrmDiaoCha\bin\Debug\WinFrmDiaoCha.pdb
     文件       14328  2012-05-31 06:03  组员学习情况调查\WinFrmDiaoCha\bin\Debug\WinFrmDiaoCha.vshost.exe
     文件         490  2007-07-21 01:33  组员学习情况调查\WinFrmDiaoCha\bin\Debug\WinFrmDiaoCha.vshost.exe.manifest
     文件        2835  2012-05-31 09:22  组员学习情况调查\WinFrmDiaoCha\Form1.cs
     文件       17494  2012-05-31 08:54  组员学习情况调查\WinFrmDiaoCha\Form1.Designer.cs
     文件        5814  2012-05-31 08:54  组员学习情况调查\WinFrmDiaoCha\Form1.resx
     目录           0  2012-10-12 14:37  组员学习情况调查\WinFrmDiaoCha\obj\
     目录           0  2012-10-12 14:37  组员学习情况调查\WinFrmDiaoCha\obj\Debug\
     目录           0  2012-05-31 11:42  组员学习情况调查\WinFrmDiaoCha\obj\Debug\Refactor\
     目录           0  2012-05-31 11:42  组员学习情况调查\WinFrmDiaoCha\obj\Debug\TempPE\
     文件         646  2012-05-31 08:17  组员学习情况调查\WinFrmDiaoCha\obj\Debug\WinFrmDiaoCha.csproj.FileListAbsolute.txt
     文件         847  2012-05-31 08:54  组员学习情况调查\WinFrmDiaoCha\obj\Debug\WinFrmDiaoCha.csproj.GenerateResource.Cache
     文件       14336  2012-05-31 09:22  组员学习情况调查\WinFrmDiaoCha\obj\Debug\WinFrmDiaoCha.exe
     文件         180  2012-05-31 08:54  组员学习情况调查\WinFrmDiaoCha\obj\Debug\WinFrmDiaoCha.Form1.resources
     文件       28160  2012-05-31 09:22  组员学习情况调查\WinFrmDiaoCha\obj\Debug\WinFrmDiaoCha.pdb
     文件         180  2012-05-31 08:17  组员学习情况调查\WinFrmDiaoCha\obj\Debug\WinFrmDiaoCha.Properties.Resources.resources
     文件         494  2012-05-31 06:03  组员学习情况调查\WinFrmDiaoCha\Program.cs
     目录           0  2012-10-12 14:37  组员学习情况调查\WinFrmDiaoCha\Properties\
     文件        1418  2012-05-31 06:03  组员学习情况调查\WinFrmDiaoCha\Properties\AssemblyInfo.cs
     文件        2876  2012-05-31 06:03  组员学习情况调查\WinFrmDiaoCha\Properties\Resources.Designer.cs
     文件        5612  2012-05-31 06:03  组员学习情况调查\WinFrmDiaoCha\Properties\Resources.resx
     文件        1098  2012-05-31 06:03  组员学习情况调查\WinFrmDiaoCha\Properties\Settings.Designer.cs
     文件         249  2012-05-31 06:03  组员学习情况调查\WinFrmDiaoCha\Properties\Settings.settings
............此处省略3个文件信息

评论

共有 条评论