//其他设置 private void button4_Click(object sender, EventArgs e) { Form4 child = new Form4(); child.ShowDialog(); SetCompanyNameAndLogo(); MySqliteConfig.WriteConfigsToSQL(); }
private void Form1_Load(object sender, EventArgs e) { panel3.Visible = false; panel4.Visible = false; MySqlitePersons.ReadPersonsFormSQL(); MySqliteConfig.ReadConfigsFormSQL(); MySqliteCategory.ReadCategoryFormSQL(); MySqliteLuckedPerson.ReadLuckedFormSQL(); SetCompanyNameAndLogo(); ShowNextLuck(GetNextLuckIndex()); }