Esempio n. 1
0
        private void GetConsignorInfo_Click(object sender, EventArgs e)
        {
            if (dgPayments[0,0].Value != null)
            {
                GlobalClass.ConsignerID = int.Parse(dgPayments[0, iRow].Value.ToString());

                NewConsignor mynewc = new NewConsignor();
                mynewc.MdiParent = this.MdiParent;
                mynewc.Show();
            }
        }
Esempio n. 2
0
 private void viewConsignorOfThisItemToolStripMenuItem_Click(object sender, EventArgs e)
 {
     //show the consignor screen for this item
     if (iRowClick != -9)
     {
         GlobalClass.ConsignerID = int.Parse(dataGridView1[1, iRowClick].Value.ToString());
         NewConsignor newForm = new NewConsignor();
         newForm.MdiParent = this.MdiParent;
         newForm.Show();
     }
     else
     {
         iRowClick = -9;
     }
 }
Esempio n. 3
0
 private void addConsignorToolStripMenuItem_Click(object sender, EventArgs e)
 {
     NewConsignor childForm = new NewConsignor();
     childForm.MdiParent = this;
     childForm.Show();
 }
Esempio n. 4
0
 private void updateConsignorToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (iRowClick != -9)
     {
         GlobalClass.ConsignerID = int.Parse(dataGridView1[0, iRowClick].Value.ToString());
         NewConsignor newForm = new NewConsignor();
         newForm.MdiParent = this.MdiParent;
         newForm.Show();
     }
     else
     {
         iRowClick = -9;
     }
 }