MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / ToolStripMenuItem_paste_Click

Method ToolStripMenuItem_paste_Click

TexturedFontEditor/FontEditor.cs:859–882  ·  view source on GitHub ↗
(object sender, EventArgs e)

Source from the content-addressed store, hash-verified

857 }
858
859 private void ToolStripMenuItem_paste_Click(object sender, EventArgs e)
860 {
861 string tText = String.Empty;
862
863 foreach (FontDef.CharDef x in _Def.CharList)
864 {
865 tText += x.Character;
866 }
867
868 bool tOK = false;
869 while (!tOK)
870 {
871 try
872 {
873 Clipboard.SetText(tText);
874 tOK = true;
875 }
876 catch (Exception)
877 {
878 if (DialogResult.Cancel == MessageBox.Show("复制到剪辑版失败,可能剪辑版正在被使用。", "错误", MessageBoxButtons.RetryCancel, MessageBoxIcon.Error))
879 break;
880 }
881 }
882 }
883 }
884
885 public class FontDef

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected