예제 #1
0
파일: Foosh.cs 프로젝트: ffxivtools/foosh
 private void timerUpdate_Tick(object sender, EventArgs e)
 {
     txtStatus.Text = Fishing.fishStatus.ToString() + ": " + Status.GetFishingStatus(Fishing.fishStatus).ToString();
     if (Fishing.GetGP() != -1)
     {
         txtStatus.Text += " - " + Fishing.GetGP().ToString();
     }
 }
예제 #2
0
파일: Foosh.cs 프로젝트: ffxivtools/foosh
 private void Form1_Load(object sender, EventArgs e)
 {
     cmbCastKey.DataSource    = Enum.GetValues(typeof(VK));
     cmbHookKey.DataSource    = Enum.GetValues(typeof(VK));
     cmbReleaseKey.DataSource = Enum.GetValues(typeof(VK));
     cmbChumKey.DataSource    = Enum.GetValues(typeof(VK));
     try { Fishing.Attach(); }
     catch
     {
         MessageBox.Show("Please run as Administrator.");
         SaveSettings();
         System.Environment.Exit(1);
     }
     LoadSettings();
     timerUpdate.Enabled = true;
 }