Ejemplo n.º 1
0
        private void Button26_Click(object sender, EventArgs e)
        {
            try
            {
                ComboBox();
                if (string.IsNullOrEmpty(textBox21.Text))
                {
                    textBox21.Text = "1";
                }

                textBox22.Text  = Times.AutoTimeConvert(textBox23.Text, Selection18, Selection22, Selection20, Selection21, Convert.ToInt32(textBox21.Text), "Error!");
                button24.Cursor = Cursors.Hand;
            }
            catch (Exception Ex)
            {
                MessageBox.Show(Ex.Message);
            }
        }
Ejemplo n.º 2
0
 private void Button9_Click(object sender, EventArgs e)
 {
     MessageBox.Show(Times.AutoTimeConvert(textBox16.Text, TimeType.Second, true, true, true, 2, "Error!"));
     MessageBox.Show(Times.TimeConvert(textBox16.Text, TimeType.Second, TimeType.Day, true, true, 2, "Error!"));
 }