Пример #1
0
 /// <summary>
 /// Check other windows
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnCheck_Click(object sender, EventArgs e)
 {
     m_FormInfo_List = WindowsMethod.GetHandleList(this.Handle.ToInt32());
     RefreshListBox();
 }
Пример #2
0
 /// <summary>
 /// Call user32.dll
 /// </summary>
 /// <param name="handle"></param>
 /// <param name="isTopMost"></param>
 private void SetTopMost(int handle, bool isTopMost)
 {
     WindowsMethod.SetTopMost(handle, isTopMost);
 }
Пример #3
0
 /// <summary>
 /// Constructors
 /// </summary>
 public MainForm()
 {
     InitializeComponent();
     m_FormInfo_List = WindowsMethod.GetHandleList(this.Handle.ToInt32());
     RefreshListBox();
 }