public Purch_ordr() { this.StartPosition = FormStartPosition.CenterScreen; InitializeComponent(); this.Disposed += new EventHandler(Purch_ordr_Disposed); if (Main.Amatrix.mgt != "") { try { Main.Security_PWD pwd = new Main.Security_PWD(); pwd.tx(true, this.Name, this.Text, Main.Amatrix.mgt); pwd.Owner = this; } catch (Exception erty) { } } }
public PrintOptions() { InitializeComponent(); if (Main.Amatrix.mgt != "") { try { Main.Security_PWD pwd = new Main.Security_PWD(); pwd.tx(true, this.Name, this.Text, Main.Amatrix.mgt); pwd.Owner = this; } catch (Exception erty) { } } else if (Main.Amatrix.acc != "") { try { Main.Security_PWD pwd = new Main.Security_PWD(); pwd.tx(true, this.Name, this.Text, Main.Amatrix.acc); pwd.Owner = this; } catch (Exception erty) { } } }