UI/FormRegionPrivacyStatus.Designer.cs
author Dean Looyengoed
Tue, 26 Jan 2016 09:25:15 +0100
changeset 312 ca6e4fb02692
parent 311 UI/FormRegionEncryptionStatus.Designer.cs@d074ad657b6f
child 320 84fc14ea7276
permissions -rw-r--r--
Rename 'FormRegionEncryptionStatus' to 'FormRegionPrivacyStatus' everywhere.
Also rename 'EncryptionState' to 'PrivacyState' everywhere.
vb@0
     1
´╗┐namespace pEp
vb@0
     2
{
vb@0
     3
    [System.ComponentModel.ToolboxItemAttribute(false)]
Dean@312
     4
    partial class FormRegionPrivacyStatus : Microsoft.Office.Tools.Outlook.FormRegionBase
vb@0
     5
    {
Dean@312
     6
        public FormRegionPrivacyStatus(Microsoft.Office.Interop.Outlook.FormRegion formRegion)
vb@0
     7
            : base(Globals.Factory, formRegion)
vb@0
     8
        {
vb@0
     9
            this.InitializeComponent();
vb@0
    10
        }
vb@0
    11
vb@0
    12
        /// <summary> 
vb@0
    13
        /// Required designer variable.
vb@0
    14
        /// </summary>
vb@0
    15
        private System.ComponentModel.IContainer components = null;
vb@0
    16
vb@0
    17
        /// <summary> 
vb@0
    18
        /// Clean up any resources being used.
vb@0
    19
        /// </summary>
vb@0
    20
        protected override void Dispose(bool disposing)
vb@0
    21
        {
vb@0
    22
            if (disposing && (components != null))
vb@0
    23
            {
vb@0
    24
                components.Dispose();
vb@0
    25
            }
vb@0
    26
            base.Dispose(disposing);
vb@0
    27
        }
vb@0
    28
vb@0
    29
        #region Component Designer generated code
vb@0
    30
vb@0
    31
        /// <summary> 
vb@0
    32
        /// Required method for Designer support - do not modify 
vb@0
    33
        /// the contents of this method with the code editor.
vb@0
    34
        /// </summary>
vb@0
    35
        private void InitializeComponent()
vb@0
    36
        {
vb@6
    37
            this.components = new System.ComponentModel.Container();
Dean@312
    38
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormRegionPrivacyStatus));
Dean@178
    39
            this.TimerRefresh = new System.Windows.Forms.Timer(this.components);
Dean@312
    40
            this.PanelPrivacyStatus = new System.Windows.Forms.Panel();
Dean@178
    41
            this.LabelLogo = new System.Windows.Forms.Label();
Dean@151
    42
            this.PictureBoxOptions = new System.Windows.Forms.PictureBox();
Dean@312
    43
            this.ButtonPrivacyStatus = new System.Windows.Forms.Button();
Dean@312
    44
            this.PanelPrivacyStatus.SuspendLayout();
Dean@151
    45
            ((System.ComponentModel.ISupportInitialize)(this.PictureBoxOptions)).BeginInit();
vb@0
    46
            this.SuspendLayout();
vb@0
    47
            // 
Dean@178
    48
            // TimerRefresh
vb@70
    49
            // 
Dean@179
    50
            this.TimerRefresh.Tick += new System.EventHandler(this.TimerRefresh_Tick);
vb@70
    51
            // 
Dean@312
    52
            // PanelPrivacyStatus
vb@86
    53
            // 
Dean@312
    54
            this.PanelPrivacyStatus.Controls.Add(this.LabelLogo);
Dean@312
    55
            this.PanelPrivacyStatus.Controls.Add(this.PictureBoxOptions);
Dean@312
    56
            this.PanelPrivacyStatus.Controls.Add(this.ButtonPrivacyStatus);
Dean@312
    57
            resources.ApplyResources(this.PanelPrivacyStatus, "PanelPrivacyStatus");
Dean@312
    58
            this.PanelPrivacyStatus.Name = "PanelPrivacyStatus";
vb@86
    59
            // 
Dean@178
    60
            // LabelLogo
Dean@159
    61
            // 
Dean@178
    62
            resources.ApplyResources(this.LabelLogo, "LabelLogo");
Dean@178
    63
            this.LabelLogo.ForeColor = System.Drawing.Color.Silver;
Dean@178
    64
            this.LabelLogo.Name = "LabelLogo";
Dean@159
    65
            // 
Dean@151
    66
            // PictureBoxOptions
Dean@151
    67
            // 
Dean@151
    68
            this.PictureBoxOptions.BackgroundImage = global::pEp.Properties.Resources.gear;
Dean@151
    69
            resources.ApplyResources(this.PictureBoxOptions, "PictureBoxOptions");
Dean@151
    70
            this.PictureBoxOptions.Name = "PictureBoxOptions";
Dean@151
    71
            this.PictureBoxOptions.TabStop = false;
Dean@151
    72
            // 
Dean@312
    73
            // ButtonPrivacyStatus
vb@86
    74
            // 
Dean@312
    75
            this.ButtonPrivacyStatus.BackColor = System.Drawing.Color.Gainsboro;
Dean@312
    76
            resources.ApplyResources(this.ButtonPrivacyStatus, "ButtonPrivacyStatus");
Dean@312
    77
            this.ButtonPrivacyStatus.Name = "ButtonPrivacyStatus";
Dean@312
    78
            this.ButtonPrivacyStatus.UseVisualStyleBackColor = false;
vb@86
    79
            // 
Dean@312
    80
            // FormRegionPrivacyStatus
vb@0
    81
            // 
vb@111
    82
            resources.ApplyResources(this, "$this");
vb@0
    83
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
vb@0
    84
            this.BackColor = System.Drawing.SystemColors.Window;
Dean@312
    85
            this.Controls.Add(this.PanelPrivacyStatus);
Dean@312
    86
            this.Name = "FormRegionPrivacyStatus";
Dean@312
    87
            this.FormRegionShowing += new System.EventHandler(this.FormRegionPrivacyStatus_FormRegionShowing);
Dean@312
    88
            this.FormRegionClosed += new System.EventHandler(this.FormRegionPrivacyStatus_FormRegionClosed);
Dean@312
    89
            this.PanelPrivacyStatus.ResumeLayout(false);
Dean@151
    90
            ((System.ComponentModel.ISupportInitialize)(this.PictureBoxOptions)).EndInit();
vb@0
    91
            this.ResumeLayout(false);
vb@0
    92
vb@0
    93
        }
