Jump to content

propertysystem in which namespace


ava
 Share

Recommended Posts

What is the namespace for PropertySystem when doing an effect using indirectui ?

im using C3 to create my effect i had done a bit off the work on the template that is on top of the forum but someone told me is outdated so i translated the vb.net one to c# but i can't resolve that class cuz i don't know where it is

thanks

Alfredo

Link to comment
Share on other sites

thanks rick got it to compile now im getting an error when i start the app using my plugin therefore im guessing i didn't translate the template that well.

This is the error info i got

System.ArgumentNullException: Value cannot be null.
Parameter name: key
  at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
  at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
  at System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value)
  at PaintDotNet.Effects.EffectsCollection.IsBannedEffect(Type effectType)
  at PaintDotNet.Effects.EffectsCollection.GetEffectsFromAssemblies(Assembly[] assemblies, IList`1 errorsResult)
  at PaintDotNet.Effects.EffectsCollection.get_Effects()
  at PaintDotNet.Menus.EffectMenuBase.AddEffectsToMenu()
  at PaintDotNet.Menus.EffectMenuBase.PopulateMenu()
  at PaintDotNet.Menus.EffectMenuBase.PopulateEffects()
  at PaintDotNet.Menus.PdnMainMenu.PopulateEffects()
  at PaintDotNet.MainForm.DeferredInitialization(Object sender, EventArgs e)
  at System.Windows.Forms.Timer.OnTick(EventArgs e)
  at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Bolt bait gave me a way to fix this thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...