Example #1
0
 private void dataGridViewTryOn_MouseDoubleClick(object sender, MouseEventArgs e)
 {
     if (e.Button == MouseButtons.Left)
     {
         Sharevariables.WeddingDressID = "";
         Form dressProperties = new DressQuery();
         if (dressProperties.ShowDialog() == DialogResult.OK)
         {
             ShardDb.InsertCustomerTryDressList(customer.id, Sharevariables.WeddingDressID, Sharevariables.WdSize, DateTime.Today.ToShortDateString());
             fillTryDressList();
         }
     }
 }