Пример #1
0
        public static void ThreadedCheckForUserTips(System.Object AControl)
        {
            /*
             * Check for specific TipStatus: '!' means 'show the Tip, but then set it'
             *
             * This is done to pick up Tips only for the Users that they were specifically
             * set for, and not for users where the TipStatus would be un-set ('-')!
             * This is helfpful eg. for Patch Notices - they should be shown to all current
             * users (the patch program would set the TipStatus to '!' for all current users),
             * but not for users that get created after the Patch was applied (they don't
             * need to know what was new/has changed in a certain Patch that was applied in
             * the past!)
             */
            if (TUserTips.TMPartner.CheckTipStatus(TMPartnerTips.mpatNewTabCountersNotes) == '!')
            {
                // Set Tip Status so it doesn't get picked up again!
                TUserTips.TMPartner.SetTipViewed(TMPartnerTips.mpatNewTabCountersNotes);

                // MessageBox.Show('TUC_PartnerNotes.CheckForUserTips: showing BalloonTip...');
                PrepareBalloonTip();
                UBalloonTip.ShowBalloonTipNewFunction(
                    "Petra Version 2.2.7 Change: Indicator in Notes Tab Header",
                    "An indicator has been added to the tab header that shows whether Notes are entered for the Partner," + "\r\n" +
                    "or not: (0) means that no Notes are entered, (" + (char)8730 + ") means that Notes are entered." + "\r\n" +
                    "The Addresses tab and Subscriptions tab also have changes to the counters in the tab headers.",
                    (Control)AControl);

                // 8730 = 'square root symbol' in Verdana
                UBalloonTip = null;
            }
        }
Пример #2
0
 public static void PrepareBalloonTip()
 {
     // Ensure that we have an instance of TBalloonTip
     if (UBalloonTip == null)
     {
         UBalloonTip = new TBalloonTip();
     }
 }
Пример #3
0
        private void BtnRearrangeCriteriaHelpClick(object sender, EventArgs e)
        {
            TBalloonTip BalloonTip = new TBalloonTip();

            BalloonTip.ShowBalloonTipHelp(
                "Rearrange Find Criteria",
                "* Individual Find Critiera Fields can be moved as needed by using the four 'Move' buttons.\r\n" +
                "  This allows for arranging the Find Critiera Fields on screen exactly as you prefer.\r\n" +
                "* Click on a label to the left of a Find Criteria Field to start.",
                btnRearrangeCriteriaHelp);
        }
Пример #4
0
        private void BtnFindCriteriaHelpClick(object sender, EventArgs e)
        {
            TBalloonTip BalloonTip = new TBalloonTip();

            BalloonTip.ShowBalloonTipHelp(
                "Find Criteria",
                "* Individual Find Critiera Fields can be shown or hidden as needed by checking or\r\n" +
                "  unchecking the box next to them." + "\r\n" +
                "* The 'Exact Partner Key Match' option determines whether an entered Partner Key is\r\n" +
                "  taken exactly as it is, or whether trailing zeroes ( 0 ) are treated as wildcards.\r\n" +
                "* The 'Show \"Matching Pattern\"' option shows or hides the Criteria Match Buttons for\r\n" +
                "  Find Criteria that consist of characters.",
                btnFindCriteriaHelp);
        }
Пример #5
0
        public static void ThreadedCheckForUserTips(System.Object AControl)
        {
            /*
             * Check for specific TipStatus: '!' means 'show the Tip, but then set it'
             *
             * This is done to pick up Tips only for the Users that they were specifically
             * set for, and not for users where the TipStatus would be un-set ('-')!
             * This is helfpful eg. for Patch Notices - they should be shown to all current
             * users (the patch program would set the TipStatus to '!' for all current users),
             * but not for users that get created after the Patch was applied (they don't
             * need to know what was new/has changed in a certain Patch that was applied in
             * the past!)
             */
            if (TUserTips.TMPartner.CheckTipStatus(TMPartnerTips.mpatNewTabCountersNotes) == '!')
            {
                // Set Tip Status so it doesn't get picked up again!
                TUserTips.TMPartner.SetTipViewed(TMPartnerTips.mpatNewTabCountersNotes);

                // MessageBox.Show('TUC_PartnerNotes.CheckForUserTips: showing BalloonTip...');
                PrepareBalloonTip();
                UBalloonTip.ShowBalloonTipNewFunction(
                    "Petra Version 2.2.7 Change: Indicator in Notes Tab Header",
                    "An indicator has been added to the tab header that shows whether Notes are entered for the Partner," + "\r\n" +
                    "or not: (0) means that no Notes are entered, (" + (char)8730 + ") means that Notes are entered." + "\r\n" +
                    "The Addresses tab and Subscriptions tab also have changes to the counters in the tab headers.",
                    (Control)AControl);

                // 8730 = 'square root symbol' in Verdana
                UBalloonTip = null;
            }
        }
Пример #6
0
 public static void PrepareBalloonTip()
 {
     // Ensure that we have an instance of TBalloonTip
     if (UBalloonTip == null)
     {
         UBalloonTip = new TBalloonTip();
     }
 }
Пример #7
0
        private void BtnRearrangeCriteriaHelpClick(object sender, EventArgs e)
        {
            TBalloonTip BalloonTip = new TBalloonTip();

            BalloonTip.ShowBalloonTipHelp(
                "Rearrange Find Criteria",
                "* Individual Find Critiera Fields can be moved as needed by using the four 'Move' buttons.\r\n" +
                "  This allows for arranging the Find Critiera Fields on screen exactly as you prefer.\r\n" +
                "* Click on a label to the left of a Find Criteria Field to start.",
                btnRearrangeCriteriaHelp);
        }
Пример #8
0
        private void BtnFindCriteriaHelpClick(object sender, EventArgs e)
        {
            TBalloonTip BalloonTip = new TBalloonTip();

            BalloonTip.ShowBalloonTipHelp(
                "Find Criteria",
                "* Individual Find Critiera Fields can be shown or hidden as needed by checking or\r\n" +
                "  unchecking the box next to them." + "\r\n" +
                "* The 'Exact Partner Key Match' option determines whether an entered Partner Key is\r\n" +
                "  taken exactly as it is, or whether trailing zeroes ( 0 ) are treated as wildcards.\r\n" +
                "* The 'Show \"Matching Pattern\"' option shows or hides the Criteria Match Buttons for\r\n" +
                "  Find Criteria that consist of characters.",
                btnFindCriteriaHelp);
        }