public static ShowDialog ( string title, Panel contents ) : DialogResult | ||
title | string | |
contents | Panel | |
리턴 | DialogResult |
/// <summary> /// Creates an InputBox(title,contents) and returns the value of calling ShowDialog() on it /// </summary> /// <param name="title"></param> /// <param name="contents"></param> /// <returns></returns> public static DialogResult ShowDialog(string title, Panel contents) { InputBox ib = new InputBox(title, contents); return(ib.ShowDialog()); }
/// <summary> /// Creates an InputBox(title,contents) and returns the value of calling ShowDialog() on it /// </summary> /// <param name="title"></param> /// <param name="contents"></param> /// <returns></returns> public static DialogResult ShowDialog(string title, Panel contents) { InputBox ib = new InputBox(title,contents); return ib.ShowDialog(); }