private void standartRB_CheckedChanged(object sender, EventArgs e) { if (standartRB.Checked) { _clockStyle = ClockStyle.Standart; } else { _clockStyle = ClockStyle.Classic; } }
private string GetFilePath(ClockStyle s) { string fileFolder = Constant.CA_PAGE_PATH + "Clock/"; switch (s) { case ClockStyle.Style1 : return fileFolder + "001.swf"; case ClockStyle.Style2: return fileFolder + "002.swf"; case ClockStyle.Style3: return fileFolder + "003.swf"; case ClockStyle.Style4: return fileFolder + "004.swf"; case ClockStyle.Style5: return fileFolder + "005.swf"; default: return fileFolder + "001.swf"; } }