示例#1
0
 private void repositoryItemCheckEdit1_CheckedChanged(object sender, EventArgs e)
 {
     System.Data.DataRow row = gridView1.GetDataRow(gridView1.FocusedRowHandle);
     if (row["status"].ToString() == "PO Created")
     {
         MessageBox.Show("PO Already Created...!", "ALERT", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
     else
     {
         String no = row["rfqNo"].ToString();
         New_PO po = new New_PO(true, no);
         po.ShowDialog();
     }
 }
示例#2
0
        private void barButtonItem1_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            New_PO a = new New_PO(false, null);

            a.ShowDialog();
        }