public showWidget ( Constants, stuff ) : void | ||
stuff | Constants, | |
return | void |
//for only one widget static public GenericWindow Show(string textHeader, Constants.GenericWindowShow stuff) { if (GenericWindowBox == null) { GenericWindowBox = new GenericWindow(textHeader); } GenericWindowBox.Type = Types.UNDEFINED; GenericWindowBox.showWidget(stuff); GenericWindowBox.generic_window.Show(); return(GenericWindowBox); }
//for only one widget static public GenericWindow Show(string textHeader, Constants.GenericWindowShow stuff) { if (GenericWindowBox == null) { GenericWindowBox = new GenericWindow(); } GenericWindowBox.hideWidgets(); GenericWindowBox.showWidget(stuff); GenericWindowBox.generic_window.Resizable = false; GenericWindowBox.label_header.Text = textHeader; GenericWindowBox.generic_window.Show(); GenericWindowBox.HideOnAccept = true; GenericWindowBox.DestroyOnAccept = false; return(GenericWindowBox); }
//for only one widget static public GenericWindow Show(string title, string textHeader, Constants.GenericWindowShow stuff) { if (GenericWindowBox == null) { GenericWindowBox = new GenericWindow(title, textHeader); } else { GenericWindowBox.setTitle(title); GenericWindowBox.label_header.Text = textHeader; } GenericWindowBox.Type = Types.UNDEFINED; GenericWindowBox.hideWidgets(); GenericWindowBox.showWidget(stuff); GenericWindowBox.generic_window.Show(); return(GenericWindowBox); }