/// <summary> /// This method Setups this control with the text to display. /// </summary> public void Setup(string message, string title, PromptTypeEnum promptType, Layer layer = null) { // display the title this.Text = title; // Change out the Text this.DialogControl.Setup(promptType, message, layer); }
/// <summary> /// This method Setup /// </summary> public void Setup(PromptTypeEnum promptType, string message, string title) { // display the title this.Text = title; // Change out the Text this.DialogControl.Setup(promptType, message); }
/// <summary> /// This method Setup /// </summary> public void Setup(PromptTypeEnum promptType, string message, Layer layer = null) { // Setup the control this.PromptType = promptType; this.MessageLabel.Text = message; this.Layer = layer; // enable the controls UIEnable(); }