private UIElement CreateControls(int? messageId, string messageName, string messageText)
 {
     m_userControl_message = new UserControl_Message(messageId, messageName, messageText, true, false);
     return m_userControl_message;
 }
        private void CreateControls(int? messageId, string messageName, string messageText)
        {
            Grid grid_main = new Grid();
            grid_main.RowDefinitions.Add(new RowDefinition() { Height = GridLength.Auto });
            grid_main.RowDefinitions.Add(new RowDefinition() { Height = GridLength.Auto });

            Button button_modifyMessage = new Button() { Content = "Modify Message" };
            button_modifyMessage.Click += Button_UpdateMessage_Click;
            grid_main.SetGridRowColumn(button_modifyMessage, 0, 0);

            m_userControl_message = new UserControl_Message(messageId, messageName, messageText, false, true);
            grid_main.SetGridRowColumn(m_userControl_message, 1, 0);
            m_userControl_message.SetActiveAndRegisterForGinTubEvents();

            Border border = new Border() { Style = new Style_DefaultBorder(), Child = grid_main };
            Content = border;
        }