public static MoveByCategory GetInstance() { if (instance == null) { instance = new MoveByCategory(); } return(instance); }
protected override object RequestComAddInAutomationService() { if (moveByCategory == null) { moveByCategory = MoveByCategory.GetInstance(); } return(moveByCategory); }
public void OnArchiveClick(Office.IRibbonControl control) { MoveByCategory.GetInstance().ArchiveItem(); }