示例#1
0
        void SampleListCheckBox_Change(object sender, MVCheckBoxChangeEventArgs e)
        {
            try
            {
                Util.WriteToChat("SampleListCheckBox_Change " + SampleListCheckBox.Checked);

                SampleListText.Text = SampleListCheckBox.Checked.ToString();
            }
            catch (Exception ex) { Util.LogError(ex); }
        }
示例#2
0
 void CompsCheckBox_Change(object sender, MVCheckBoxChangeEventArgs e)
 {
     try
     {
         if (CompsCheckBox.Checked == true)
         {
             LowComps = true;
             Util.WriteToChat("Low Comps Logout ENABLED");
         }
         else if (CompsCheckBox.Checked == false)
         {
             LowComps = true;
             Util.WriteToChat("Low Comps Logout DISABLED");
         }
     }
     catch (Exception ex) { Util.LogError(ex); }
 }
示例#3
0
 void VitaeCheckBox_Change(object sender, MVCheckBoxChangeEventArgs e)
 {
     try
     {
         if (VitaeCheckBox.Checked == true)
         {
             Vitae = true;
             Util.WriteToChat("Vitae Logout ENABLED");
         }
         else if (VitaeCheckBox.Checked == false)
         {
             Vitae = true;
             Util.WriteToChat("Vitae Logout DISABLED");
         }
     }
     catch (Exception ex) { Util.LogError(ex); }
 }
示例#4
0
 void SoundsCheckBox_Change(object sender, MVCheckBoxChangeEventArgs e)
 {
     try
     {
         if (SoundsCheckBox.Checked == true)
         {
             PlaySounds = true;
             Util.WriteToChat("Play Sounds ENABLED");
         }
         else if (SoundsCheckBox.Checked == false)
         {
             PlaySounds = false;
             Util.WriteToChat("Play Sounds DISABLED");
         }
     }
     catch (Exception ex) { Util.LogError(ex); }
 }
示例#5
0
 void FellowTargetCheckBox_Change(object sender, MVCheckBoxChangeEventArgs e)
 {
     try
     {
         if (FellowTargetCheckBox.Checked == true)
         {
             FellowTarget = true;
             Util.WriteToChat("Fellowship target control ENABLED");
         }
         else if (FellowTargetCheckBox.Checked == false)
         {
             FellowTarget = false;
             Util.WriteToChat("Fellowship target control DISABLED");
         }
     }
     catch (Exception ex) { Util.LogError(ex); }
 }
示例#6
0
 void DeathLogoutCheckBox_Change(object sender, MVCheckBoxChangeEventArgs e)
 {
     try
     {
         if (DeathLogoutCheckBox.Checked == true)
         {
             DeathLogout = true;
             Util.WriteToChat("Logout on death ENABLED");
         }
         else if (DeathLogoutCheckBox.Checked == false)
         {
             DeathLogout = false;
             Util.WriteToChat("Logout on death DISABLED");
         }
     }
     catch (Exception ex) { Util.LogError(ex); }
 }
示例#7
0
 void AltF4CheckBox_Change(object sender, MVCheckBoxChangeEventArgs e)
 {
     try
     {
         if (AltF4CheckBox.Checked == true)
         {
             AltF4 = true;
             Util.WriteToChat("Alt+F4 logout ENABLED");
         }
         else if (AltF4CheckBox.Checked == false)
         {
             AltF4 = false;
             Util.WriteToChat("Alt+F4 Logout DISABLED (using in-game logout)");
         }
     }
     catch (Exception ex) { Util.LogError(ex); }
 }
示例#8
0
 void AlertCheckBox_Change(object sender, MVCheckBoxChangeEventArgs e)
 {
     try
     {
         if (AlertCheckBox.Checked == true)
         {
             PKAlert = true;
             Util.WriteToChat("PK Alert ENABLED");
         }
         else if (AlertCheckBox.Checked == false)
         {
             PKAlert = false;
             Util.WriteToChat("PK Alert DISABLED");
         }
     }
     catch (Exception ex) { Util.LogError(ex); }
 }
示例#9
0
 void LogoutCheckBox_Change(object sender, MVCheckBoxChangeEventArgs e)
 {
     try
     {
         if (LogoutCheckBox.Checked == true)
         {
             PKLogout = true;
             Util.WriteToChat("Logout ENABLED");
         }
         else if (LogoutCheckBox.Checked == false)
         {
             PKLogout = false;
             AltF4    = false;
             Util.WriteToChat("Logout DISABLED");
             AltF4CheckBox.Checked = false;
         }
     }
     catch (Exception ex) { Util.LogError(ex); }
 }