Пример #1
0
        private void btn_create_visitior_Click(object sender, EventArgs e)
        {
            CreatePharmaVisitorForm cv_form = new CreatePharmaVisitorForm(this);

            cv_form.ShowDialog();
            this.Refresh();
        }
Пример #2
0
        private void dgv_fakt_visitor_DoubleClick(object sender, EventArgs e)
        {
            //			var cur_visitor = bs.Current as BizVisitor;
            var cur_visitor = bs.Current as PharmaVisitor;
            CreatePharmaVisitorForm cv_form = new CreatePharmaVisitorForm(this, cur_visitor);

            cv_form.ShowDialog();
            this.Refresh();
        }
Пример #3
0
 private void dgv_fakt_visitor_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Enter)
     {
         var cur_visitor = bs.Current as PharmaVisitor;
         CreatePharmaVisitorForm cv_form = new CreatePharmaVisitorForm(this, cur_visitor);
         cv_form.ShowDialog();
         this.Refresh();
     }
 }