Exemplo n.º 1
0
 private void efwSimpleButton5_Click(object sender, EventArgs e)
 {
     base.NewMode();
     Eraser.Clear(this, "CLR3");
     rbShowType.EditValue   = "Y";
     txtShow_Turn.EditValue = "0";
 }
Exemplo n.º 2
0
        public override void NewMode()
        {
            base.NewMode();

            Eraser.Clear(this, "CLR1");
            txtRank.EditValue = "0";
        }
Exemplo n.º 3
0
 private void efwSimpleButton3_Click(object sender, EventArgs e)
 {
     Eraser.Clear(this, "CLR2");
     cmbO_Sub_Company.EditValue    = "0";
     dtevent_end_date.EditValue    = DateTime.Now;
     rbp_bunch_delivery1.EditValue = "N";
 }
Exemplo n.º 4
0
 private void from_new()
 {
     base.NewMode();
     Eraser.Clear(this, "CLR1");
     dtO_Date.EditValue         = DateTime.Now;
     cmbO_Sub_Company.EditValue = "0";
 }
Exemplo n.º 5
0
 private void New()
 {
     Eraser.Clear(this, "CLR1");
     cmbQ1.EditValue = "0";
     cmbQ3.EditValue = "%";
     txtSearch.Focus();
 }
Exemplo n.º 6
0
 public override void NewMode()
 {
     base.NewMode();
     dtReg_date.EditValue = DateTime.Now;
     Eraser.Clear(this, "CLR1");
     txtStory_id.EditValue = 0;
 }
Exemplo n.º 7
0
        public override void NewMode()
        {
            base.NewMode();

            Eraser.Clear(this, "CLR1");

            Clear();
        }
Exemplo n.º 8
0
        public override void NewMode()
        {
            base.NewMode();

            Eraser.Clear(this, "CLR1");
            cmbTAREA1.EditValue = "00";
            cmbSAREA1.EditValue = "00";
        }
Exemplo n.º 9
0
        private void EfwGridControl1_Click(object sender, EventArgs e)
        {
            DataRow dr = this.efwGridControl1.GetSelectedRow(0);

            Open2(dr["BIZCD"].ToString(), dr["DEPTCODE"].ToString());

            Eraser.Clear(this, "CLR1");
        }
Exemplo n.º 10
0
 private void efwSimpleButton3_Click(object sender, EventArgs e)
 {
     dtS_DATE.EditValue = DateTime.Now;
     dtE_DATE.EditValue = DateTime.Now;
     Eraser.Clear(this, "CLR2");
     picBest_Pic1.LoadAsync("http://media.domalife.net:8080/files/product/donutbiz/mori_00000009/2019101884241596.jpg");
     picBest_Pic2.LoadAsync("http://media.domalife.net:8080/files/product/donutbiz/mori_00000009/2019101884241596.jpg");
 }
Exemplo n.º 11
0
        public override void NewMode()
        {
            base.NewMode();

            Eraser.Clear(this, "CLR1");
            chkUSEYN.Checked = true;
            txtDEPTCODE.Focus();
        }
Exemplo n.º 12
0
        public override void NewMode()
        {
            base.NewMode();

            Eraser.Clear(this, "CLR1");
            cmbRegion.EditValue      = "00";
            cmbRegion_Area.EditValue = "00";
        }
Exemplo n.º 13
0
        public override void NewMode()
        {
            base.NewMode();

            Eraser.Clear(this, "CLR1");

            fValueSet();
            Open1();
        }
Exemplo n.º 14
0
        private void Clear()
        {
            Eraser.Clear(this, "ER1");

            chk_is_use.Checked     = true;
            chk_is_notice.Checked  = false;
            chk_is_file.Checked    = false;
            chk_is_comment.Checked = false;
        }
Exemplo n.º 15
0
        public override void NewMode()
        {
            base.NewMode();

            Eraser.Clear(this, "CLR1");
            cmbS_TAX_TYPE.EditValue = "1";
            cmbS_BANK.EditValue     = "0";
            cmbS_STATUS.EditValue   = "Y";
            cmbS_DIVISION.EditValue = "C";
        }
