基本信息
源码名称:winform 问卷调查 程序源码(access数据库)
源码大小:0.59M
文件格式:.rar
开发语言:C#
更新时间:2018-08-20
   友情提示:(无需注册或充值,赞助后即可获取资源下载链接)

     嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300

本次赞助数额为: 3 元 
   源码介绍
桌面应用程序
采用access数据库

可实现问卷管理、答题、图形化统计






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;

namespace Survey
{
    public partial class Survey : Form
    {
        public Survey()
        {
            InitializeComponent();
            m_login = new Login();
            m_login.Dock = DockStyle.Fill;
            m_CurrentPage = m_login;
            m_login.Parent = this.panelCenter;
            m_login.begin  =new BeginEventHandler(m_login_begin);
            m_login.login  = new LoginEventHandler(m_login_login);
        }

        private void Survey_Load(object sender, EventArgs e)
        {
        }
        private void m_login_login()
        {
            m_managelogin = new ManageLogin();
            m_managelogin.managelogin  = new ManageLoginEventHandler(m_managelogin_managelogin);
            m_managelogin.backlogin  = new BackLoginEventHandler(m_managelogin_backlogin);
            if (m_CurrentPage != null)
                m_CurrentPage.Parent = null;
            m_CurrentPage = m_managelogin;
            m_CurrentPage.Parent = this.panelCenter;
        }
        public void m_managelogin_backlogin()
        {
            if (m_CurrentPage != null)
                m_CurrentPage.Parent = null;
            m_CurrentPage = m_login;
            m_CurrentPage.Parent = this.panelCenter;
        }
        private void m_login_begin()
        {
            m_bar = new Bar();
            
            if (m_CurrentBar!=null)
                m_CurrentBar.Parent = null;
            m_CurrentBar = m_bar;
            m_CurrentBar.Parent = this.panelBar;
            m_answermass = new AnswerMass();
            m_answermass.QueBegin  =new QuestionBeginEventHandler(m_answermass_QueBegin);
            m_bar.end  = new EndEventHandler(m_bar_end);
            m_CurrentPage.Parent = null;
            m_CurrentPage = m_answermass;
            m_CurrentPage.Parent = this.panelCenter;
        }
        private void m_bar_end()
        {
            if (m_CurrentPage != null)
                m_CurrentBar.Parent = null;
            if (m_CurrentPage != null)
                m_CurrentPage.Parent = null;
            m_CurrentPage = m_login;
            m_CurrentPage.Parent = this.panelCenter;
        }
        private void m_managelogin_managelogin()
        {
            m_managebar = new ManageBar();
            if (m_CurrentBar != null)
                m_CurrentBar.Parent = null;
            m_CurrentBar = m_managebar;
            m_CurrentBar.Parent = this.panelBar;
            m_managebar.selectpaper  = new SelectPaperEventHandler(m_managebar_selectpaper);
            m_managebar.addpaper  = new AddPaperEventHandler(m_managebar_addpaper);
            m_managebar.statistic  = new StatisticEventHandler(m_managebar_statistic);
            m_managebar.input  = new InputEventHandler(m_managebar_input);
            m_managebar.manageback  = new ManageBackEventHandler(m_managebar_manageback);
            m_selectpage = new SelectPage();
            if (m_CurrentPage != null)
                m_CurrentPage.Parent = null;
            m_CurrentPage = m_selectpage;
            m_CurrentPage.Parent = this.panelCenter;
        }
        public void m_managebar_manageback()
        {
            if (m_CurrentPage != null)
                m_CurrentBar.Parent = null;
            if (m_CurrentPage != null)
                m_CurrentPage.Parent = null;
            m_CurrentPage = m_login;
            m_CurrentPage.Parent = this.panelCenter;
            
        }
        public void m_managebar_input()
        {
            m_input = new Input();
            if (m_CurrentPage != null)
                m_CurrentPage.Parent = null;
            m_CurrentPage = m_input;
            m_CurrentPage.Parent = this.panelCenter;
        }
        public void m_managebar_statistic()
        {
            m_statistic = new Statistic();
            if (m_CurrentPage != null)
                m_CurrentPage.Parent = null;
            m_CurrentPage = m_statistic;
            m_CurrentPage.Parent = this.panelCenter;
        }
        public void m_managebar_addpaper()
        {
            m_newpaper = new NewPaper();
            if (m_CurrentPage != null)
                m_CurrentPage.Parent = null;
            m_CurrentPage = m_newpaper;
            m_CurrentPage.Parent = this.panelCenter;
        }
        public void m_managebar_selectpaper()
        {
            if (m_CurrentPage != null)
                m_CurrentPage.Parent = null;
            m_CurrentPage = m_selectpage;
            m_CurrentPage.Parent = this.panelCenter;
        }
        private void m_answermass_QueBegin()
        {
            m_queview = new QuestionView();
            m_queview.userid = m_answermass.userid;
            m_queview.SetUserId();
            m_queview.submit  = new SubmitEventHandler(m_queview_submit);
            if (m_CurrentPage != null)
                m_CurrentPage.Parent = null;
            m_CurrentPage = m_queview;
            m_CurrentPage.Parent = this.panelCenter;
        }
        private void m_queview_submit()
        {
            if (m_CurrentPage != null)
                m_CurrentBar.Parent = null;
            if (m_CurrentPage != null)
                m_CurrentPage.Parent = null;
            m_CurrentPage = m_login;
            m_CurrentPage.Parent = this.panelCenter;
        }
    }
}