コード例 #1
0
        private void addRemark()
        {
            //Add Remakr Window

            Remarks.remark remarkWindow = new Remarks.remark(workOrderId, true);
            remarkWindow.FormClosed += new FormClosedEventHandler(remarksEdited);
            remarkWindow.Show();
        }
コード例 #2
0
 public void viewRemark()
 {
     if (getSelectedRemark() > -1)
     {
         Remarks.remark remarkWindow = new Remarks.remark(getSelectedRemark());
         remarkWindow.FormClosed += new FormClosedEventHandler(refreshWindow);
         remarkWindow.Show();
     }
     else
     {
         MessageBox.Show("Please Select a Remark!");
     }
 }
コード例 #3
0
 private void editRemark()
 {
     //Edit Remark Window
     if (getSelectedRemark() > -1)
     {
         Remarks.remark remarkWindow = new Remarks.remark(getSelectedRemark());
         remarkWindow.FormClosed += new FormClosedEventHandler(remarksEdited);
         remarkWindow.Show();
     }
     else
     {
         MessageBox.Show("Please select a remark!");
     }
 }