Beispiel #1
0
 private void MCB_NM_Resize(object sender, EventArgs e)
 {
     if (!MCB_TA.IsMinimized)
     {
         MCB_TA.Minimize();
     }
     if (!MCB_SM.IsMinimized)
     {
         MCB_SM.Minimize();
     }
 }
Beispiel #2
0
        private void EntityTextures_Resize(object sender, EventArgs e)
        {
            MinimizeCheckBoxHeight = this.Height - 72;

            MCB_TA.Height = MinimizeCheckBoxHeight;
            MCB_NM.Height = MinimizeCheckBoxHeight;
            MCB_SM.Height = MinimizeCheckBoxHeight;

            MCB_TA.Minimize();
            MCB_NM.Minimize();
            MCB_SM.Minimize();
        }
Beispiel #3
0
        private void EntityTextures_Load(object sender, EventArgs e)
        {
            MinimizeCheckBoxHeight = this.Height - 72;

            MCB_TA.Height = MinimizeCheckBoxHeight;
            MCB_NM.Height = MinimizeCheckBoxHeight;
            MCB_SM.Height = MinimizeCheckBoxHeight;

            MCB_TA.Minimize();
            MCB_NM.Minimize();
            MCB_SM.Minimize();

            ListViewEditor.Connect(ProjectFolders.TextureAtlasPath, LV_TA, SmallIconsSize, LargeIconsSize);
            ListViewEditor.Dispose();
            ListViewEditor.Connect(ProjectFolders.NormalMapsPath, LV_NM, SmallIconsSize, LargeIconsSize);
            ListViewEditor.Dispose();
            ListViewEditor.Connect(ProjectFolders.SpecularMapsPath, LV_SM, SmallIconsSize, LargeIconsSize);
            ListViewEditor.Dispose();
        }