frmsearchscore.cs

来自「大二做的课程设计。一个学生信息管理系统」· CS 代码 · 共 51 行

CS
51
字号
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Students1
{
    public partial class frmSearchScore : Form
    {
        private string byWay=null;
        private string information=null;
        public frmSearchScore()
        {
            InitializeComponent();
        }

        public String ByWay
        {
            get
            {
                return byWay;
            }
            set
            {
                byWay = value;
            }
        }

        public string Information
        {
            get
            {
                return information;
            }
            set
            {
                information = value;
 
            }
        }
        private void button1_Click(object sender, EventArgs e)
        {
            this.ByWay = this.comboBox1.SelectedItem.ToString();
            this.Information=this.textBox1.Text;
            this.Close();
        }
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?