Exemplo n.º 1
0
        void tlResource_MouseClick(object sender, MouseEventArgs e)
        {
            //throw new NotImplementedException();
            if (bdsResource.Position >= 0)
            {
                Common.CopyDataRow(((DataRowView)bdsResource.Current).Row, ref drCurrent);
            }
            string strColumnName = tlResource.FocusedColumn.Name;

            if (strColumnName == "DUYET")
            {
                if (drCurrent["ZaloLink"].ToString() != string.Empty)
                {
                    frmDuyet frm = new frmDuyet();
                    frm.Load(drCurrent);
                    if (frm.isAccept)
                    {
                        ReleaseType = "S";
                        MsgIDCur    = Convert.ToInt32(drCurrent["Ident00"]);
                        EpointProcessBox.Show(this);
                        Common.CopyDataRow(drCurrent, ((DataRowView)bdsResource.Current).Row);
                        ReleaseType = string.Empty;
                    }
                }
            }
        }
Exemplo n.º 2
0
        void tlResource_MouseClick(object sender, MouseEventArgs e)
        {
            //throw new NotImplementedException();
            if (bdsResource.Position >= 0)
            {
                Common.CopyDataRow(((DataRowView)bdsResource.Current).Row, ref drCurrent);
            }
            string strColumnName = tlResource.FocusedColumn.Name;

            if (strColumnName == "DUYET")
            {
                if (drCurrent["ZaloLink"].ToString() != string.Empty)
                {
                    frmDuyet frm = new frmDuyet();
                    frm.Load(drCurrent);
                    if (frm.isAccept)
                    {
                        Common.CopyDataRow(drCurrent, ((DataRowView)bdsResource.Current).Row);
                    }
                }
            }
        }