示例#1
0
文件: CoreActions.cs 项目: mo5h/omeo
        public override void Execute(IActionContext context)
        {
            SendResourcesDialog dlg = new SendResourcesDialog(context.SelectedResources);

            dlg.ShowDialog();
            dlg.Dispose();
        }
示例#2
0
文件: CoreActions.cs 项目: mo5h/omeo
        public override void Execute(IActionContext context)
        {
            IResource res = context.SelectedResources[0];

            res = res.GetLinkProp(Core.ContactManager.Props.LinkBaseContact);

            SendResourcesDialog dlg = new SendResourcesDialog(res.ToResourceList());

            dlg.ShowDialog();
            dlg.Dispose();
        }