예제 #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());
                }
            }
        }
예제 #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)
         {
         }
     }
 }
예제 #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());
                }
            }
        }
예제 #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)
                {

                }
            }
        }