private void button3_Click(object sender, EventArgs e) { Doc_stdio stdio = new Doc_stdio(); stdio.tx("general template"); alrmclse.Start(); }
private void button2_Click(object sender, EventArgs e) { Doc_stdio ds = new Doc_stdio(); ds.Show(); this.Close(); }
private void label4_Click(object sender, EventArgs e) { Doc_stdio std = new Doc_stdio(); std.open_out(Application.StartupPath + "\\Templates\\General Letter.afd", false); std.Show(); }
private void ofd_FileOk(object sender, CancelEventArgs e) { Doc_stdio std = new Doc_stdio(); std.Show(); std.open_out(ofd.FileName, false); alrmclse.Start(); }
public void pass(string text, Doc_stdio dtt) { dt = dtt; this.Show(); button4.Enabled = false; int ndx = text.IndexOf("~AM-!~!Password!~!("); ndx = ndx + 19; int ndx2 = text.IndexOf(")", ndx); for (int i = ndx; i < ndx2; i++) { passs = passs + text[i]; } button4.Enabled = true; }
public void tx(string Password, Doc_stdio st) { std = st; pass = Password; this.Show(); if (Password == "" || Password == null) { textBox1.Enabled = false; button1.Enabled = false; textBox4.Enabled = false; textBox3.Enabled = false; button6.Enabled = false; button3.Enabled = false; button4.Enabled = false; } else { button2.Enabled = false; textBox2.Enabled = false; button5.Enabled = false; } }
private void toolStripMenuItem6_Click(object sender, EventArgs e) { Doc_stdio ds = new Doc_stdio(); ds.Show(); }
private void label2_Click(object sender, EventArgs e) { Doc_stdio std = new Doc_stdio(); std.Show(); }