public string EnterFunc(Button theBTN, requstStutus theStatus, double h, double b, int Q) { switch (theStatus) { case requstStutus.show: return($"כמות במלאי {BoxM.GetQunt(new Box(h, b))}"); case requstStutus.add: BoxM.AddBox(new Box(h, b), Q); return("התווסף בהצלחה"); case requstStutus.delet: BoxM.SellBox(new Box(h, b), Q); return("נמכר בהצלחה"); } return(default);
public MainWindowModel() { BoxM theman = new BoxM(); }