Exemplo n.º 16
0
        private void New()
        {
            cmbQ1.EditValue = "0";
            cmbQ2.EditValue = "0";
            //cmbQ3.EditValue = "전체";
            Eraser.Clear(this, "CLR1");

            chkQ1.Checked   = false;
            cmbQ3.ItemIndex = 0;
            txtSearch.Focus();
        }
Exemplo n.º 17
0
        public override void NewMode()
        {
            base.NewMode();
            Eraser.Clear(this, "CLR1");


            txtCoidNo.EditValue     = UserInfo.instance().LOGIN_ID;
            txt_work_man.EditValue  = UserInfo.instance().Name;
            rb_date_type.EditValue  = "V";
            dt_visit_date.EditValue = DateTime.Now;
            dt_plan_date.EditValue  = DateTime.Now;
            dt_s_date.EditValue     = DateTime.Now.ToString("yyyy-MM") + "-01";
            dt_e_date.EditValue     = DateTime.Now;
        }
Exemplo n.º 18
0
 private void Clear2()
 {
     Eraser.Clear(this, "ER2");
     txt_content.BodyHtml = "[[IMG_1]]<br /><br />[[IMG_2]]<br /><br />[[IMG_3]]";
     picBanner1.LoadAsync("http://media.domalife.net:8080/files/product/donutbiz/mori_00000009/2019101884241596.jpg");
     picBanner2.LoadAsync("http://media.domalife.net:8080/files/product/donutbiz/mori_00000009/2019101884241596.jpg");
     picBanner3.LoadAsync("http://media.domalife.net:8080/files/product/donutbiz/mori_00000009/2019101884241596.jpg");
     //chk_is_use.Checked = true;
     //chk_is_notice.Checked = false;
     //chk_is_file.Checked = false;
     //chk_is_comment.Checked = false;
     txtimg_url1.EditValue = "";
     txtimg_url2.EditValue = "";
     txtimg_url3.EditValue = "";
 }
Exemplo n.º 19
0
        public override void NewMode()
        {
            base.NewMode();

            Eraser.Clear(this, "CLR1");

            cmbDoma_Money.EditValue  = "0";
            cmbVip_Money.EditValue   = "0";
            cmbChef_Money.EditValue  = "0";
            cmbMd_Money.EditValue    = "0";
            cmbGshop_Money.EditValue = "0";


            Search();
        }
Exemplo n.º 20
0
        private void efwSimpleButton2_Click(object sender, EventArgs e)
        {
            Eraser.Clear(this, "CLR1");
            Eraser.Clear(this, "CLR2");
            dtS_DATE.EditValue = DateTime.Now;
            dtE_DATE.EditValue = DateTime.Now;
            picP_IMG.LoadAsync("http://media.domalife.net:8080/files/product/donutbiz/mori_00000009/2019101884241596.jpg");
            picBest_Pic1.LoadAsync("http://media.domalife.net:8080/files/product/donutbiz/mori_00000009/2019101884241596.jpg");
            picBest_Pic2.LoadAsync("http://media.domalife.net:8080/files/product/donutbiz/mori_00000009/2019101884241596.jpg");

            popup_member = new frmGMember_info
            {
                COMPANYNAME = "(주)와이엘랜드",
            };
            popup_member.FormClosed += popup_FormClosed;
            popup_member.ShowDialog();
        }
Exemplo n.º 21
0
        public override void NewMode()
        {
            base.NewMode();
            Eraser.Clear(this, "CLR1");

            Eraser.Clear(this, "CLR2");
            rbUse_Member_Writing.EditValue = "Y";
            rbUse_Reply.EditValue          = "Y";
            rbUse_Emoticon.EditValue       = "Y";
            rbC_Is_Use.EditValue           = "Y";
            rbUse_Photo_Upload.EditValue   = "Y";
            rbUse_Html.EditValue           = "Y";
            rbDate_Add.EditValue           = "N";
            rbIs_Letter.EditValue          = "Y";
            txtCreation_Date.EditValue     = "0";
            cmbImage_Choice.EditValue      = "00";
        }
