formencoder.cs

来自「KTDictSeg 简介: KTDictSeg 是由KaiToo搜索开发的一款基」· CS 代码 · 共 49 行

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

namespace DictManage
{
    public partial class FormEncoder : Form
    {
        bool m_Ok;

        public FormEncoder()
        {
            InitializeComponent();
        }

        public String Encoding
        {
            get
            {
                return comboBoxEncoder.Text;
            }
        }

        new public DialogResult ShowDialog()
        {
            m_Ok = false;
            base.ShowDialog();

            if (m_Ok)
            {
                return DialogResult.OK;
            }
            else
            {
                return DialogResult.Cancel;
            }
        }

        private void buttonOk_Click(object sender, EventArgs e)
        {
            m_Ok = true;
            Close();
        }
    }
}

⌨️ 快捷键说明

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