Esempio n. 1
0
        private void button2_Click(object sender, EventArgs e)
        {
            if (m_client.IsConnected == false)
            {
                MessageBox.Show("You are not connected to streaming field server");
                return;
            }
            if (checkBox6.Checked == true && textBox14.Text == string.Empty)
            {
                MessageBox.Show("Please specify user name for the operations");
                return;
            }
            PasswordForm p = new PasswordForm();

            p.ShowDialog();
            if (p.DialogResult == System.Windows.Forms.DialogResult.OK)
            {
                m_client.DeleteAllWatsonGenerateFilesOnField(p.GetPassword());
            }
        }