Esempio n. 1
0
 private void rbtnIndividualParty_Click(object sender, EventArgs e)
 {
     uctxtMrName.Visible = true;
     label4.Visible      = true;
     uctxtMrName.Focus();
     label4.Text         = "MPO Name";
     uctxtMrName.Visible = true;
     uctxtMrName.Text    = "";
     DGMr.Top            = uctxtMrName.Top + 25;
     DGMr.Left           = uctxtMrName.Left;
     DGMr.Width          = uctxtMrName.Width;
     DGMr.Height         = 200;
     DGMr.BringToFront();
     DGMr.AllowUserToAddRows = false;
     uctxtMrName.Focus();
 }
Esempio n. 2
0
        private void radIndividual_Click(object sender, EventArgs e)
        {
            //lstMrName.ValueMember = "strLedgerName";
            //lstMrName.DisplayMember = "strLedgerName";
            //lstMrName.DataSource = accms.mFillLedgerStatus(strComID, (int)Utility.GR_GROUP_TYPE.grCUSTOMER, intStatus).ToList();

            uctxtLedgerConfig.Visible = true;
            uctxtLedgerConfig.Text    = "";
            DGMr.Top    = uctxtLedgerConfig.Top + 25;
            DGMr.Left   = uctxtLedgerConfig.Left;
            DGMr.Width  = uctxtLedgerConfig.Width;
            DGMr.Height = 200;
            DGMr.BringToFront();
            DGMr.AllowUserToAddRows = false;
            uctxtLedgerConfig.Focus();
        }
Esempio n. 3
0
 private void radIndividual_Click(object sender, EventArgs e)
 {
     chePartySelction.Visible = true;
     uctxtMrName.Text         = "";
     chePartySelction.Checked = false;
     lblMpoName.Visible       = true;
     uctxtMrName.Visible      = true;
     lstMrName.Visible        = false;
     uctxtMrName.Focus();
     DGMr.Top    = uctxtMrName.Top + 25;
     DGMr.Left   = uctxtMrName.Left;
     DGMr.Width  = uctxtMrName.Width;
     DGMr.Height = 200;
     DGMr.BringToFront();
     DGMr.Visible            = true;
     DGMr.AllowUserToAddRows = false;
 }
Esempio n. 4
0
        private void radIndividual_Click(object sender, EventArgs e)
        {
            optAll.Visible            = false;
            uctxtLedgerConfig.Visible = true;
            uctxtLedgerConfig.Text    = "";

            label4.Visible = true;
            DGMr.Top       = uctxtLedgerConfig.Top + 25;
            DGMr.Left      = uctxtLedgerConfig.Left;
            DGMr.Width     = uctxtLedgerConfig.Width;
            DGMr.Height    = 200;
            DGMr.BringToFront();
            DGMr.Visible            = true;
            DGMr.AllowUserToAddRows = false;
            radActive.Checked       = true;
            uctxtLedgerConfig.Focus();
        }
        private void radIndividual_Click(object sender, EventArgs e)
        {
            labCatname.Visible  = true;
            DGMr.Visible        = false;
            uctxtMrName.Visible = true;


            uctxtMrName.Visible = true;
            uctxtMrName.Text    = "";
            DGMr.Top            = uctxtMrName.Top + 25;
            DGMr.Left           = uctxtMrName.Left;
            DGMr.Width          = uctxtMrName.Width;
            DGMr.Height         = 200;
            DGMr.BringToFront();
            DGMr.Visible            = true;
            DGMr.AllowUserToAddRows = false;
            uctxtMrName.Focus();
        }
        private void radIndividual_Click(object sender, EventArgs e)
        {
            //uctxtLedgerConfig.Visible = true;
            //grpBox.Visible = true;
            //uctxtLedgerConfig.Text = "";
            //uctxtLedgerConfig.Focus();

            lstMonthID.Visible        = false;
            uctxtLedgerConfig.Visible = true;
            uctxtLedgerConfig.Text    = "";
            DGMr.Top    = uctxtLedgerConfig.Top + 25;
            DGMr.Left   = uctxtLedgerConfig.Left;
            DGMr.Width  = uctxtLedgerConfig.Width;
            DGMr.Height = 200;
            DGMr.BringToFront();
            DGMr.AllowUserToAddRows = false;
            uctxtLedgerConfig.Focus();
        }
Esempio n. 7
0
 private void radIndividual_Click(object sender, EventArgs e)
 {
     viiissibaleTrue();
     groupboxMpoFMRSM.Enabled = false;
     lblMpoName.Visible       = true;
     uctxtMedicalRep.Visible  = true;
     uctxtMedicalRep.Text     = "";
     DGMr.Top    = uctxtMedicalRep.Top + 25;
     DGMr.Left   = uctxtMedicalRep.Left;
     DGMr.Width  = uctxtMedicalRep.Width;
     DGMr.Height = 200;
     DGMr.BringToFront();
     DGMr.Visible            = true;
     DGMr.AllowUserToAddRows = false;
     lstCustomerGroupname.Show();
     mloadParty();
     uctxtMedicalRep.Focus();
 }