Exemplo n.º 22
0
 private void from_new()
 {
     base.NewMode();
     Eraser.Clear(this, "CLR1");
 }
Exemplo n.º 23
0
 private void efwSimpleButton2_Click(object sender, EventArgs e)
 {
     base.NewMode();
     Eraser.Clear(this, "CLR1");
 }
Exemplo n.º 24
0
        private void EfwSimpleButton7_Click(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(this.txtGR_U_ID.Text))
            {
                MessageAgent.MessageShow(MessageType.Warning, " 그룹MD를 선택하세요!");
                return;
            }

            if (string.IsNullOrEmpty(this.txtU_NAME1.Text))
            {
                MessageAgent.MessageShow(MessageType.Warning, " 회원을 선택하세요!");
                return;
            }

            if (MessageAgent.MessageShow(MessageType.Confirm, "MD 정보를 삭제 하시겠습니까?") == DialogResult.OK)
            {
                try
                {
                    using (MySqlConnection con = new MySqlConnection(ConstantLib.BasicConn_Real))
                    {
                        using (MySqlCommand cmd = new MySqlCommand("domabiz.USP_GSHOP_GSHOP06_DELETE_01", con))
                        {
                            con.Open();
                            cmd.CommandType = CommandType.StoredProcedure;

                            cmd.Parameters.Add(new MySqlParameter("i_idx", MySqlDbType.VarChar));
                            cmd.Parameters["i_idx"].Value     = txtIDX1.EditValue;
                            cmd.Parameters["i_idx"].Direction = ParameterDirection.Input;

                            cmd.Parameters.Add(new MySqlParameter("i_gr_u_id", MySqlDbType.VarChar));
                            cmd.Parameters["i_gr_u_id"].Value     = txtGR_U_ID.EditValue;
                            cmd.Parameters["i_gr_u_id"].Direction = ParameterDirection.Input;

                            cmd.Parameters.Add(new MySqlParameter("i_md_u_id", MySqlDbType.VarChar));
                            cmd.Parameters["i_md_u_id"].Value     = txtMD_U_ID.EditValue;
                            cmd.Parameters["i_md_u_id"].Direction = ParameterDirection.Input;

                            cmd.ExecuteNonQuery();
                        }
                    }
                }

                catch (Exception ex)
                {
                    MessageAgent.MessageShow(MessageType.Error, ex.ToString());
                }
                finally
                {
                    EfwSimpleButton1_Click(null, null);
                }
                MessageAgent.MessageShow(MessageType.Informational, "저장 되었습니다.");

                txtU_NAME1.EditValue        = null;
                txtU_NICKNAME1.EditValue    = null;
                txtUSER_ID1.EditValue       = null;
                txtBIRTH1.EditValue         = null;
                txtU_GENDER1.EditValue      = null;
                txtU_CELL_NUM1.EditValue    = null;
                txtU_EMAIL1.EditValue       = null;
                txtLOGIN_DATE1.EditValue    = null;
                txtREG_DATE1.EditValue      = null;
                txtU_ZIP1.EditValue         = null;
                txtU_ADDR1.EditValue        = null;
                txtU_ADDR_DETAIL1.EditValue = null;
                cbDORAMD_TYPE.EditValue     = null;
                txtIDX1.EditValue           = null;
                txtREMARK.EditValue         = null;
                Eraser.Clear(this, "CLR2");
                Open2();
            }
        }
