예제 #1
0
        private void btnAddExpensses_Click(object sender, EventArgs e)
        {
            frmPrecurementExpensess frm = new frmPrecurementExpensess();

            frm.txtISSUED_ID.Text   = txtSwid.Text;
            frm.txtISSUED_TYPE.Text = "تحاويل مخزنية";
            frm.txtTempletId.Text   = lstTemplet.SelectedValue.ToString();

            frm.ShowDialog();
        }
예제 #2
0
        private void btnAddExpeness_Click(object sender, EventArgs e)
        {
            if (txtSwid.Text.Trim() == "")
            {
                glb_function.MsgBox("الرجاء اختيار الوارد");
                return;
            }
            if (lstCURRENCY_ID.SelectedIndex == -1)
            {
                glb_function.MsgBox("الرجاء اختيار العملة");
                return;
            }

            frmPrecurementExpensess frm = new frmPrecurementExpensess();

            frm.txtISSUED_ID.Text   = txtSwid.Text;
            frm.txtISSUED_TYPE.Text = "وارد";
            frm.txtTempletId.Text   = lstTemplet.SelectedValue.ToString();

            frm.ShowDialog();
        }