Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7491593
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T16:05:01+00:00 2026-05-29T16:05:01+00:00

We have an application, n-tier like structured, but I wouldn’t say it’s n-tiered. The

  • 0

We have an application, n-tier like structured, but I wouldn’t say it’s n-tiered.
The top most Form /AKA MainForm/ connects to a DB and gets a list of available modules, according to which it starts loading different modules. Each module is a separate project having 1 top level class that derives from an abstract class, from which all modules derive.

So on and on, so far we have everything running just fine, passing around connections strings, dialogs between modules and the main app.

the next step is to implement a global icon library that each module is to use, the catch is that each module should be able to load its own images to it.

I’m thinking of a global static class that returns currently running instance of ImageList class. I don’t know where to start with that, so could anyone please provide an example of global Class that could be used statically without the need of declaring or passing it around? is it possible at all?

EDIT:
rephrase attempt: ideally a global resource to which each separate module is able to insert resources, out of which each module is able to get images if they exist. I don’t even know where to start or what to look for.

EDIT 2:

just checked:
had 3 projects: 1 main, 1 child, 1 inbetween
main references inbetween
child references inbetween

1 main starts and calls static methods on “inbetween” loading some strings into it. Using Reflection “main” instance loads child.dll and instantiates the object using the reflection, then calls a method defined in an interface in “inbetween” on the child obj which in turn calls the static method on the “inbetween” after which “main” prints all the strings in the static “inbetween”. And it works! I was like WTF? I guess Reflection combines the 2 “inbetweens”

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T16:05:02+00:00Added an answer on May 29, 2026 at 4:05 pm
    public static class Foo
    {
        public static int Bar()
        {
            return 1;
        }
    
        public static void AddImage(Image img, String key){...}
        public static Image GetImage(String key){...}
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an n-tier application design problem with Entity Framework 4. Server-side, my application
I have attempted to make my first 3 tier application. In the process I
we have a classical 3-tier-architecture application. Now we face a little problem and we
We have an n-tier web application that pulls data from SQL Server. Our Data
I have a three-tier Windows Forms DB application in VB.NET. I'm using VS 2005.
i am using 3 tier architecture in my winform application so i have static
I have an application based on 3 tier architecture with postgres database(npgsql) having more
I have a superclass Entity in a logic-tier project within existing 3-tier core application
I work on a fairly simple but large two-tier application that consists approximately 40
We have a three tier application entirely developed in .NET 4.0 (C#). As the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.