private void btn_saveConfig_Click(object sender, EventArgs e) { int rs = saveConfigApp(); if (rs == 1) { MessageDialogs.SaveSucess(); } else { MessageDialogs.Error(); } }