static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); CTLConfig.GetConfiguration(); Application.Run(new Form1()); }
private void btSave_Click(object sender, EventArgs e) { CTLConfig.SetCOMConfig(numtimertick.Value.ToString("N0"), txtpathFTP.Text, txtfileLocal.Text, txtdefault.Text); MessageBox.Show("Luu Thanh cong!!", "Luu Config", MessageBoxButtons.OK, MessageBoxIcon.Information); }