private void intzaInfo_ItemDragDrop(object sender, ItemGridMouseEventArgs e, string dragValue)
 {
     this.SetNewStock_Info(dragValue, false);
 }
Exemple #2
0
 private void intzaHeader_GridMouseClick(object sender, ItemGridMouseEventArgs e)
 {
     try
     {
         if (e.Item.Name == "stock")
         {
             if (e.Mouse.Button == MouseButtons.Left)
             {
                 this.SetTextPosition();
             }
             else if (e.Mouse.Button == MouseButtons.Right)
             {
                 if (this._OnLink != null && !string.IsNullOrEmpty(e.Item.Text.ToString()))
                 {
                     this._OnLink(this, e.Item.Text.ToString(), new Point(e.Position.X, e.Position.Y));
                 }
             }
         }
     }
     catch (Exception ex)
     {
         this.ShowError("TableMouseClick", ex);
     }
 }