示例#1
0
文件: Tube.cs 项目: abonSerg/Clinic
        private void buttonNew_Click(object sender, EventArgs e)
        {
            var newTube          = new NewTube();
            var newTubePresenter = new NewTubePresenter(newTube);

            newTube.ShowDialog();
        }
示例#2
0
文件: Tube.cs 项目: abonSerg/Clinic
        private void buttonEdit_Click(object sender, EventArgs e)
        {
            bool isEditView  = true;
            var  newTubeEdit = new NewTube(isEditView);

            var newTubeEditPresenter = new NewTubePresenter(newTubeEdit, (DtoTube)gridView1.GetFocusedRow());

            newTubeEdit.Show();
        }