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

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

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