Exemplo 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();
     }
 }
Exemplo 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();
 }