Пример #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            try
            {
                if (paisapayidtbox.Text.Length == 0)
                {
                    MessageBox.Show("Missing PaisaPay ID");
                }
                else
                {
                    paisapayid2 = long.Parse(paisapayidtbox.Text);
                    inventorylist.saleslist.Clear();
                    inventorylist open = new inventorylist();
                    open.Show();
                }
            }

            catch (Exception e1)
            {
                MessageBox.Show(e1.Message);
            }
        }
                private void button3_Click(object sender, EventArgs e)
                {
                    
                    try
                    {
                        if (paisapayidtbox.Text.Length == 0)
                        {

                            MessageBox.Show("Missing PaisaPay ID");
                        }
                        else
                        {
                            paisapayid2 = long.Parse(paisapayidtbox.Text);
                            inventorylist.saleslist.Clear();
                            inventorylist open = new inventorylist();
                            open.Show();
                        }
                    }

                    catch (Exception e1)
                    {
                        MessageBox.Show(e1.Message);
                    }
                }