Esempio n. 1
0
 private void toolStripUserText_Click(object sender, EventArgs e)
 {
     if (toolStripPortComboBox.Text != string.Empty &&
         toolStripPortComboBox.Text != clsGlobal.FilePlayBackPortName &&
         PortManagerHash.Count > 0
         )
     {
         frmCommonSimpleInput input = new frmCommonSimpleInput("Enter User Text");
         input.updateParent += new frmCommonSimpleInput.updateParentEventHandler(writeUserText);
         input.ShowDialog();
     }
 }
Esempio n. 2
0
 private void saveLayoutMenu_Click(object sender, EventArgs e)
 {
     frmCommonSimpleInput input = new frmCommonSimpleInput("Enter File Name:");
     input.updateParent += new frmCommonSimpleInput.updateParentEventHandler(updateFilePath);
     input.ShowDialog();
 }