//compare two settings are same or not public static bool compare(clsSelectSetting oP1, clsSelectSetting oP2) { bool tempcompare = false; tempcompare = true; if (oP1.oBG != oP2.oBG | oP1.oFG != oP2.oFG | oP1.oGray != oP2.oGray) { tempcompare = false; } return(tempcompare); }
//set one setting to another one public void setEqualTo(clsSelectSetting oPNew) { oBG = oPNew.oBG; oFG = oPNew.oFG; oGray = oPNew.oGray; }