private void BtnOk_Click(object sender, EventArgs e) { clickedDate = mDatePicker.DateTime; OnPickDateComplete.Invoke(this, new OnDatePickedEventArgs(clickedDate)); this.Dismiss(); }
private void BtnOk_Click(object sender, EventArgs e) { numberSet = mNumberPicker.Value; OnPickDateComplete.Invoke(this, new OnNumberPickedEventArgs(numberSet)); this.Dismiss(); }