public static void Show(string message, string title, string okbutton = "OK") { var win = new MessageBoxWindow(); win.Text = title; win.MessageLabel.Text = message; win.OKButton.Text = okbutton; win.Show(); }
private void CalibrationButton_Click(object sender, EventArgs e) { if (string.IsNullOrWhiteSpace(WindowLoader.Instance.CurrentVRMFilePath)) { MessageBoxWindow.Show("VRMモデルが読み込まれていません。先に読み込んでください。", "エラー"); //return; } var win = new CalibrationWindow(); win.Show(); }