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; } }
private void btnWarehouseList_Click(object sender, EventArgs e) { MTN_WAREHOUSE_LIST frm = new MTN_WAREHOUSE_LIST(); frm.ShowDialog(); }