Пример #1
0
        public void paste()
        {
            string str = Clipboard.GetText().Trim();

            if (str.Length > 0 && str.StartsWith(clipHeader) && str.EndsWith(clipFooter))
            {
                mode.paste(str.Substring(10, str.Length - 11));
                mode.Refresh();
            }
        }
        public void paste()
        {
            string str = Clipboard.GetText().Trim();

            if (str.Length > 0 && str.StartsWith("NSMBeClip|") && str.EndsWith("|"))
            {
                mode.paste(str.Substring(10, str.Length - 11));
                mode.Refresh();
            }
        }