Example #1
0
 private void btnSupportNote_Click(object sender, EventArgs e)
 {
     this.btnSupportNote.Enabled = false;
     if (this.main_form.supportnote_wind == null)
     {
         SupportNoteWindow wind = new SupportNoteWindow(this, this.serial, GetPasswordList(this.serial.sernum));
         wind.Text += " (" + this.main_form.G.loged_in_user_level.ToUserLevelString() + " : " + this.main_form.G.loged_in_user_name + " - " + this.main_form.G.loged_in_user_realname + ")";
         wind.MdiParent = this.main_form;
         this.main_form.supportnote_wind = wind;
         wind.Show();
     }
     else
     {
         //this.main_form.supportnote_wind.serial = this.serial;
         //this.main_form.supportnote_wind.password_list = GetPasswordList(this.serial.sernum);
         //this.main_form.supportnote_wind.BeginDuration();
         //this.main_form.supportnote_wind.Activate();
         this.main_form.supportnote_wind.CrossingCall(this.serial, GetPasswordList(this.serial.sernum));
     }
 }
Example #2
0
 private void btnSupportHistory_Click(object sender, EventArgs e)
 {
     if (this.main_form.supportnote_wind == null)
     {
         SupportNoteWindow wind = new SupportNoteWindow(this);
         wind.Text += " (" + this.main_form.G.loged_in_user_level.ToUserLevelString() + " : " + this.main_form.G.loged_in_user_name + " - " + this.main_form.G.loged_in_user_realname + ")";
         wind.MdiParent = this.main_form;
         this.main_form.supportnote_wind = wind;
         wind.Show();
     }
     else
     {
         this.main_form.supportnote_wind.Activate();
     }
 }