Exemple #1
0
        private string GetLog()
        {
            LogViewerControl.CopyToClipboard();

            var dataObject = Clipboard.GetDataObject();

            if (dataObject == null)
            {
                return(string.Empty);
            }

            return(dataObject.GetData(DataFormats.Text).ToString());
        }
Exemple #2
0
 private void CopyToClipboard()
 {
     LogViewerControl.CopyToClipboard();
 }