ava Posted April 24, 2008 Share Posted April 24, 2008 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 Quote Link to comment Share on other sites More sharing options...
Simon Brown Posted April 24, 2008 Share Posted April 24, 2008 Isn't it in PaintDotNet.IndirectUI? Quote Link to comment Share on other sites More sharing options...
ava Posted April 24, 2008 Author Share Posted April 24, 2008 at least my compiler wont detect it The type or namespace name 'PropertySystem' could not be found (are you missing a using directive or an assembly reference?) Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted April 24, 2008 Share Posted April 24, 2008 PaintDotNet.PropertySystem of all places........ it's in PaintDotNet.Base.dll Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
ava Posted April 24, 2008 Author Share Posted April 24, 2008 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.