コード例 #1
0
 private void repositoryItemCheckEdit1_CheckedChanged(object sender, EventArgs e)
 {
     System.Data.DataRow row = gridView1.GetDataRow(gridView1.FocusedRowHandle);
     if (row["status"].ToString() == "RFQ ISSUED")
     {
         MessageBox.Show("RFQ Already Created...!", "ALERT", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
     else
     {
         String  no  = row["prNo"].ToString();
         New_RFQ rfq = new New_RFQ(no);
         rfq.ShowDialog();
         loadData();
     }
 }
コード例 #2
0
        private void barButtonItem1_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            New_RFQ a = new New_RFQ("");

            a.ShowDialog();
        }