private void f_in_Load(object sender, EventArgs e) { label1.Text = KindNames.GetKindName(kind); Bacodelib.Task.GetTaskList(kind, listBox1.Items); if (listBox1.Items.Count > 0) { listBox1.Focus(); listBox1.SelectedIndex = 0; } }
public override string ToString() { return(String.Format("{0}.{1}", num, KindNames.GetKindName(kind))); }