示例#1
0
        private void bLoad_Click(object sender, EventArgs e)
        {
            SessionsForm d = new SessionsForm();

            d.ShowDialog();
            if (d.SessionDir == null)
            {
                return;
            }
            Config.Reload(d.SessionDir + "\\" + Bot.Session.ConfigFileName);
            ConfigForm_Load(null, null);
        }
示例#2
0
 private void bLoad_Click(object sender, EventArgs e)
 {
     SessionsForm d = new SessionsForm();
     d.ShowDialog();
     if (d.SessionDir == null)
         return;
     Config.Reload(d.SessionDir, true);
     ConfigForm_Load(null, null);
 }