Example #1
0
        static void Main()
        {
            string fileName = Application.StartupPath + @"\Itop.DLGH.exe.config";

            if (!System.IO.File.Exists(fileName))
            {
                Itop.Common.MsgBox.Show("配置文件不存在,系统无法启动");
                return;
            }

            try
            {
                RemotingConfiguration.Configure(fileName, false);
            }
            catch
            {
                MessageBox.Show("配置文件被破坏,请与软件服务商联系");
                return;
            }
            //f3eafde4-50c5-4112-925c-c569513230f0
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            frmViewMain f = new frmViewMain();

            //frmSvgView f = new frmSvgView();
            //f.Open("f3eafde4-50c5-4112-925c-c569513230f0");
            Application.Run(f);
        }
Example #2
0
        static void Main()
        {
            string fileName = Application.StartupPath + @"\Itop.DLGH.exe.config";
            if (!System.IO.File.Exists(fileName))
            {
                Itop.Common.MsgBox.Show("配置文件不存在,系统无法启动");
                return;
            }

            try
            {
                RemotingConfiguration.Configure(fileName, false);
            }
            catch
            {
                MessageBox.Show("配置文件被破坏,请与软件服务商联系");
                return;
            }
            //f3eafde4-50c5-4112-925c-c569513230f0
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            frmViewMain f = new frmViewMain();
            //frmSvgView f = new frmSvgView();
            //f.Open("f3eafde4-50c5-4112-925c-c569513230f0");
            Application.Run(f);
        }
Example #3
0
 public void A()
 {
     frmViewMain a = new frmViewMain();
     a.Show();
 }
Example #4
0
        public void A()
        {
            frmViewMain a = new frmViewMain();

            a.Show();
        }