Beispiel #1
0
        }// GiveFullTrust

        internal void onHelpFT(Object o, EventArgs e)
        {
            CHelpDialog hd = new CHelpDialog(CResourceStore.GetString("CTrustAppWiz5:FullTrustHelp"),
                                             new Point(m_lblHelpFT.Location.X + this.Location.X + m_gbIncreaseToFull.Location.X,
                                                       m_lblHelpFT.Location.Y + this.Location.Y + m_gbIncreaseToFull.Location.Y));

            hd.Show();
        } // onHelpFT
Beispiel #2
0
        }// sn

        void onHelpClick(Object o, EventArgs e)
        {
            CHelpDialog hd = new CHelpDialog(CResourceStore.GetString("CTrustAppWiz3:WhatIsDiff"),
                                             new Point(m_llblHelp.Location.X + this.Location.X,
                                                       m_llblHelp.Location.Y + this.Location.Y));

            hd.Show();
        }// onHelpClick
        }// onHomeUserHelp

        void onCorpUserHelp(Object o, EventArgs e)
        {
            CHelpDialog hd = new CHelpDialog(CResourceStore.GetString("CTrustAppWiz1:CorpUserHelp"),
                                             new Point(m_lblCorpUserHelp.Location.X + this.Location.X,
                                                       m_lblCorpUserHelp.Location.Y + this.Location.Y));

            hd.Show();
        } // onCorpUserHelp
        }// onLevelChange

        void onTrustHelp(Object o, EventArgs e)
        {
            String sTitle = "";
            String sBody  = "";

            switch (m_tbTrust.Value)
            {
            case 3:
                sTitle = CResourceStore.GetString("CTrustAppWiz5:FullTrustHelpTitle");
                sBody  = CResourceStore.GetString("CTrustAppWiz5:FullTrustHelp");
                break;

            case 2:
                sTitle = CResourceStore.GetString("CTrustAppWiz5:IntranetHelpTitle");
                sBody  = CResourceStore.GetString("CTrustAppWiz5:IntranetHelp");
                break;

            case 1:
                sTitle = CResourceStore.GetString("CTrustAppWiz5:InternetHelpTitle");
                sBody  = CResourceStore.GetString("CTrustAppWiz5:InternetHelp");
                break;

            case 0:
                sTitle = CResourceStore.GetString("CTrustAppWiz5:NoneHelpTitle");
                sBody  = CResourceStore.GetString("CTrustAppWiz5:NoneHelp");
                break;
            }



            CHelpDialog hd = new CHelpDialog(sBody,
                                             new Point(m_lblTrustHelp.Location.X + this.Location.X,
                                                       m_lblTrustHelp.Location.Y + this.Location.Y));

            hd.Show();
        } // onTrustHelp