コード例 #1
0
ファイル: FormProfiles.cs プロジェクト: coolshou/argon
 private void listView_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (listView.SelectedObjects.Count > 0)
     {
         UseCaseProfile.SelectProfile((NetworkProfile)listView.SelectedObject);
     }
 }
コード例 #2
0
 /// <summary>
 /// Handles the Activated event of the ArgonDockContent control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
 protected override void ArgonDockContent_Activated(object sender, EventArgs e)
 {
     base.ArgonDockContent_Activated(sender, e);
     UseCaseProfile.SelectProfile(Profile);
 }