Exemplo n.º 1
0
        private void lvStock_DoubleClick(object sender, EventArgs e)
        {
            InventoryInfo o = new InventoryInfo(ModeType.Stock,
                                                Convert.ToInt32(this.lvStock.SelectedItems[0].Tag.ToString()), m_SystemUser);

            o.ShowDialog(this.ParentForm);
        }
Exemplo n.º 2
0
        private void lvPurchas_DoubleClick(object sender, EventArgs e)
        {
            if (this.lvPurchas.SelectedItems == null || this.lvPurchas.SelectedItems.Count == 0)
            {
                return;
            }
            InventoryInfo o = new InventoryInfo(ModeType.Purchas,
                                                Convert.ToInt32(this.lvPurchas.SelectedItems[0].Tag.ToString()), m_SystemUser);

            o.ShowDialog(this.ParentForm);
        }
Exemplo n.º 3
0
 private void ShowInvoicingInfo()
 {
     if (this.lvSell.SelectedItems != null && this.lvSell.SelectedItems.Count > 0)
     {
         InventoryInfo o = new InventoryInfo(ModeType.Sell,
                                             Convert.ToInt32(this.lvSell.SelectedItems[0].Name.ToString()), m_SystemUser);
         o.ShowDialog(this.ParentForm);
     }
     else
     {
         MessageBox.Show("请选择要查看进销存信息的销售数据", "警告", MessageBoxButtons.OK, MessageBoxIcon.Warning);
     }
 }