private void CBX_Keywords_SelectedIndexChanged(object sender, EventArgs e) { if (!initializing) { PhotoFilter.SetKeywordsFilter(true, CBX_Keywords.SelectedItem.ToString()); LoadPhoto(); PhotoBrowser.SelectNext(); PhotoBrowser.Focus(); } }
private void dateTimePicker2_ValueChanged(object sender, EventArgs e) { if (checkBox3.Checked) { PhotoFilter.SetDateFilter(true, dateTimePicker1.Value, dateTimePicker2.Value); LoadPhoto(); PhotoBrowser.SelectNext(); PhotoBrowser.Focus(); } else { PhotoFilter.SetDateFilter(false, dateTimePicker1.Value, dateTimePicker2.Value); LoadPhoto(); PhotoBrowser.SelectNext(); PhotoBrowser.Focus(); } }
private void checkBox2_CheckedChanged(object sender, EventArgs e) { if (checkBox2.Checked) { PhotoFilter.SetUserFilter(true, true, 0); LoadPhoto(); PhotoBrowser.SelectNext(); PhotoBrowser.Focus(); } else { PhotoFilter.SetUserFilter(false, true, 0); LoadPhoto(); PhotoBrowser.SelectNext(); PhotoBrowser.Focus(); } }
private void FB_Scroll_Next_Click(object sender, EventArgs e) { PhotoBrowser.SelectNext(); }