Example #1
0
 private void formStatSheet_DragDrop(object sender, DragEventArgs e)
 {
     ChampionInfo target_info = null;
     try
     {
         target_info = e.Data.GetData(typeof(ChampionInfo)) as ChampionInfo;
     }
     catch
     {
         target_info = null;
     }
     this.Champion = target_info;
     return;
 }
Example #2
0
 public void ShowTooltip(string title, string sub_title, ChampionInfo info, IWin32Window owner = null)
 {
     this.changing_selection = true;
     base.ShowTooltip(title, sub_title, owner);
     this.champ_info = info;
     this.gridMain.DataSource = this.champ_info.Stats.Table;
     this.changing_selection = false;
     return;
 }