コード例 #1
0
        public AddInMenuItem( AddInManager manager, AddIn addIn, uint appId )
        {
            addInManager = manager;
            this.addIn = addIn;

            this.appId = appId;

            this.Text = addIn.DisplayName;
        }
コード例 #2
0
        public AddInMenuItem(AddInManager manager, AddIn addIn, uint appId)
        {
            addInManager = manager;
            this.addIn   = addIn;

            this.appId = appId;

            this.Text = addIn.DisplayName;
        }
コード例 #3
0
ファイル: MainForm.cs プロジェクト: AluminumKen/hl2sb-src
        public MainForm()
        {
            addInManager = new AddInManager();

            InitializeComponent();

            this.Icon = Icon.FromHandle( Properties.Resources.world.GetHicon() );

            SetStatus( "Loading Addins..." );

            addInManager.LoadAddIns( Application.StartupPath );

            if ( addInManager.GetAddIns().Length == 0 )
                Util.MsgBox( this, "Warning: No AddIns loaded. Your installation may be corrupt." );

            SetStatus( "None" );
        }
コード例 #4
0
ファイル: MainForm.cs プロジェクト: bmk10/hl2sb-src-1
        public MainForm()
        {
            addInManager = new AddInManager();

            InitializeComponent();

            this.Icon = Icon.FromHandle(Properties.Resources.world.GetHicon());

            SetStatus("Loading Addins...");

            addInManager.LoadAddIns(Application.StartupPath);

            if (addInManager.GetAddIns().Length == 0)
            {
                Util.MsgBox(this, "Warning: No AddIns loaded. Your installation may be corrupt.");
            }

            SetStatus("None");
        }