Example #1
0
 protected override void OnClosing(System.ComponentModel.CancelEventArgs e)
 {
     try
     {
         base.OnClosing(e);
         inputMessageWindow = null;
     }
     catch (Exception ex)
     {
         LogManage.WriteLog(this.GetType(), ex);
     }
     finally
     {
     }
 }
Example #2
0
        public InputMessageWindow()
        {
            try
            {
                InitializeComponent();

                inputMessageWindow = this;

                this.KeyDown += InputMessageWindow_KeyDown;
            }
            catch (Exception ex)
            {
                LogManage.WriteLog(this.GetType(), ex);
            }
            finally
            {
            }
        }