예제 #1
0
 private void lstSite_MouseClick(object sender, MouseEventArgs e)
 {
     if (lstSite.SelectedItem != null)
     {
         selectedSite = setting.Sites.FirstOrDefault(w => w.SiteName == (string)lstSite.SelectedItem);
     }
 }
예제 #2
0
 private void lstSite_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (lstSite.SelectedItem != null)
     {
         selectedSite = setting.Sites.FirstOrDefault(w => w.SiteName == lstSite.SelectedItem.ToString());
         LoadList();
     }
 }
예제 #3
0
 private void FrmMain_Load(object sender, EventArgs e)
 {
     LoadSites();
     if (setting.Sites.Count > 0)
     {
         selectedSite = setting.Sites.FirstOrDefault();
         LoadList();
     }
     timer1.Enabled = true;
     FrmMain_Resize(null, null);
     btnRegenerate.Enabled = false;
 }
예제 #4
0
 private void lstSite_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (lstSite.SelectedItem != null)
     {
         selectedSite = setting.Sites.FirstOrDefault(w => w.SiteName == lstSite.SelectedItem.ToString());
         LoadList();
     }
 }
예제 #5
0
 private void lstSite_MouseClick(object sender, MouseEventArgs e)
 {
     if (lstSite.SelectedItem != null)
         selectedSite = setting.Sites.FirstOrDefault(w => w.SiteName == (string)lstSite.SelectedItem);
 }
예제 #6
0
 private void FrmMain_Load(object sender, EventArgs e)
 {
     LoadSites();
     if (setting.Sites.Count > 0)
     {
         selectedSite = setting.Sites.FirstOrDefault();
         LoadList();
     }
     timer1.Enabled = true;
     FrmMain_Resize(null, null);
     btnRegenerate.Enabled = false;
 }