private void textLable_Click(object sender, EventArgs e) { Settings.tabIndex = Index; Width = textLable.Text.Length * 10 + 40; Clicked = true; Refresh(); TabClick?.Invoke(this, e); }
private void picBox_Click(object sender, EventArgs e) { Status.tabIndex = index; TabClick?.Invoke(this, e); }
protected void OnTabClick(TabClickEventArgs e) { TabClick?.Invoke(this, e); }
public void Init(TabClick click, int _InitialSelectIndex = 0) { m_tabClick = click; AfterSelectIndex = _InitialSelectIndex; }