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(); } }
public void SetEditionMode(EditionMode nm) { if (nm == mode) { return; } mode = nm; if (mode != null) { mode.Refresh(); } DrawingArea.Invalidate(); }
public void SetEditionMode(EditionMode nm) { if (nm == mode) return; mode = nm; if(mode != null) mode.Refresh(); DrawingArea.Invalidate(); }