Example #1
0
        private void optionsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            OptionsForm of = new OptionsForm();
            of.SmsProperty.SelectedObject = new SMSSenderSettings();
            if(of.ShowDialog()==DialogResult.OK)
            {

            }
        }
Example #2
0
        private void prop_Click(object sender, EventArgs e)
        {
            OptionsForm of = new OptionsForm();
            of.Options = smsSetts;
            if (of.ShowDialog() == DialogResult.OK)
            {
                smsSetts = (SMSSettings)of.Options;
                //need rescan
                if(of.CodingChanged && File.Exists(templateFilePath)&&curES!=null)
                {
                    ResetAll();
                    if(DialogResult.Yes ==  MessageBox.Show("Режим транслитерации был изменен. Прочитать шаблон заново?", "Менеджер рассылки", MessageBoxButtons.YesNo, MessageBoxIcon.Information))
                    {
                        curES.OpenDocument(templateFilePath);
                        Thread th = new Thread(new ThreadStart(ParseExcelDoc));
                        th.Start();
                    }

                }
                massMsg.TranslitEnabled = smsSetts.NeedTransliteration;

            }
        }