static void Main(string[] args) { #if true parentForm pf = new parentForm(); pf.ShowDialog(); #else NotesManager.doit nm = new NotesManager.doit(); nm.show(conn, "npc,1"); #endif }
static void Main(string[] args) { #if true parentForm pf = new parentForm(); pf.ShowDialog(); #else NotesManager.doit nm = new NotesManager.doit(); nm.show(conn,"npc,1"); #endif }
private void button1_Click(object sender, EventArgs e) { nm = new NotesManager.doit(); panel1.Controls.Clear(); panel1.Controls.Add(nm.Init(conn)); }