Ejemplo n.º 1
0
        private void btnGroup_Click(object sender, EventArgs e)
        {
            var type = GroupType.DATE;

            if (rbGroupCount.Checked)
            {
                type = GroupType.FINAL_COST;
            }
            var min = Convert.ToInt32(nudLow.Value);
            var max = Convert.ToInt32(nudHigh.Value);

            ButtonGroupEvent?.Invoke(type, min, max, dateTimePickerLow.Text, dateTimePickerHigh.Text);
            Close();
        }
Ejemplo n.º 2
0
        private void btnGroup_Click(object sender, EventArgs e)
        {
            var type = GroupType.COUNT;

            if (rbGroupFlat.Checked)
            {
                type = GroupType.FLAT;
            }
            var min = Convert.ToInt32(nudLow.Value);
            var max = Convert.ToInt32(nudHigh.Value);

            ButtonGroupEvent?.Invoke(type, min, max);
            Close();
        }