public VtdConfig(bool bConstruct) { Debug.Assert(bConstruct); cbSize = (uint)Marshal.SizeOf(typeof(VtdConfig)); hwndParent = IntPtr.Zero; hInstance = IntPtr.Zero; dwFlags = VtdFlags.None; dwCommonButtons = VtdCommonButtonFlags.None; pszWindowTitle = null; hMainIcon = IntPtr.Zero; pszMainInstruction = string.Empty; pszContent = string.Empty; cButtons = 0; pButtons = IntPtr.Zero; nDefaultButton = 0; cRadioButtons = 0; pRadioButtons = IntPtr.Zero; nDefaultRadioButton = 0; pszVerificationText = null; pszExpandedInformation = null; pszExpandedControlText = null; pszCollapsedControlText = null; hFooterIcon = IntPtr.Zero; pszFooter = null; pfCallback = IntPtr.Zero; // PFTASKDIALOGCALLBACK lpCallbackData = IntPtr.Zero; cxWidth = 0; }
public VtdConfig(bool bConstruct) { Debug.Assert(bConstruct); cbSize = (uint)Marshal.SizeOf(typeof(VtdConfig)); hwndParent = IntPtr.Zero; hInstance = IntPtr.Zero; dwFlags = VtdFlags.None; if (Program.Translation.Properties.RightToLeft) { dwFlags |= VtdFlags.RtlLayout; } dwCommonButtons = VtdCommonButtonFlags.None; pszWindowTitle = null; hMainIcon = IntPtr.Zero; pszMainInstruction = string.Empty; pszContent = string.Empty; cButtons = 0; pButtons = IntPtr.Zero; nDefaultButton = 0; cRadioButtons = 0; pRadioButtons = IntPtr.Zero; nDefaultRadioButton = 0; pszVerificationText = null; pszExpandedInformation = null; pszExpandedControlText = null; pszCollapsedControlText = null; hFooterIcon = IntPtr.Zero; pszFooter = null; pfCallback = null; lpCallbackData = IntPtr.Zero; cxWidth = 0; }
public VtdConfig(bool bConstruct) { Debug.Assert(bConstruct); cbSize = (uint)Marshal.SizeOf(typeof(VtdConfig)); hwndParent = IntPtr.Zero; hInstance = IntPtr.Zero; dwFlags = VtdFlags.None; if(Program.Translation.Properties.RightToLeft) dwFlags |= VtdFlags.RtlLayout; dwCommonButtons = VtdCommonButtonFlags.None; pszWindowTitle = null; hMainIcon = IntPtr.Zero; pszMainInstruction = string.Empty; pszContent = string.Empty; cButtons = 0; pButtons = IntPtr.Zero; nDefaultButton = 0; cRadioButtons = 0; pRadioButtons = IntPtr.Zero; nDefaultRadioButton = 0; pszVerificationText = null; pszExpandedInformation = null; pszExpandedControlText = null; pszCollapsedControlText = null; hFooterIcon = IntPtr.Zero; pszFooter = null; pfCallback = null; lpCallbackData = IntPtr.Zero; cxWidth = 0; }