예제 #1
0
        private void popup_FormClosed(object sender, FormClosedEventArgs e)
        {
            popup.FormClosed -= popup_FormClosed;

            //if (popup.DialogResult == DialogResult.OK)
            //{
            //    this.txtX.EditValue = popup.nX;
            //    this.txtY.EditValue = popup.nY;
            //}

            //OpenTag(gfloorInfo.FLR, "LDT");
            popup = null;
        }
예제 #2
0
        private void GridView1_DoubleClick(object sender, EventArgs e)
        {
            var    gv          = sender as GridView;
            var    rowIndex    = gv.FocusedRowHandle;
            var    columnIndex = gv.FocusedColumn.VisibleIndex;
            string sType1      = string.Empty;

            if (columnIndex >= 1 && columnIndex <= 4)
            {
                if (columnIndex == 1)
                {
                    sType1 = "AD";
                }
                else if (columnIndex == 2)
                {
                    sType1 = "TD";
                }
                else if (columnIndex == 3)
                {
                    sType1 = "DM";
                }
                else if (columnIndex == 4)
                {
                    sType1 = "GD";
                }

                DataRow dr = this.efwGridControl1.GetSelectedRow(0);

                popup = new frmDN03_Pop01();
                //popup.Owner = this;
                popup.pDATE       = dr["REG_DATE"].ToString();
                popup.pMONEY_TYPE = sType1;
                popup.FormClosed += popup_FormClosed;
                popup.ShowDialog();
            }
        }