public static void Open(TypeSelectorParameters args, ProvenceDelegate <MainframeKeySelection <Type> > callback) { TypeSelector.Close <TypeSelector>(); TypeSelector window = MainframeSelectorWindow <Type> .Open <TypeSelector>("Type Selector", callback); window.eventManager.Raise <SetSelectorParameters <TypeSelectorParameters> >(new SetSelectorParameters <TypeSelectorParameters>(args)); }
protected void SetParameters(SetSelectorParameters <TypeSelectorParameters> args) { parameters = args.paramaters; GenerateTypeList(); }