Esempio n. 1
0
 public MainUI()
 {
     InitializeComponent();
     OpenList.DisplayMember = "Text";
     OpenList.ClearSelected();
     OpenList2.DisplayMember = "Text";
     OpenList2.ClearSelected();
 }
Esempio n. 2
0
 private void ArbIn2_CheckedChanged(object sender, EventArgs e)
 {
     OpenList2.Enabled = !arbIn2.Checked;
     OpenList2.ClearSelected();
     if (!arbIn1.Checked && !arbIn2.Checked && (OpenList.SelectedIndex != -1 || OpenList2.SelectedIndex != -1))
     {
         Start.Enabled = false;
     }
 }