public UiProcessExporter(string encoding) { _form = new ProgressForm(); _exporter = new ProcessExporter(encoding); _exporter.StartStep += new StepStartEventHandler(exporter_StartStep); _exporter.EndStep += new StepEndEventHandler(exporter_EndStep); _transition = new ExportTransitions(); _transition.StartStep += new StepStartEventHandler(exporter_StartStep); _transition.EndStep += new StepEndEventHandler(exporter_EndStep); _maxSize = int.Parse(Resources.GetString(ResourceTokens.ShapeTextMaxSize)); _more = Resources.GetString(ResourceTokens.ShapeTextTruncate); }