vb@0
    94
vb@0
    95
        #endregion
vb@0
    96
vb@0
    97
        #region Form Region Designer generated code
vb@0
    98
vb@0
    99
        /// <summary> 
vb@0
   100
        /// Required method for Designer support - do not modify 
vb@0
   101
        /// the contents of this method with the code editor.
vb@0
   102
        /// </summary>
vb@0
   103
        private static void InitializeManifest(Microsoft.Office.Tools.Outlook.FormRegionManifest manifest, Microsoft.Office.Tools.Outlook.Factory factory)
vb@0
   104
        {
Dean@312
   105
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormRegionPrivacyStatus));
vb@87
   106
            manifest.DisplayAfter = "pEp.PreviewUnencrypted";
Dean@312
   107
            manifest.FormRegionName = resources.GetString("FormRegionPrivacyStatus.Manifest.FormRegionName");
vb@0
   108
            manifest.FormRegionType = Microsoft.Office.Tools.Outlook.FormRegionType.Adjoining;
vb@0
   109
vb@0
   110
        }
vb@0
   111
vb@0
   112
        #endregion
vb@0
   113
Dean@178
   114
        private System.Windows.Forms.Timer TimerRefresh;
Dean@312
   115
        private System.Windows.Forms.Panel PanelPrivacyStatus;
Dean@312
   116
        private System.Windows.Forms.Button ButtonPrivacyStatus;
Dean@151
   117
        private System.Windows.Forms.PictureBox PictureBoxOptions;
Dean@178
   118
        private System.Windows.Forms.Label LabelLogo;
vb@0
   119
Dean@312
   120
        public partial class FormRegionPrivacyStatusFactory : Microsoft.Office.Tools.Outlook.IFormRegionFactory
