Example #1
0
        void onItemPicked(FileSysItem it)
        {
            ItemPickedHandler h = ItemPicked;

            if (h != null)
            {
                ViewHelpers.execWithWaitCursor(() =>
                {
                    h(this, new ItemPickedArgs()
                    {
                        Item = it
                    });
                });
            }
        }
Example #2
0
        void onRequestDetails(string path)
        {
            RequestDirHandler h = RequestDetails;

            if (h != null)
            {
                ViewHelpers.execWithWaitCursor(() =>
                {
                    h(this, new RequestDirArgs()
                    {
                        Path = ViewHelpers.correctPath(path)
                    });
                });
            }
        }