Inheritance: System.Windows.Forms.Form
Exemplo n.º 1
0
        private void RepublishMI_Click(object sender, EventArgs e)
        {
            try {
                if (m_subscription == null)
                {
                    return;
                }

                NotificationMessage message = new RepublishNotificationMessageDlg().ShowDialog(m_subscription);

                if (message != null)
                {
                    ListViewItem listItem = AddItem(new ItemData(m_subscription, message));
                    listItem.ForeColor = Color.Red;
                }
            } catch (Exception exception) {
                GuiUtils.HandleException(this.Text, MethodBase.GetCurrentMethod(), exception);
            }
        }
        private void RepublishMI_Click(object sender, EventArgs e)
        {
            try
            {
                if (m_subscription == null)
                {
                    return;
                }
#if TODO
                NotificationMessage message = new RepublishNotificationMessageDlg().ShowDialog(m_subscription);

                if (message != null)
                {
                    ListViewItem listItem = AddItem(new ItemData(m_subscription, message));
                    listItem.ForeColor = Color.Red;
                }
#endif
            }
            catch (Exception exception)
            {
                GuiUtils.HandleException(String.Empty, GuiUtils.CallerName(), exception);
            }
        }
Exemplo n.º 3
0
        private void RepublishMI_Click(object sender, EventArgs e)
        {
            try
            {
                if (m_subscription == null)
                {
                    return;
                }

                NotificationMessage message = new RepublishNotificationMessageDlg().ShowDialog(m_subscription);

                if (message != null)
                {
                    ListViewItem listItem = AddItem(new ItemData(m_subscription, message));
                    listItem.ForeColor = Color.Red;
                }
            }
            catch (Exception exception)
            {
				GuiUtils.HandleException(this.Text, MethodBase.GetCurrentMethod(), exception);
            }
        }
        private void RepublishMI_Click(object sender, EventArgs e)
        {
            try
            {
                if (m_subscription == null)
                {
                    return;
                }
#if TODO
                NotificationMessage message = new RepublishNotificationMessageDlg().ShowDialog(m_subscription);

                if (message != null)
                {
                    ListViewItem listItem = AddItem(new ItemData(m_subscription, message));
                    listItem.ForeColor = Color.Red;
                }
#endif
            }
            catch (Exception exception)
            {
                GuiUtils.HandleException(String.Empty, GuiUtils.CallerName(), exception);
            }
        }