public static void Init(InitialAction act, string[] args, bool already_exists) { //GFrame�̍쐬�̓R���X�g���N�^�̌�ɂ��Ȃ��ƁAGuevaraApp�̃��\�b�h��f���Q�[�g�̈����ɂł��Ȃ��B if(args.Length>0) { act.ShortcutFile = args[0]; } _frame = new GFrame(act); _globalCommandTarget.Init(_frame); if(already_exists && _options.FrameState==FormWindowState.Normal) { Rectangle rect = _options.FramePosition; rect.Location += new Size(24,24); _options.FramePosition = rect; } _frame.DesktopBounds = _options.FramePosition; _frame.WindowState = _options.FrameState; _frame.AdjustMRUMenu(); //�L���b�`�ł��Ȃ������G���[�̕⑫ Application.ThreadException += new ThreadExceptionEventHandler(OnThreadException); }
public void Init(GFrame f) { _frame = f; }