Example #1
0
        private void Image_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            this.Hide();
            MarkCtrlEventArgs ea = new MarkCtrlEventArgs(MarkCtrlCmd.Hiding);

            OnMarkCtrl(ea);
        }
Example #2
0
        protected virtual void OnMarkCtrl(MarkCtrlEventArgs e)
        {
            MarkCtrlEventHandler handler = MarkCtrlHd;

            if (handler != null)
            {
                handler(this, e);
            }
        }