private void CreateNewButtonBoth(FOType ft) { Bitmap img = Utilz.GetAssociatedIcon(ft); this.CreateNewButtonBelt(img, ft); this.CreateNewButtonMachine(img, ft); }
public bool NeedCoal = true; //if this is a furnace, indicate if this need coal //// si this est une furnace, indique si this a besoin de coal public Bitmap GetImage() { if (this.MapType == MOType.Belt) { return(Utilz.GetAssociatedIcon(this.BeltOutput)); } if (this.MapType == MOType.Machine) { return(Utilz.GetAssociatedIcon(this.TheRecipe)); } return(FactorioOrganizer.Properties.Resources.fish); }