private static void botao(UIXButton btn, Image img, String text, uixSet colorSet) { btn.Image = img; btn.Description = text; uixButton.btnApply(btn, colorSet); }
public static void cancelar(UIXButton btn) { botao(btn, Properties.Resources.voltar, "Cancelar", AppDesktop.VisualStyle.ButtonWarningColor); }
public static void restaurar(UIXButton btn) { botao(btn, Properties.Resources.alterar, "Restaurar", AppDesktop.VisualStyle.ButtonColor); }
public static void voltar(UIXButton btn) { botao(btn, Properties.Resources.voltar, "Voltar", AppDesktop.VisualStyle.ButtonColor); }
public static void excluir(UIXButton btn) { botao(btn, Properties.Resources.excluir, "Excluir", AppDesktop.VisualStyle.ButtonWarningColor); }