public static InputBox Show(IWin32Window window, string title, InputBoxItem[] items, InputBoxButtons buttons) { dialogForm dialog = new dialogForm(title, items, buttons); dialog.ShowDialog(window); return(new InputBox(dialog)); }
public static InputBox Show(string title, string label, string text) { dialogForm dialog = new dialogForm(title, new InputBoxItem[] { new InputBoxItem(label, text) }, InputBoxButtons.OK); dialog.ShowDialog(); return(new InputBox(dialog)); }
public static InputBox Show(string title, InputBoxItem[] items) { dialogForm dialog = new dialogForm(title, items, InputBoxButtons.OK); dialog.ShowDialog(); return(new InputBox(dialog)); }
public static InputBox Show(IWin32Window window, string title, InputBoxItem item) { dialogForm dialog = new dialogForm(title, new InputBoxItem[] { item }, InputBoxButtons.OK); dialog.ShowDialog(window); return(new InputBox(dialog)); }
public static InputBox Show(IWin32Window window, string title, string label, string text, InputBoxButtons buttons) { dialogForm dialog = new dialogForm(title, new InputBoxItem[] { new InputBoxItem(label, text) }, buttons); dialog.ShowDialog(window); return(new InputBox(dialog)); }
public static InputDialog Show(string title, string label, InputBoxButtons buttons) { dialogForm dialog = new dialogForm(title, new InputDialogItem[] { new InputDialogItem(label) }, buttons); dialog.ShowDialog(); return(new InputDialog(dialog)); }
public static InputBox Show(string title, InputBoxItem item, InputBoxButtons buttons) { dialogForm dialog = new dialogForm(title, new InputBoxItem[] { item }, buttons); dialog.ShowDialog(); return(new InputBox(dialog)); }
public static InputDialog Show(IWin32Window window, string title, InputDialogItem item, InputBoxButtons buttons) { dialogForm dialog = new dialogForm(title, new InputDialogItem[] { item }, buttons); dialog.ShowDialog(window); return(new InputDialog(dialog)); }
public static InputDialog Show(IWin32Window window, string title, string label) { dialogForm dialog = new dialogForm(title, new InputDialogItem[] { new InputDialogItem(label) }, InputBoxButtons.OK); dialog.ShowDialog(window); return(new InputDialog(dialog)); }
public static InputDialog Show(string title, InputDialogItem item) { dialogForm dialog = new dialogForm(title, new InputDialogItem[] { item }, InputBoxButtons.OK); dialog.ShowDialog(); return(new InputDialog(dialog)); }
public static InputDialog Show(string title, InputDialogItem[] items, InputBoxButtons buttons) { dialogForm dialog = new dialogForm(title, items, buttons); dialog.StartPosition = FormStartPosition.CenterScreen; dialog.ShowDialog(); return(new InputDialog(dialog)); }
public static InputBox Show(IWin32Window window, string title, string[] labels, InputBoxButtons buttons) { InputBoxItem[] items = new InputBoxItem[labels.Length]; for (int i = 0; i < labels.Length; i++) { items[i] = new InputBoxItem(labels[i]); } dialogForm dialog = new dialogForm(title, items, buttons); dialog.ShowDialog(window); return(new InputBox(dialog)); }
public static InputDialog Show(string title, string[] labels) { InputDialogItem[] items = new InputDialogItem[labels.Length]; for (int i = 0; i < labels.Length; i++) { items[i] = new InputDialogItem(labels[i]); } dialogForm dialog = new dialogForm(title, items, InputBoxButtons.OK); dialog.ShowDialog(); return(new InputDialog(dialog)); }