Пример #1
0
        private void linkLabel_AddNewAgent_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            AddNewAgent addNewAgent = new AddNewAgent(usingAgent);

            addNewAgent.Show();
            this.Close();
        }
Пример #2
0
 public AddAgentMakeSure(AddNewAgent inPage, Agent inUsingAgent, bool submit)
 {
     InitializeComponent();
     previousPage = inPage;
     usingAgent   = inUsingAgent;
     if (submit)
     {
         label_CancelConfirm.Visible = false;
         button_Yes.Visible          = false;
         button_No.Visible           = false;
     }
     else
     {
         label_SubmitSuccess.Visible = false;
         button_Ok.Visible           = false;
     }
 }