Ejemplo n.º 1
0
        private void productGridControl_MouseClick(object sender, MouseEventArgs e)
        {
            if (productGridView.RowCount > 0)
            {
                btnSave.Enabled = true;
                try
                {
                    lblProductName.Text = productGridView.GetRowCellDisplayText(productGridView.FocusedRowHandle, productGridView.Columns["ProductName"]);
                    Param.product       = productGridView.GetRowCellDisplayText(productGridView.FocusedRowHandle, productGridView.Columns["Product"]);

                    if (Param.status == "Return")
                    {
                        FmReturnSell frm    = new FmReturnSell();
                        var          result = frm.ShowDialog(this);
                        if (result == System.Windows.Forms.DialogResult.OK)
                        {
                        }
                    }
                }
                catch (Exception ex)
                {
                    Console.WriteLine(ex.ToString());
                }
            }
        }
Ejemplo n.º 2
0
 private void FmProductQty_Load(object sender, EventArgs e)
 {
     if (Param.status == "Return")
     {
         FmReturnSell frm    = new FmReturnSell();
         var          result = frm.ShowDialog(this);
         if (result == System.Windows.Forms.DialogResult.OK)
         {
         }
     }
 }
Ejemplo n.º 3
0
        private void productGridControl_MouseClick(object sender, MouseEventArgs e)
        {
            if (productGridView.RowCount > 0)
            {
                btnSave.Enabled = true;
                try
                {
                    lblProductName.Text = productGridView.GetRowCellDisplayText(productGridView.FocusedRowHandle, productGridView.Columns["ProductName"]);
                    Param.product = productGridView.GetRowCellDisplayText(productGridView.FocusedRowHandle, productGridView.Columns["Product"]);

                    if (Param.status == "Return")
                    {
                        FmReturnSell frm = new FmReturnSell();
                        var result = frm.ShowDialog(this);
                        if (result == System.Windows.Forms.DialogResult.OK)
                        {

                        }
                    }
                }
                catch (Exception ex)
                {
                    Console.WriteLine(ex.ToString());
                }
            }
        }
Ejemplo n.º 4
0
        private void FmProductQty_Load(object sender, EventArgs e)
        {
            if (Param.status == "Return")
            {
                FmReturnSell frm = new FmReturnSell();
                var result = frm.ShowDialog(this);
                if (result == System.Windows.Forms.DialogResult.OK)
                {

                }
            }
        }