Esempio n. 1
0
        private void Translate_Form_Load(object sender, EventArgs e)
        {
            DesktopLocation = setting.PreviousFormPosition;
            Size            = setting.PreviousFormSize;

            korean_cb.CheckState   = setting.KoreanCB;
            japanese_cb.CheckState = setting.JapaneseCB;
            etc_cb.CheckState      = setting.EtcCB;
            saveOriginalCB.Checked = setting.OutputType == ErbParser.OutputType.Working;


            currentLineSetting = setting.LineSetting;
            logWatcher         = new Thread(CheckLog);
            logWatcher.Start();
            word_update();
            Init = false;
            int line = GetLineCount();
        }
Esempio n. 2
0
 public string GetString(LineSetting setting)
 {
     return(setting.GetLine(LineNo + 1, LineInfo.Str));
 }