示例#1
0
        private void baseStatusButton_Click(object sender, EventArgs e)
        {
            InputEnhanceStatus status = new InputEnhanceStatus();

            if (status.ShowDialog() == DialogResult.OK)
            {
                string chosenStatus = status.ChosenString();
                statusList.Items.Add(chosenStatus);
            }
            UpdateData();
        }
 private void baseStatusButton_Click(object sender, EventArgs e)
 {
     InputEnhanceStatus status = new InputEnhanceStatus();
     if (status.ShowDialog() == DialogResult.OK)
     {
         string chosenStatus = status.ChosenString();
         statusList.Items.Add(chosenStatus);
     }
     UpdateData();
 }