/// <summary>
        /// Datas the grid view x1 cell double click.
        /// </summary>
        /// <param name="sender">The sender.</param>
        /// <param name="e">The <see cref="DataGridViewCellEventArgs"/> instance containing the event data.</param>
        private void DataGridViewX1CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            var plan = (Data.Entities.MedicinePlan) this.bdsPlanning.Current;
            if (plan == null) return;

            var medicinePlanningDetail = new MedicinePlanningDetail(plan.Id);
            medicinePlanningDetail.ShowDialog(this);
        }
Beispiel #2
0
        /// <summary>
        /// Datas the grid view x1 cell double click.
        /// </summary>
        /// <param name="sender">The sender.</param>
        /// <param name="e">The <see cref="DataGridViewCellEventArgs"/> instance containing the event data.</param>
        private void DataGridViewX1CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            var plan = (Data.Entities.MedicinePlan) this.bdsPlanning.Current;

            if (plan == null)
            {
                return;
            }

            var medicinePlanningDetail = new MedicinePlanningDetail(plan.Id);

            medicinePlanningDetail.ShowDialog(this);
        }
 /// <summary>
 /// BTNs the add planning click.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
 private void BtnAddPlanningClick(object sender, EventArgs e)
 {
     var detail =new MedicinePlanningDetail();
     detail.ShowDialog(this);
 }
Beispiel #4
0
        /// <summary>
        /// BTNs the add planning click.
        /// </summary>
        /// <param name="sender">The sender.</param>
        /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
        private void BtnAddPlanningClick(object sender, EventArgs e)
        {
            var detail = new MedicinePlanningDetail();

            detail.ShowDialog(this);
        }