protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
리턴 | void |
/// <summary> /// The show. /// </summary> /// <param name="formName">The form name.</param> /// <param name="label">The label.</param> /// <param name="name">The name.</param> /// <param name="buttonName">The button name.</param> /// <returns>The show.</returns> /// <remarks></remarks> public static string Show(string formName, string label, string name, string buttonName) { GetNameDialog temp = new GetNameDialog(formName, label, name, buttonName); temp.ShowDialog(); name = temp.textBox1.Text; temp.Dispose(); return name; }
/// <summary> /// The show. /// </summary> /// <param name="formName">The form name.</param> /// <param name="label">The label.</param> /// <param name="name">The name.</param> /// <param name="buttonName">The button name.</param> /// <returns>The show.</returns> /// <remarks></remarks> public static string Show(string formName, string label, string name, string buttonName) { GetNameDialog temp = new GetNameDialog(formName, label, name, buttonName); temp.ShowDialog(); name = temp.textBox1.Text; temp.Dispose(); return(name); }