vb@0
   121
        {
vb@0
   122
            public event Microsoft.Office.Tools.Outlook.FormRegionInitializingEventHandler FormRegionInitializing;
vb@0
   123
vb@0
   124
            private Microsoft.Office.Tools.Outlook.FormRegionManifest _Manifest;
vb@0
   125
vb@0
   126
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Dean@312
   127
            public FormRegionPrivacyStatusFactory()
vb@0
   128
            {
vb@0
   129
                this._Manifest = Globals.Factory.CreateFormRegionManifest();
Dean@312
   130
                FormRegionPrivacyStatus.InitializeManifest(this._Manifest, Globals.Factory);
Dean@312
   131
                this.FormRegionInitializing += new Microsoft.Office.Tools.Outlook.FormRegionInitializingEventHandler(this.FormRegionPrivacyStatus_FormRegionInitializing);
vb@0
   132
            }
vb@0
   133
vb@0
   134
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
vb@0
   135
            public Microsoft.Office.Tools.Outlook.FormRegionManifest Manifest
vb@0
   136
            {
vb@0
   137
                get
vb@0
   138
                {
vb@0
   139
                    return this._Manifest;
vb@0
   140
                }
vb@0
   141
            }
vb@0
   142
vb@0
   143
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
vb@0
   144
            Microsoft.Office.Tools.Outlook.IFormRegion Microsoft.Office.Tools.Outlook.IFormRegionFactory.CreateFormRegion(Microsoft.Office.Interop.Outlook.FormRegion formRegion)
vb@0
   145
            {
Dean@312
   146
                FormRegionPrivacyStatus form = new FormRegionPrivacyStatus(formRegion);
vb@0
   147
                form.Factory = this;
vb@0
   148
                return form;
vb@0
   149
            }
vb@0
   150
vb@0
   151
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
vb@0
   152
            byte[] Microsoft.Office.Tools.Outlook.IFormRegionFactory.GetFormRegionStorage(object outlookItem, Microsoft.Office.Interop.Outlook.OlFormRegionMode formRegionMode, Microsoft.Office.Interop.Outlook.OlFormRegionSize formRegionSize)
vb@0
   153
            {
vb@0
   154
                throw new System.NotSupportedException();
vb@0
   155
            }
vb@0
   156
vb@0
   157
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
vb@0
   158
            bool Microsoft.Office.Tools.Outlook.IFormRegionFactory.IsDisplayedForItem(object outlookItem, Microsoft.Office.Interop.Outlook.OlFormRegionMode formRegionMode, Microsoft.Office.Interop.Outlook.OlFormRegionSize formRegionSize)
vb@0
   159
            {
vb@0
   160
                if (this.FormRegionInitializing != null)
vb@0
   161
                {
vb@0
   162
                    Microsoft.Office.Tools.Outlook.FormRegionInitializingEventArgs cancelArgs = Globals.Factory.CreateFormRegionInitializingEventArgs(outlookItem, formRegionMode, formRegionSize, false);
vb@0
   163
                    this.FormRegionInitializing(this, cancelArgs);
vb@0
   164
                    return !cancelArgs.Cancel;
vb@0
   165
                }
vb@0
   166
                else
vb@0
   167
                {
vb@0
   168
                    return true;
vb@0
   169
                }
vb@0
   170
            }
vb@0
   171
vb@0
   172
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
vb@0
   173
            Microsoft.Office.Tools.Outlook.FormRegionKindConstants Microsoft.Office.Tools.Outlook.IFormRegionFactory.Kind
vb@0
   174
            {
vb@0
   175
                get
vb@0
   176
                {
vb@0
   177
                    return Microsoft.Office.Tools.Outlook.FormRegionKindConstants.WindowsForms;
vb@0
   178
                }
vb@0
   179
            }
vb@0
   180
        }
vb@0
   181
    }
vb@0
   182
vb@0
   183
    partial class WindowFormRegionCollection
vb@0
   184
    {
Dean@312
   185
        internal FormRegionPrivacyStatus FormRegionPrivacyStatus
vb@0
   186
        {
vb@0
   187
            get
vb@0
   188
            {
vb@0
   189
                foreach (var item in this)
vb@0
   190
                {
Dean@312
   191
                    if (item.GetType() == typeof(FormRegionPrivacyStatus))
Dean@312
   192
                        return (FormRegionPrivacyStatus)item;
vb@0
   193
                }
vb@0
   194
                return null;
vb@0
   195
            }
vb@0
   196
        }
vb@0
   197
    }
vb@0
   198
}