Пример #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            InqForm form = new InqForm();

            form.setData("", "", "", "", "");
            Application.Run(form);
        }
Пример #2
0
 private void newInquiry_Click(object sender, EventArgs e)
 {
     try
     {
         InqForm inq = new InqForm();
         inq.setData("", "", "", "", "");
         inq.Show();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }