Пример #1
0
        private void ddtbSelect_DropDownItemClicked(object sender, ToolStripItemClickedEventArgs e)
        {
            DummyDoc doc = (DummyDoc)e.ClickedItem.Tag;

            if (null != doc)
            {
                ActivedBySelect = true;
                doc.Activate();
            }
        }
Пример #2
0
 private void btClose_Click(object sender, EventArgs e)
 {
     Hide();
     Parent.Activate();
     Parent.Focus();
 }