Exemplo n.º 1
0
        private void MTN_UNIT_LIST_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            frmMain frmmain = (frmMain)this.ParentForm;

            if (frmmain.CheckChildFrmExist("MTN_UNIT_LIST") == true)
            {
                return;
            }
            MTN_UNIT_LIST newFrm = new MTN_UNIT_LIST();

            if (newFrm != null && !frmmain.ShowMDIChild(newFrm, newFrm))
            {
                newFrm.Dispose();
                newFrm = null;
            }
        }
Exemplo n.º 2
0
        private void cboUnitNo_SelectedIndexChanged(object sender, EventArgs e)
        {
            if (cboUnitNo.SelectedValue == null)
            {
                return;
            }
            if (cboUnitNo.SelectedValue.ToString().CompareTo("New...") != 0)
            {
                return;
            }

            MTN_UNIT_LIST frm = new MTN_UNIT_LIST();

            frm.ShowDialog();
            FillControl.FillUnitList(cboUnitNo, false, true);
        }
Exemplo n.º 3
0
        private void btnUnitList_Click(object sender, EventArgs e)
        {
            MTN_UNIT_LIST frm = new MTN_UNIT_LIST();

            frm.ShowDialog();
        }