Ejemplo n.º 1
0
        public FormConversionMap(Transliterator transliterator)
        {
            InitializeComponent();
            m_transliterator = transliterator;
            m_statusLabelTransliterator = new ToolStripStatusLabel();
            m_AksharaMappings = m_transliterator.getAksharaMappings().ToArray();
            dataGridView1.DataSource = m_AksharaMappings;
            dataGridView1.EditMode = DataGridViewEditMode.EditOnEnter;

            enableAdvancedEditMode();

            m_transliterator = transliterator;
        }
Ejemplo n.º 2
0
        public FormMap(ToolStripStatusLabel statusLabelTransliterator, Transliterator transliterator)
        {
            InitializeComponent();

            m_transliterator = transliterator;
            m_AksharaMappings = m_transliterator.getAksharaMappings().ToArray();
            dataGridView1.DataSource = m_AksharaMappings;
            dataGridView1.EditMode = DataGridViewEditMode.EditOnEnter;

            if (chkAdvancedMapEdit.Checked)
            {
                enableAdvancedEditMode();
            }
            else
            {
                disableAdvancedEditMode();
            }

            m_transliterator = transliterator;
            m_statusLabelTransliterator = statusLabelTransliterator;
        }