Beispiel #1
0
        private void MTN_WAREHOUSE_LIST_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            frmMain frmmain = (frmMain)this.ParentForm;

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

            if (newFrm != null && !frmmain.ShowMDIChild(newFrm, newFrm))
            {
                newFrm.Dispose();
                newFrm = null;
            }
        }
 private void btnWarehouseTo_Click(object sender, EventArgs e)
 {
     try
     {
         this.Cursor = Cursors.WaitCursor;
         MTN_WAREHOUSE_LIST frm = new MTN_WAREHOUSE_LIST();
         frm.SelectVisible = true;
         if (frm.ShowDialog() == DialogResult.OK)
         {
             txtWarehouseTo.Text = Util.retValue1;
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, clsTranslate.TranslateString("Information"), MessageBoxButtons.OK, MessageBoxIcon.Information);
         return;
     }
     finally
     {
         this.Cursor = Cursors.Default;
     }
 }
Beispiel #3
0
        private void btnWarehouseList_Click(object sender, EventArgs e)
        {
            MTN_WAREHOUSE_LIST frm = new MTN_WAREHOUSE_LIST();

            frm.ShowDialog();
        }