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

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

            //OpenTag(gfloorInfo.FLR, "LDT");
            popup2 = null;
        }
예제 #2
0
        private void GridView2_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.efwGridControl2.GetSelectedRow(0);

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