private void TxtInfo_DoubleClick(object sender, EventArgs e) { FrmShowLog InformationLog = new FrmShowLog("Information:", ((TextBox)sender).Text); InformationLog.Show(this); Controller.Interpreter.Information += InformationLog.OnLog; }
private void TxtWarning_DoubleClick(object sender, EventArgs e) { FrmShowLog WarningLog = new FrmShowLog("Warning:", ((TextBox)sender).Text); WarningLog.Show(this); Controller.Interpreter.Warning += WarningLog.OnLog; }