예제 #1
0
        /* •————————————————————————————————————•
        *   Integer Properties:
        *     bm == Bottom
        *     cn == Count
        *     ht == Height
        *     lt == Left
        *     ln == Length
        *     rt == Right
        *     tp == Top
        *     wd == Width
        *
        *   String Properties:
        *     nm == Name
        *     tx == Text
        *
        *   Other Common Properties:
        *     cr == ClientRectangle
        *     pa == Parent
        *     sz == Size
        *  •————————————————————————————————————• */

        public void CheckingOtherProperties(MyControl myControl)
        {
            // Copy myControl to the clipboard...

            // i + prop shortcut
            // s + prop shortcut (inside an expression)
            //                  ...if it's an int prop, optionally followed by 0, 1, or -1
        }
예제 #2
0
        /* •————————————————————•
        *   Boolean Properties:
        *     c  == Checked
        *     e  == Enabled
        *     sr == Sorted
        *     v  == Visible
        *  •————————————————————• */

        public void CheckingBooleanProperties(MyControl myControl)
        {
            // i = Identifier on the clipboard.
            // i + Boolean prop shortcut
            // Copy myControl to the clipboard...
            if (myControl.Checked)
            {
            }
        }
예제 #3
0
        /* •————————————————————————————————————•
        *   Primitives:
        *     t  ==  true
        *     f  ==  false
        *     n  ==  null (or Nothing in VB)
        *     "  ==  ""
        *     '  ==  ''
        *     th ==  this (or Me in VB)
        *     me ==  this (or Me in VB)
        *     se ==  String.Empty
        *     1  ==  1
        *     0  ==  0
        *    -1  == -1
        *  •————————————————————————————————————• */

        public void ReturningFromConditionals(bool test, MyControl myControl)
        {
            // Out of scope, slightly...
            // r == Returning values

            // else return: lr + primitive shortcut
            if (test)
            {
                // ...
            }
        }
예제 #4
0
        public void IfNullReturn(MyControl myControl)
        {
            // inr == if ({Paste} == null) then return;

            // inr {+ primitive shortcut} == if ({Paste} == null) then return {primitive value};
        }