Posted 26 February 2019, 5:07 am EST
Hi,
I have modified and attached the sample. Added the combobox with the items 1 to 9 and in the combobox selectedindex changed event am trying to change the FirsVisibleTime but it is not updating. Please check this and assist me.
Added the combobox item:
this.comboBox1.Items.AddRange(new object {
“1”,
“2”,
“3”,
“4”,
“5”,
“6”,
“7”,
“8”,
“9”,
“10”});
And in the comboBox1_SelectedIndexChanged
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
{
c1Schedule1.Settings.FirstVisibleTime = new TimeSpan(Convert.ToInt32(comboBox1.SelectedItem), 0, 0);
c1Schedule1.Refresh();
}
Thanks,
Kalaivanan
prj_C1Schedule_FirstVisibleTime_reply.zip