コード例 #1
0
ファイル: Settings.cs プロジェクト: MizukiBelhi/Addon-Manager
        public static void CauseError(string msg, string button, ErrorButtonCallback cb)
        {
            errorMessage handler = new errorMessage();

            handler.Error(msg);
            handler.ShowButton(button, cb);
            handler.ShowDialog();
        }
コード例 #2
0
ファイル: Settings.cs プロジェクト: MizukiBelhi/Addon-Manager
        public static void CauseError(string msg, string title, string firstButton, string secondButton,
                                      ErrorButtonCallback cb)
        {
            errorMessage handler = new errorMessage();

            handler.Error(msg);
            handler.ShowButton(secondButton, cb);
            handler.ChangeFirstButton(firstButton);
            handler.ChangeTitle(title);
            handler.ShowDialog();
        }