示例#1
0
文件: Visit.cs 项目: abonSerg/Clinic
 private void buttonAddOrder_Click(object sender, EventArgs e)
 {
     var newOrder = new NewOrder();
     VisitForGrid focusedVisit = (VisitForGrid)gridViewVisits.GetFocusedRow();
     var newOrderPresenter = new NewOrderPresenter(newOrder, focusedVisit.BillingNumber);
     newOrder.ShowDialog();
 }
示例#2
0
文件: Order.cs 项目: abonSerg/Clinic
        private void buttonOpen_Click(object sender, EventArgs e)
        {
            var newOrderEdit          = new NewOrder(true);
            var newOrderEditPresenter = new NewOrderEditPresenter(newOrderEdit, (DtoOrder)gridView1.GetFocusedRow());

            newOrderEdit.ShowDialog();
        }
示例#3
0
        private void buttonNew_Click(object sender, EventArgs e)
        {
            NewOrder newOrder          = new NewOrder();
            var      newOrderPresenter = new NewOrderPresenter(newOrder, NewVisitBillingNumber);

            newOrder.ShowDialog();
        }
示例#4
0
        private void buttonAddOrder_Click(object sender, EventArgs e)
        {
            var          newOrder          = new NewOrder();
            VisitForGrid focusedVisit      = (VisitForGrid)gridViewVisits.GetFocusedRow();
            var          newOrderPresenter = new NewOrderPresenter(newOrder, focusedVisit.BillingNumber);

            newOrder.ShowDialog();
        }
示例#5
0
文件: Order.cs 项目: abonSerg/Clinic
 private void buttonOpen_Click(object sender, EventArgs e)
 {
     var  newOrderEdit = new NewOrder(true);
     var newOrderEditPresenter = new NewOrderEditPresenter(newOrderEdit, (DtoOrder)gridView1.GetFocusedRow());
     newOrderEdit.ShowDialog();
 }
示例#6
0
 private void buttonNew_Click(object sender, EventArgs e)
 {
     NewOrder newOrder = new NewOrder();
     var newOrderPresenter = new NewOrderPresenter(newOrder, NewVisitBillingNumber);
     newOrder.ShowDialog();
 }