Exemplo n.º 25
0
        private void efwSimpleButton4_Click(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(this.txtIdx1.Text))
            {
                MessageAgent.MessageShow(MessageType.Warning, " 삭제할 온라인몰의 제품을 선택하세요!");
                return;
            }



            if (MessageAgent.MessageShow(MessageType.Confirm, "삭제 하시겠습니까?") == DialogResult.OK)
            {
                try
                {
                    using (MySqlConnection con = new MySqlConnection(ConstantLib.BasicConn_Real))
                    {
                        using (MySqlCommand cmd = new MySqlCommand("domabiz.USP_DN_DN24_SAVE_02", con))
                        {
                            con.Open();
                            cmd.CommandType = CommandType.StoredProcedure;

                            cmd.Parameters.Add(new MySqlParameter("i_proc_type", MySqlDbType.VarChar));
                            cmd.Parameters["i_proc_type"].Value     = "D";
                            cmd.Parameters["i_proc_type"].Direction = ParameterDirection.Input;

                            cmd.Parameters.Add(new MySqlParameter("i_idx", MySqlDbType.Int32));
                            cmd.Parameters["i_idx"].Value     = Convert.ToInt32(txtIdx1.EditValue);
                            cmd.Parameters["i_idx"].Direction = ParameterDirection.Input;

                            cmd.Parameters.Add(new MySqlParameter("i_o_sub_company", MySqlDbType.VarChar));
                            cmd.Parameters["i_o_sub_company"].Value     = cmbO_Sub_Company1.EditValue;
                            cmd.Parameters["i_o_sub_company"].Direction = ParameterDirection.Input;

                            cmd.Parameters.Add(new MySqlParameter("i_p_code", MySqlDbType.VarChar));
                            cmd.Parameters["i_p_code"].Value     = txtp_code.EditValue;
                            cmd.Parameters["i_p_code"].Direction = ParameterDirection.Input;

                            cmd.Parameters.Add(new MySqlParameter("i_remark", MySqlDbType.VarChar));
                            cmd.Parameters["i_remark"].Value     = txtRemark1.EditValue;
                            cmd.Parameters["i_remark"].Direction = ParameterDirection.Input;

                            cmd.Parameters.Add(new MySqlParameter("i_p_name", MySqlDbType.VarChar));
                            cmd.Parameters["i_p_name"].Value     = txtp_name1.EditValue;
                            cmd.Parameters["i_p_name"].Direction = ParameterDirection.Input;

                            cmd.Parameters.Add(new MySqlParameter("i_option_name", MySqlDbType.VarChar));
                            cmd.Parameters["i_option_name"].Value     = txtoption_name1.EditValue;
                            cmd.Parameters["i_option_name"].Direction = ParameterDirection.Input;

                            cmd.Parameters.Add(new MySqlParameter("i_event_name", MySqlDbType.VarChar));
                            cmd.Parameters["i_event_name"].Value     = txtevent_name1.EditValue;
                            cmd.Parameters["i_event_name"].Direction = ParameterDirection.Input;

                            cmd.Parameters.Add(new MySqlParameter("i_add_p_name", MySqlDbType.VarChar));
                            cmd.Parameters["i_add_p_name"].Value     = txtadd_p_name1.EditValue;
                            cmd.Parameters["i_add_p_name"].Direction = ParameterDirection.Input;

                            cmd.Parameters.Add(new MySqlParameter("i_p_bunch_delivery", MySqlDbType.VarChar));
                            cmd.Parameters["i_p_bunch_delivery"].Value     = rbp_bunch_delivery1.EditValue;
                            cmd.Parameters["i_p_bunch_delivery"].Direction = ParameterDirection.Input;

                            cmd.Parameters.Add(new MySqlParameter("i_event_end_date", MySqlDbType.DateTime));
                            cmd.Parameters["i_event_end_date"].Value     = dtevent_end_date.EditValue;
                            cmd.Parameters["i_event_end_date"].Direction = ParameterDirection.Input;

                            cmd.Parameters.Add(new MySqlParameter("o_Return", MySqlDbType.VarChar));
                            cmd.Parameters["o_Return"].Direction = ParameterDirection.Output;

                            cmd.ExecuteNonQuery();


                            MessageBox.Show(cmd.Parameters["o_Return"].Value.ToString());
                        }
                    }
                }
                catch (Exception ex)
                {
                    MessageAgent.MessageShow(MessageType.Error, ex.ToString());
                }
                Search();
                Eraser.Clear(this, "CLR2");
                cmbO_Sub_Company.EditValue = "0";
                dtevent_end_date.EditValue = DateTime.Now;
            }
        }
Exemplo n.º 26
0
 private void btnNew_Click(object sender, EventArgs e)
 {
     Eraser.Clear(this.Controls, "CLR1");
 }