Stetic.Editor.IconSelectorMenu.OnSetStockActionType C# (CSharp) Method

OnSetStockActionType() private method

private OnSetStockActionType ( object ob, EventArgs args ) : void
ob object
args System.EventArgs
return void
        void OnSetStockActionType(object ob, EventArgs args)
        {
            Stetic.Editor.SelectIconDialog dialog = new Stetic.Editor.SelectIconDialog (null, project);
            using (dialog)
            {
                if (dialog.Run () != (int) Gtk.ResponseType.Ok)
                    return;
                if (IconSelected != null)
                    IconSelected (this, new IconEventArgs (dialog.Icon));
            }
        }