public static MGButton CheckboxWithTexture(string fsName1, string fsName2) { var button = new MGButton(); button.InitCheckboxWithPrssingTexture(fsName1, fsName2, "", ""); return button; }
public static MGButton CheckboxWithPressingTexture(string fsName1, string fsName2, string fsName3, string fsName4) { if (fsName3 == null) throw new ArgumentNullException("fsName3"); var button = new MGButton(); button.InitCheckboxWithPrssingTexture(fsName1, fsName2, fsName3, fsName4); return button; }