コード例 #1
0
        private void gridView1_RowClick(object sender, DevExpress.XtraGrid.Views.Grid.RowClickEventArgs e)
        {
            DataRow row    = gridView1.GetDataRow(gridView1.FocusedRowHandle);
            string  Mrr_No = row["mrrNo"].ToString();

            Inventory.Meterial_Receipt_Report NewMrr = new Inventory.Meterial_Receipt_Report(null, Mrr_No);
            NewMrr.ShowDialog();
            loadData();
        }
コード例 #2
0
        private void gridView2_RowClick(object sender, DevExpress.XtraGrid.Views.Grid.RowClickEventArgs e)
        {
            DataRow row   = gridView2.GetDataRow(gridView2.FocusedRowHandle);
            string  PO_No = row["orderNo"].ToString();

            Inventory.Meterial_Receipt_Report NewMrr = new Inventory.Meterial_Receipt_Report(PO_No, null);
            if (row["status"] + "" != "MRR Created")
            {
                NewMrr.ShowDialog();
                loadData();
            }
            else
            {
                MessageBox.Show("Purchase Order Closed...\nMRR Already Created");
            }
            NewMrr.ShowDialog();
            loadData();
        }
コード例 #3
0
        private void repositoryItemCheckEdit2_CheckedChanged(object sender, EventArgs e)
        {
            DataRow row    = gridView2.GetDataRow(gridView2.FocusedRowHandle);
            string  Mrr_No = row["mrrNo"].ToString();

            Inventory.Meterial_Receipt_Report NewMrr = new Inventory.Meterial_Receipt_Report(null, Mrr_No);
            NewMrr.ShowDialog();
            loadData();
        }
コード例 #4
0
        private void repositoryItemCheckEdit1_CheckedChanged(object sender, EventArgs e)
        {
            DataRow row   = gridView1.GetDataRow(gridView1.FocusedRowHandle);
            string  PO_No = row["orderNo"].ToString();

            Inventory.Meterial_Receipt_Report NewMrr = new Inventory.Meterial_Receipt_Report(PO_No, null);
            if (row["status"] + "" != "MRR Created")
            {
                NewMrr.ShowDialog();
                loadData();
            }
            else
            {
                MessageBox.Show("Purchase Order Closed...\nMRR Already Created");
            }
            NewMrr.ShowDialog();
            loadData();
        }
コード例 #5
0
 private void barButtonItem1_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     Inventory.Meterial_Receipt_Report a = new Inventory.Meterial_Receipt_Report(null, null);
     a.ShowDialog();
     loadData();
 }