public MButton(BFkt f, String bm, String txt) { func = f; icon = Form1.LoadBitmap(bm); //don't know how to call constructor explicitly and subroutine isn't possible icon_p = Form1.LoadBitmap(bm.Replace(".", "_p.")); text = txt; enabled = true; }
public MButton(BFkt f, String bm, String txt) { func = f; icon = Form1.LoadBitmap(bm); //don't know how to call constructor explicitly and subroutine isn't possible icon_p = Form1.LoadBitmap(bm.Replace(".", "_p.")); text = txt; enabled = true; }
//constructor public MButton(BFkt f, String bm, String txt, bool en) { func = f; icon = Form1.LoadBitmap(bm); icon_p = Form1.LoadBitmap(bm.Replace(".", "_p.")); text = txt; enabled = en; }
//constructor public MButton(BFkt f, String bm, String txt, bool en) { func = f; icon = Form1.LoadBitmap(bm); icon_p = Form1.LoadBitmap(bm.Replace(".", "_p.")); text = txt; enabled = en; }