Example #1
0
 private void butAdd_Click(object sender,EventArgs e)
 {
     changed=true;
     ICD9 icd9=new ICD9();
     FormIcd9Edit FormI=new FormIcd9Edit(icd9);
     FormI.IsNew=true;
     FormI.ShowDialog();
     FillGrid();
 }
Example #2
0
        private void butAdd_Click(object sender, EventArgs e)
        {
            changed = true;
            ICD9         icd9  = new ICD9();
            FormIcd9Edit FormI = new FormIcd9Edit(icd9);

            FormI.IsNew = true;
            FormI.ShowDialog();
            FillGrid();
        }
Example #3
0
        private void listMain_DoubleClick(object sender, System.EventArgs e)
        {
            if (listMain.SelectedIndex == -1)
            {
                return;
            }
            if (IsSelectionMode)
            {
                SelectedIcd9Num = icd9List[listMain.SelectedIndex].ICD9Num;
                DialogResult    = DialogResult.OK;
                return;
            }
            changed = true;
            FormIcd9Edit FormI = new FormIcd9Edit(icd9List[listMain.SelectedIndex]);

            FormI.ShowDialog();
            if (FormI.DialogResult != DialogResult.OK)
            {
                return;
            }
            FillGrid();
        }
Example #4
0
 private void listMain_DoubleClick(object sender,System.EventArgs e)
 {
     if(listMain.SelectedIndex==-1) {
         return;
     }
     if(IsSelectionMode) {
         SelectedIcd9Num=icd9List[listMain.SelectedIndex].ICD9Num;
         DialogResult=DialogResult.OK;
         return;
     }
     changed=true;
     FormIcd9Edit FormI=new FormIcd9Edit(icd9List[listMain.SelectedIndex]);
     FormI.ShowDialog();
     if(FormI.DialogResult!=DialogResult.OK) {
         return;
     }
     FillGrid();
 }