Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
P

ProSlacker

@ProSlacker
About
Posts
4
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Modal form opens second modal form when OK clicked on second form both close
    P ProSlacker

    OK I feel stupid. I had DialogResult set to cancel for the button that opened the second modal. My first post after lurking for a few years and I make a fool of myself. :-O

    Windows Forms sales question

  • Modal form opens second modal form when OK clicked on second form both close
    P ProSlacker

    I open a modal form to search for an order that opens another modal form to search for a customer ID to narrow the order search. When OK is clicked on the second form both modals close and return to the main form. Can someone smarter than I please point me in the right direction? code that opens first modal

    private void OpenSalesOrderSearch()
    {
    try
    {
    SOSearch soSearch = new SOSearch();
    if (soSearch.ShowDialog() == DialogResult.OK)
    {
    MessageBox.Show("custID=" + soSearch.custID);

                }
                
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.ToString());
            }
         
        }
    

    code for second modal

    private void CustomerSearch()
    {
    try
    {
    CustSearch custSearch = new CustSearch();
    if (custSearch.ShowDialog() == DialogResult.OK)
    {
    custID = custSearch.custID;
    }
    }
    catch (Exception ex)
    {
    MessageBox.Show(ex.ToString());
    }
    }

    OK button code for second modal

    private void btnOK_Click(object sender, EventArgs e)
    {
    custID = dgvCustomer.CurrentRow.Cells[0].Value.ToString();

        }
    
    Windows Forms sales question

  • Back to the land of Bluffs and Beer
    P ProSlacker

    La Crosse Rocks!!! Just don't mysteriously end up in the river X| Seems be to a real problem here.

    The Lounge question

  • Hawking: Humans must colonize other planets
    P ProSlacker

    Jeffry J. Brickley wrote:

    Unfortunately the results of microgravity prolonged exposure could be worse than any other health problems: http://www.nasa.gov/audience/foreducators/k-4/features/F\_Microgravity\_Bad\_Hair\_Day.html\[^\] The most serious concern is the loss of bone calcium that increases with the length of a mission and shows no sign of cessation. The calcium loss from bones subjected to extended microgravity takes place at 10 times the rate of an elderly person suffering from osteoporosis.

    If you are staying in space permenetly that wouldn't be an issue

    The Lounge html database com career
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups