示例#1
0
    public static void Settings()
    {
        SettingWindows sw = GetWindow <SettingWindows>();//获取指定类型的窗口.

        sw.titleContent = new GUIContent("宏定义工具");
        sw.Show();
    }
示例#2
0
        private void BtnSetup_Click(object sender, EventArgs e)
        {
            SettingWindows _SettingWindows = new SettingWindows();

            _SettingWindows.ShowDialog(this);

            MessageBox.Show("Please restart an appication to take an effect.", "Message", MessageBoxButtons.OK, MessageBoxIcon.Information);
        }