Esempio n. 8
0
 private void uctxtMrName_KeyDown(object sender, KeyEventArgs e)
 {
     DGMr.Visible = true;
     if (e.KeyCode == Keys.Up)
     {
         DGMr.Focus();
     }
     if (e.KeyCode == Keys.Down)
     {
         DGMr.Focus();
     }
     DGMr.Top    = uctxtMrName.Top + 25;
     DGMr.Left   = uctxtMrName.Left;
     DGMr.Width  = uctxtMrName.Width;
     DGMr.Height = 200;
     DGMr.BringToFront();
     DGMr.AllowUserToAddRows = false;
     return;
 }
 private void radIndividual_Click(object sender, EventArgs e)
 {
     uctxtMrName.Visible = true;
     uctxtMrName.Text    = "";
     DGMr.Top            = uctxtMrName.Top + 25;
     DGMr.Left           = uctxtMrName.Left;
     DGMr.Width          = uctxtMrName.Width;
     DGMr.Height         = 200;
     DGMr.BringToFront();
     DGMr.Visible            = true;
     DGMr.AllowUserToAddRows = false;
     cheMPO.Checked          = false;
     txtLess.Text            = "";
     TxtGreater.Text         = "";
     label4.Enabled          = false;
     label6.Enabled          = false;
     txtLess.Enabled         = false;
     TxtGreater.Enabled      = false;
     uctxtMrName.Focus();
 }
Esempio n. 10
0
 private void uctxtMedicalRep_KeyDown(object sender, KeyEventArgs e)
 {
     DGMr.Visible = true;
     if (e.KeyCode == Keys.Up)
     {
         DGMr.Focus();
     }
     if (e.KeyCode == Keys.Down)
     {
         DGMr.Focus();
     }
     DGMr.Top    = uctxtMedicalRep.Top + 25;
     DGMr.Left   = uctxtMedicalRep.Left;
     DGMr.Width  = uctxtMedicalRep.Width;
     DGMr.Height = 200;
     DGMr.BringToFront();
     DGMr.AllowUserToAddRows = false;
     lstLeft.Items.Clear();
     lstRight.Items.Clear();
     return;
 }
Esempio n. 11
0
        private void mloadParty()
        {
            int introw = 0;

            DGMr.Rows.Clear();

            ooPartyName = invms.mfillPartyNameNew(strComID, lstBranch.SelectedValue.ToString(), Utility.gblnAccessControl, Utility.gstrUserName, 0, "").ToList();

            if (ooPartyName.Count > 0)
            {
                labCatname.Visible  = true;
                DGMr.Visible        = false;
                uctxtMrName.Visible = true;
                uctxtMrName.Visible = true;
                uctxtMrName.Text    = "";
                DGMr.Top            = uctxtMrName.Top + 25;
                DGMr.Left           = uctxtMrName.Left;
                DGMr.Width          = uctxtMrName.Width;
                DGMr.Height         = 200;
                DGMr.BringToFront();
                DGMr.Visible            = true;
                DGMr.AllowUserToAddRows = false;
                uctxtMrName.Focus();
                DGMr.Columns[2].HeaderText = "MPO Name";
                foreach (Invoice ogrp in ooPartyName)
                {
                    DGMr.Rows.Add();
                    DGMr.Columns[1].Visible = true;
                    DGMr.Columns[0].Visible = true;
                    DGMr[0, introw].Value   = ogrp.strTeritorryCode;
                    DGMr[1, introw].Value   = ogrp.strTeritorryName;
                    DGMr[2, introw].Value   = ogrp.strLedgerName;
                    DGMr[3, introw].Value   = ogrp.strMereString;
                    introw += 1;
                }

                DGMr.AllowUserToAddRows = false;
            }
        }
 private void dteToDate_KeyPress(object sender, KeyPressEventArgs e)
 {
     if (e.KeyChar == (char)Keys.Return)
     {
         if (radAll.Checked == true)
         {
             btnPrint.Focus();
         }
         else
         {
             uctxtMedicalRep.Focus();
             uctxtMedicalRep.Visible = true;
             uctxtMedicalRep.Text    = "";
             DGMr.Top    = uctxtMedicalRep.Top + 25;
             DGMr.Left   = uctxtMedicalRep.Left;
             DGMr.Width  = uctxtMedicalRep.Width;
             DGMr.Height = 200;
             DGMr.BringToFront();
             DGMr.Visible            = true;
             DGMr.AllowUserToAddRows = false;
         }
     }
 }