Exemplo n.º 1
0
 internal void iOnTextSend(ListTextBox sender, Player player, String text)
 {
     if (OnTextSend != null)
     {
         OnTextSend(sender, player, text);
     }
 }
Exemplo n.º 2
0
        /// <summary>
        /// Creates a Row with a textbox and returns it.
        /// It will be automatically added to the List.
        /// </summary>
        /// <param name="hardText">A Text which will stand before the textbox. This text cannot be removed by the user.</param>
        /// <param name="text">The default text. It will be added to the textbox and can be removed by the client.</param>
        /// <param name="aActiveRowColor">Color of the active Line</param>
        /// <param name="aInactiveRowColor">Color of the inactive Line</param>
        /// <returns></returns>
        public ListTextBox addTextBox(String hardText, String text, ColorRGBA aActiveRowColor, ColorRGBA aInactiveRowColor)
        {
            ListTextBox lt = new ListTextBox(this, hardText, text, aActiveRowColor, aInactiveRowColor);

            rows.Add(lt);

            return(lt);
        }
Exemplo n.º 3
0
 internal static void isOnTextSend(ListTextBox sender, Player player, String text)
 {
     sender.iOnTextSend(sender, player, text);
     if (sOnTextSend != null)
     {
         sOnTextSend(sender, player, text);
     }
 }