private void ButEmployee3_Click(object sender, EventArgs e)
        {
            SelectEmployee frmSelectEmployee = new SelectEmployee("انتخاب مدیر کارخانه", true);

            frmSelectEmployee.Owner        = this;
            frmSelectEmployee.cnConnection = this.cnConnection;
            frmSelectEmployee.setSettings  = this.setSettings;
            frmSelectEmployee.usUser       = this.usUser;
            frmSelectEmployee.ShowDialog();
            this.reqInsert.strPlantmanagerCoID = SelectEmployee.strCoID;
            this.labEmployee3.Text             = SelectEmployee.strEmployeeName;

            SetEnableBtmOk();
        }
Example #2
0
        private void ButEmployee4_Click(object sender, EventArgs e)
        {
            SelectEmployee frmSelectEmployee = new SelectEmployee("انتخاب مدیرعامل", true);

            frmSelectEmployee.Owner        = this;
            frmSelectEmployee.cnConnection = this.cnConnection;
            frmSelectEmployee.setSettings  = this.setSettings;
            frmSelectEmployee.usUser       = this.usUser;
            frmSelectEmployee.ShowDialog();
            this.reqUpdate.strCeoCoID = SelectEmployee.strCoID;
            this.labEmployee4.Text    = SelectEmployee.strEmployeeName;

            SetEnableBtmOk();
        }
        private void ButEmployee1_Click(object sender, EventArgs e)
        {
            SelectEmployee frmSelectEmployee = new SelectEmployee("انتخاب درخواست کننده", true);

            frmSelectEmployee.Owner        = this;
            frmSelectEmployee.setSettings  = this.setSettings;
            frmSelectEmployee.usUser       = this.usUser;
            frmSelectEmployee.cnConnection = this.cnConnection;
            frmSelectEmployee.ShowDialog();
            this.reqInsert.strRequesterCoID = SelectEmployee.strCoID;
            this.labEmployee1.Text          = SelectEmployee.strEmployeeName;

            SetEnableBtmOk();
        }
        private void ButEmployee_Click(object sender, EventArgs e)
        {
            SelectEmployee frmSelectEmployee = new SelectEmployee("انتخاب درخواست کننده", true);

            frmSelectEmployee.Owner        = this;
            frmSelectEmployee.cnConnection = this.cnConnection;
            frmSelectEmployee.ShowDialog();
            if (SelectEmployee.strCoID.Length != 0)
            {
                this.reqSearch.strRequesterCoID = SelectEmployee.strCoID;
                this.labEmployee.Text           = SelectEmployee.strEmployeeName;
            }

            SetEnableBtmSearch();
        }
Example #5
0
        private void ButEmployee_Click(object sender, EventArgs e)
        {
            SelectEmployee frmSelectEmployee = new SelectEmployee("انتخاب خرید کننده", true);

            frmSelectEmployee.Owner        = this;
            frmSelectEmployee.cnConnection = this.cnConnection;
            frmSelectEmployee.setSettings  = this.setSettings;
            frmSelectEmployee.usUser       = this.usUser;
            frmSelectEmployee.ShowDialog();
            if (SelectEmployee.strCoID != "")
            {
                this.invInsert.strBuyerCoID = SelectEmployee.strCoID;
                this.labEmployee.Text       = SelectEmployee.strEmployeeName;
            }

            SetEnableBtmInsert();
        }