예제 #1
0
 public void Execute(IActionContext context)
 {
     if (!ResourceClipboardForm.IsVisible())
     {
         ResourceClipboardForm.ShowResourceClipboard(null);
     }
     else
     {
         ResourceClipboardForm.HideResourceClipboard();
     }
 }
예제 #2
0
 public void Update(IActionContext context, ref ActionPresentation presentation)
 {
     presentation.Checked = ResourceClipboardForm.IsVisible();
 }