protected override void View_SaveData(object sender, EventArgs e)
 {
     base.View_SaveData(sender, e);
     try
     {
         Setting.Instance.LocalPort        = int.Parse(View.LocalPort_Text);
         Setting.Instance.RemotePort       = int.Parse(View.RemotePort_Text);
         Setting.Instance.RemoteClientPath = View.RemoteClientPath;
         Setting.Instance.RemoteClientArgs = View.RemoteClientArgs;
         Setting.Instance.HideClient       = View.HideClient_Toggle;
         AutoStart.Set(View.AutoStart_Toggle);
         Setting.Instance.Save();
         CloseForm?.Invoke(this, EventArgs.Empty);
     }
     catch (FormatException)
     {
         MsgBox.Error("Illegal port number format");
         return;
     }
     catch (Exception ex)
     {
         MsgBox.Error(ex.Message);
         return;
     }
 }
        private void CheckBox_AutoStart_CheckedChanged(object sender, EventArgs e)
        {
            var autoStartFlag = AutoStart.Check();

            if (autoStartFlag)
            {
                AutoStart.Remove();
                MessageBox.Show("Success Remove AutoStart");
            }
            else
            {
                AutoStart.Set();
                MessageBox.Show("Success Set AutoStart");
            }
        }