예제 #1
0
 public FormInformRegister()
 {
     InitializeComponent();
     FormClosed += (obj, e) => {
         if (e.CloseReason == CloseReason.UserClosing)
         {
             FunctionWindow f = Program.FunctionWindow;
             f.Show();
         }
     };
 }
예제 #2
0
        static void Main()
        {
            Init();
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            FunctionWindow = new FunctionWindow();
            Application.Run(FunctionWindow);

            /*Backgroud.GetNetString += str => {
             *  Util.AppendFile(INFO_FILE, str);
             * };*/
        }
예제 #3
0
        public FormInformRegister(EventArgs e)
        {
            var eventArgs = e as IEnumerableEventArgs <string>;

            pictureList = eventArgs.List;

            InitializeComponent();
            FormClosed += (obj, e) => {
                if (e.CloseReason == CloseReason.UserClosing)
                {
                    FunctionWindow f = Program.FunctionWindow;
                    f.Show();
                }
            };
        }