Example #1
0
        private void addPropertyBtn_Click(object sender, EventArgs e)
        {
            PropertyActions propertyOP = new PropertyActions();

            propertyOP.Text = "Create";
            propertyOP.ShowDialog();
            GetPropertyData();
        }
Example #2
0
 private void editPropertyBtn_Click(object sender, EventArgs e)
 {
     try
     {
         int             propNum    = Convert.ToInt32(propertyGridView.SelectedRows[0].Cells[0].Value.ToString());
         PropertyActions propertyOP = new PropertyActions();
         propertyOP.Text = "Edit";
         propertyOP.EditProperty(propNum);
         propertyOP.ShowDialog();
         GetPropertyData();
     }
     catch
     {}
 }